API Method /events/categories/add

This function adds an event to the specified category.


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:


Output Parameters

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

Example XML Response

<?xml version="1.0" encoding="UTF-8"?>
<response status="ok">
  <message>Category added successfully.</message>

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.