Status Codes

When users call REST resources, the response header returns one of the standard HTTP status codes listed below.

Standard HTTP Status Codes

HTTP Status Codes Message Details

200

Success

Success with response body. Most GET requests receive this response. If no data exists, an empty response body is sent.

201

Created

Success with response body. Used with POST URIs where a resource is created in the database. The created entity ID should be returned.

204

Success

Success with no response body.

400

Bad Request

The server cannot or will not process the request due to a client error such as malformed request syntax, invalid request framing, or deceptive request routing. To be used if URI syntax is not correct such as the wrong format in q query

401

Unauthorized

User not authorized

403

Forbidden

Operation not permitted for the user.

404

Not Found

Requested resource was not found.

405

Method not allowed

HTTP method is not allowed for the requested API.

406

Not acceptable

The endpoint does not support the response format specified in the request Accept header.

415

Unsupported media type

The endpoint does not support the format of the request body.

500

Server or internal processing errors

The server encountered an unexpected error while processing the request internally.