HTTP Status Codes

The RMS Cloud LM REST API returns a status code indicating success or failure of the operation using standard HTTP Status Codes. Each API call returns the following:

>An HTTP status code: Provides the status of the HTTP request—that is, whether the request was successfully completed.

>A response body: Contains results of the HTTP request. If an error occurred, the response body contains an error code and an error message.

The following table describes the HTTP status codes:

HTTP Status Code

Description

200 OK

Non-specific success.

201 Created Resource created successfully.
204 No Content The response body is intentionally empty.
400 Bad Request Non-specific failure.
401 Unauthorized The client request was not completed because it lacks valid authentication.
403 Forbidden The server understands the request but refuses to authorize it.
404 Not Found The client’s URL cannot be mapped to a resource.
405 Method Not Allowed The HTTP method is not supported.
429 Too Many Requests The client application has surpassed the number of allowed requests.
500 Internal Server Error An internal error occurred.
503 Service Unavailable The server is unable to handle the request due to a temporary overloading or maintenance of the server.