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