Перейти к содержимому

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 codeNotes
200OK. Requested data was returned.
201Created. 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).
204No content. Indicates that request was successfully processed but no response body is sent. Used for delete methods.
400Supplied data/URL parameters were invalid or incomplete. Detailed information is sent in response body (XML data).
403API key was invalid.
404Resource not found/no resources to delete.
500Internal server error.