API Method /events/categories/add

This function adds an event to the specified category.

Arguments

authentication
This method requires user authentication.
id string
The event ID.
category_id string
The category ID. (See /categories/list for a list of available categories.)

Example Request

Here's an example URL:

http://api.eventful.com/rest/events/categories/add?...&id=E0-001-000001237-8&category_id=music

Output Parameters

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

Example XML Response

<?xml version="1.0" encoding="UTF-8"?>
<response status="ok">
  <message>Category 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' and 'category_id' parameters are mandatory.
Not found
There is no event (or category) with that identifier.