API Method /groups/events/add
This function adds an event to a group.
Arguments
- authentication
- This method requires user authentication.
- id string
- The group ID.
- event_id string
- The event ID.
Example Request
Here's an example URL:
http://api.evdb.com/rest/groups/events/add?...&id=G0-001-000001237-8&event_id=E0-001-000437983-7
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.
- Missing parameter
- The 'id' parameter is mandatory.
- Not found
- There is no group with that identifier.
- Access denied
- User 'username' does not have permission to add events to group 'id'
-