watchlist.getList [HTTP GET]
Retrieve the watchlist for a user.
Arguments
api_key (Required)
Your API application key. If you don't have one,
create one.
token (Required)
An authentication token. (
What's this?)
min_date (YYYY-MM-DD, Optional)
Get watchlisted events on or after this date, formatted as YYYY-MM-DD.
max_date (YYYY-MM-DD, Optional)
Get watchlisted events on or before this date, formatted as YYYY-MM-DD.
sort ('start-date-asc', 'start-date-desc', 'post-date-asc', 'post-date-desc') [Default: 'post-date-asc']
Sort the watchlisted events by start date or post date.
Example Response
XML
<?xml version="1.0" encoding="UTF-8"?>
<rsp stat="ok" version="1.0">
<watchlist id="28763" event_id="14678" status="attend"/>
<watchlist id="28810" event_id="14757" status="attend"/>
</rsp>
JSON
{ "stat" : "ok",
"version" : "1.0",
"watchlist" : [ { "event_id" : "14678",
"id" : "28763",
"status" : "attend"
},
{ "event_id" : "14757",
"id" : "28810",
"status" : "attend"
}
]
}
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.
404 Not Found:
- Missing valid api_key - Please create an API key using the above link.
- Invalid min_date parameter - min_date must be formatted as YYYY-MM-DD.
- Invalid max_date parameter - max_date must be formatted as YYYY-MM-DD.
- Your api_key is inactive or not found - Please contact us for support.