Submitted by nikhil.dhamane… on

Here is a concise list of the error and response codes for Timekeeping APIs to help identify the status and issues of API requests:

Timekeeping API Response Codes

  1. 200 - SUCCESS
    • Description: Indicates that the API request was processed successfully and the desired data was fetched.
    • Applicable to:
      • Get Current Clocked-in Status of Associates
      • Get Shift Details of Employee for Given Date Range or Fiscal Week

Timekeeping API Error Codes

  1. 400 - CM-UI-INVALIDFISCALWEEKDATE
    • Description: Invalid fiscal week start date provided in the request.
  2. 404 - OM-UN-INVALIDUNIT
    • Description: Invalid unit ID provided; details not found for the given inputs.
  3. 404 - HR-EM-INACTIVEEMPLOYEE
    • Description: No active employee found for the provided employee ID; employee is inactive.
  4. 422 - TA-CM-DATE-MANDATORY-FORSHIFT
    • Description: Start Date/End Date is mandatory for extracting shift details for a given shift time.
  5. 500 - TA-ERR-INTERNALERROR
    • Description: Internal server error occurred while processing the request.