The Rest API will return appropriate HTTP status codes for every request.
| Code | Name | Description |
|---|---|---|
| 200 | OK | The request was successful and the response body contains the representation requested. |
| 201 | CREATED | The request has been fulfilled and resulted in a new resource being created. |
| 202 | ACCEPTED | The request has been accepted for processing, but the processing has not been completed. |
| 302 | FOUND | A common redirect response; you can GET the representation at the URI in the Location response header. |
| 304 | NOTMODIFIED | Your client's cached version of the representation is still up to date. |
| 400 | BADREQUEST | The request was invalid or cannot be otherwise served. An accompanying error message will explain further. |
| 401 | UNAUTHORIZED | The supplied credentials, if any, are not sufficient to access the resource. |
| 403 | FORBIDDEN | The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated |
| 404 | NOTFOUND | You know this one. |
| 405 | NOTALLOWED | A request was made of a resource using a request method not supported by that resource; for example, using GET on a form which requires data to be presented via POST, or using PUT on a read-only resource. |
| 409 | CONFLICT | The request could not be completed due to a conflict with the current state of the resource. |
| 429 | TOOMANYREQUESTS | Your application is sending too many simultaneous requests. |
| 500 | SERVERERROR | We couldn't return the representation due to an internal server error. |
| 503 | SERVICEUNAVAILABLE | We are temporarily unable to return the representation. Please wait for a bit and try again. |