API Method /calendars/events/add

Adds an event to a calendar.

Arguments

authentication
This method requires the usual authentication arguments.
calendar_id string
The unique ID of the calendar that the event will be added to.
event_id string
The ID of the event that will be added to the calendar.

Example Request

Here's an example request URL:

http://api.evdb.com/rest/calendars/events/add?...&calendar_id=C0-001-000002341-7&event_id=E0-001-000500898-1

Output Parameters

Output from this function is an XML block with the following constructs:
status string
ok
messagestring
Event added successfully.

Example XML Response

<?xml version="1.0" encoding="UTF-8"?>

<response status="ok">
  <message>Event added successfully.</message>
</response>

Error Codes

This method may return these errors in an error document:

Authentication error
The specified user was not found or provided invalid credentials.
Permission denied
You do not have permission to add to this calendar
Missing calendar_id
The calendar_id field is mandatory.
Missing event_id
The event_id field is mandatory.