Response codes

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:

200OKThe request succeeded.
201CreatedThe request succeeded and resulted in a new resource being created.
204No ContentThe request succeeded and resulted in no content in the response body. This is the standard response to a successful DELETE request.
400Bad RequestThe request could not be understood by the server due to malformed syntax or invalid parameters.
401UnauthorizedAuthentication failed. See Authentication for details on credentials.
403ForbiddenThe authenticated user does not have permission to fulfill the request. See Authorization for details on permissions.
404Not FoundThe requested resource could not be found.
405Method Not SupportedThe specified method (e.g., GET, POST, PATCH, etc.) is not supported by the resource.
415Unsupported Media TypeThe 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.
421Misdirected RequestThe 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.)
429Too Many RequestsThe volume of requests has surpassed the API's rate limiting threshold. See Rate limits for details.
500Internal Server ErrorThe server encountered an unexpected error.