The 200 series :
OK – HTTP 200
- The API request is successful.
Created – HTTP 201
- Message: record added.
- Request fulfilled for record insertion.
Accepted – HTTP 202
- The request has been accepted. Generally, the server takes time to complete the process.
No Content – HTTP 204
- There is no content available for the request.
The 300 series
Not Modified – HTTP 304
- The requested resource has not been modified after the time mentioned in the “If-Modified-Since” header in a GET API.
The 400 series
BAD REQUEST – HTTP 400
- The request or the authentication considered is invalid.
INVALID_DATA – HTTP 400
- The ID given is invalid.
AUTHORIZATION ERROR – HTTP 401
- Invalid API key provided.
FORBIDDEN – HTTP 403
- No permission to do the operation.
NOT FOUND – HTTP 404
- Invalid request.
METHOD NOT ALLOWED – HTTP 405
- The specified method is not allowed.
REQUEST ENTITY TOO LARGE – HTTP 413
- The server did not accept the request while uploading a file, since the limited file size has exceeded.
UNSUPPORTED MEDIA TYPE – HTTP 415
- The server did not accept the request while uploading a file, since the media/ file type is not supported.
TOO MANY REQUESTS – HTTP 429
- Number of API requests for the 24 hour period is exceeded or the concurrency limit of the user for the app is exceeded.
INTERNAL SERVER ERROR – HTTP 500
- Generic error that is encountered due to an unexpected server error.