The Liftoff OData API is a RESTful API. As such, it responds to requests with standard HTTP status codes, along with a JSON body, as appropriate. Common HTTP status codes used by the Liftoff OData API include:
Code | Message | Description |
---|---|---|
200 | OK | The request succeeded. |
201 | Created | The request succeeded and resulted in a new resource being created. |
204 | No Content | The request succeeded and resulted in no content in the response body. This is the standard response to a successful DELETE request. |
400 | Bad Request | The request could not be understood by the server due to malformed syntax or invalid parameters. |
401 | Unauthorized | Authentication failed. See Authentication for details on credentials. |
403 | Forbidden | The authenticated user does not have permission to fulfill the request. See Authorization for details on permissions. |
404 | Not Found | The requested resource could not be found. |
405 | Method Not Supported | The specified method (e.g., GET, POST, PATCH, etc.) is not supported by the resource. |
415 | Unsupported Media Type | The request included an incorrect Content-Type and/or Accept header. Content-Type should be set to application/json . Accept should be set to */* or application/json . |
421 | Misdirected Request | The request was directed at a server that is not able to produce a response. (This may occur if invalid credentials are specified. See Authentication for details on credentials.) |
429 | Too Many Requests | The volume of requests has surpassed the API's rate limiting threshold. See Rate limits for details. |
500 | Internal Server Error | The server encountered an unexpected error. |