...
Successful Response
HTTP Status | HTTP Headers | Body | Description |
---|---|---|---|
201200 | Location | JSON hash with success and id properties | The success property is set to 1 and only if the request was successful. The id property is the new event's ID (but see the Limitations section below) The Location header contains the complete URL for retrieving the newly created event. |
Unsuccessful Response
HTTP Status | Body | Description |
---|---|---|
401 | N/A | You are not authenticated. |
404 | N/A | You are authenticated but not authorised to create events in opEvents. |
400 | JSON hash with success being 0 and an error property. | The error property contains an explanation of what went wrong with your request, e.g. why the parameters were considered invalid. |
...