post https://api.zenoti.com/v1/employees//checkout
This API helps you to check-out an employee.
You must specify the unique identifier of the employee as employee_id in the API request.
Request Body Parameters
| Name | Type | Description |
|---|---|---|
| center_id | guid | Unique 32-character identifier of the center in which the employee is to be checked-out. |
| fingerprint_data | string | Fingerprint data if biometric is being used. You must use guid.empty instead of EmployeeId in case of biometric check-out |
Response Details
| Name | Type | Description |
|---|---|---|
| employee | object | Object that contains all the details of the employee who has been checked-out. It is only displayed in the case of fingerprint check-out. In other cases, the field would not be present in the output. |
| is_employee_checked_in | boolean | Indicates whether the employee has been checked in. |
| check_in_time | string | Time at which the employee was checked in. Format : hh:mm:ss |
| error | object | Object that contains error message and error code details. For more information, refer to the error Object table. |
error Object
| code | message |
|---|---|
| 4045 | request is null, center id is not passed. |
| 449 | CenterId passed is invalid, CenterId: {CenterId}. |
| 602 | Center not authorized to use this application. |
| 4023 | Couldn't fetch the center finger prints. |
| 404 | Couldn't find matching finger prints. |
| 450 | employee is already checked in. |
| 449 | Schedule for employee is not set. |
| 438 | User does not have the required permission to perform this action. |
