Status codes
ExpertSender REST API follows RESTful principles and uses HTTP response code to indicate operation result. Following codes can be returned, depending on method and manipulated resource:
HTTP response code | Notes |
---|---|
200 | OK. Requested data was returned. |
201 | Created. Indicates that resource was successfully created/updated or that specified action was performed. Response body may be sent if method returns useful data (e.g. identifier of created object). |
204 | No content. Indicates that request was successfully processed but no response body is sent. Used for delete methods. |
400 | Supplied data/URL parameters were invalid or incomplete. Detailed information is sent in response body (XML data). |
403 | API key was invalid. |
404 | Resource not found/no resources to delete. |
500 | Internal server error. |