watchlist.add [HTTP POST]
Add an event to a user's watchlist. This function will delete an existing watchlist setting and replace it with the new one, so you don't have to call watchlist.remove first.
Arguments
api_key (Required)
Your API application key. If you don't have one,
create one.
token (Required)
An authentication token. (
What's this?)
event_id (Numeric, Required)
The event_id of the event. To get a event_id, try the event.search function.
status (Either 'attend' or 'watch', Optional, Default = 'watch')
A setting indicating whether you plan to attend or watch this event.
Example Response (Empty with stat="ok" if successful)
<?xml version="1.0" encoding="UTF-8"?>
<rsp stat="ok" version="1.0">
<watchlist id="15092" />
</rsp>
Error Codes
403 Not Authorized:
- Missing valid authentication parameters - Please pass an authentication token to the method.
- Invalid authentication parameters - either that token was not found, or it may be deactivated. Please contact us for support.
409 Conflict:
- Missing valid api_key - Please create an API key using the above link.
- Your api_key is inactive or not found - Please contact us for support.
- Invalid user_id, please contact support.
- Invalid status, must be either 'watch' or 'attend'.