The following are the HTTP response codes returned by the APIs.

Code

Description

200

Successful Response

The request was completed successfully.

400

Bad Request

For example,

 "Bad Request - Invalid Date Format"

 "Bad Request - Invalid Location ID"

 "Bad Request - Employee ID Missing"

 "Bad Request - Missing or invalid value for in_out"

401

Unauthorized Access

Authentication failure on account of reasons such as incorrect API key.

405

Method Not Allowed

The request could not be serviced because of the use of an incorrect method.

500

Internal Server Error

The request could not be serviced on account of a server error.

  • No labels