Response Codes

The REST API returns different response codes for successful and failure API requests.

CodeDescription
200

SUCCESS - The API request was successful and completed without any errors. 

201

CREATED - The API to create new resource was completed successfully and a new resource has been created.

400

BAD REQUEST - The input passed in the Request API is invalid or incorrect. The requestor has to change the input parameters and send the Request again.

401

UNAUTHORIZED - The request is a special request and the user who has requested the operation is not entitled to perform the requested operation.

500

INTERNAL ERROR - The request cannot be completed due an error that occured in the server, when processing the request.