General Status Codes

2xx Success

The request is successful. The actual response will depend on the resource and request method. In a GET request, the response will contain the data respective to the requested resource.

201 Created

This status confirms that a new resource is created. Response will have the unique ID of newly created resource. It is very common status code for "Post" request method.

204 No Content

This status code confirms that server successfully processed the request, but is not returning any content. It is a very common status code for "PUT" and "DELETE" request method.

4xx Client Error

Status Code

Description

400 Bad Request

There can be several reasons for getting this error. Generally it happens when request doesn't have all the parameters which is required to fulfill a request. Or it has invalid data. You should see the exact reason in the response.

401 Unauthorized

Each request must have correct credentials information. Credential information is set of orgID, APILoginID, TransactionKey which is available in your iLMS account (Settings > API).

403 Forbidden

This status code appears when a request is made to a resource which is not available for the organization. In other words, that feature is not available to the organization.

404 Not Found

Invalid URI. The resource you're looking for is not available or doesn't exist.

415 Unsupported Media Type

iLMS API only supports "Application/JSON" media type. For any other media type, the unsupported media type error will be returned.

5xx Server Error

Status Code

Description

500 Internal Server Error

It appears when an unhandled error occurred. We're automatically informed about such type of errors and we fix such errors as early as possible.

503 Service Unavailable

System might be temporary down due to up-gradation. Or your request can't be accepted at that point of time.