get https://api.zenoti.com/v1/employees//attendance?center_id=&start_date=&end_date=
This API requires a date range and the employee id of the employee whose attendance is intended.
it returns an object list indicating attendance in the sate range, below is the details of the object
Json property | Data type | Description |
---|
attendance | array of objects (EmployeeAttendanceViewModel) | List of attendance records. |
total_records | integer | Total number of attendance records available. |
break_periods | array of objects (EmployeeBreakTime) | List of employee break periods. |
approval_requests | array of objects (RequestedCheckinDetails) | List of pending approval requests. |
timeoffs | array of objects (TimeOffDetails) | List of employee time-off details. |
Json property | Data type | Description |
---|
durationinMinutes | int? | Total worked duration between check-in and check-out, expressed in minutes. |
reason | Reason | Reason metadata associated with the attendance entry, when available in responses. |
Json property | Data type | Description |
---|
date | DateTime? | Attendance date associated with this break period entry, if available. |
start_time | string | Break start time captured for the employee, formatted as a time string. |
end_time | string | Break end time captured for the employee, formatted as a time string. |
is_duration_complete | string | Indicates whether the break met required duration; typically “true” or “false”. |
Json property | Data type | Description |
---|
request_id | Guid? | Unique identifier of the attendance update request created by the employee or admin. |
comment | string | Free-text comment explaining the requested attendance change or context. |
status | ApprovalStatus | Approval status of the request, such as pending, approved, or rejected. |
status_updated_by | Guid | Identifier of the user who last updated the request’s approval status. |
is_meal_break | bool? | Indicates whether the requested change concerns a meal break period. |
attendance_date | DateTime | Attendance date for which the request applies, using location’s timezone. |
check_in_time | DateTime | Proposed or recorded check-in time associated with the approval request. |
check_out_time | DateTime? | Proposed or recorded check-out time associated with the approval request. |
work_task | WorkTask | Associated work task information for the attendance request, when provided. |
reason | MiisedCheckinReason | Reason specifying missed or adjusted check-in context for the request. |
attendance_id | Int32? | Existing attendance record identifier related to this approval request, if any. |
duration | int? | Duration in minutes for the request’s attendance window or adjustment. |
Json property | Data type | Description |
---|
employee_id | Guid | Unique identifier of the employee taking the time off entry. |
time_off_date | DateTime | Calendar date on which the employee’s time off is scheduled or recorded. |
eto_comments | string | Additional comments captured for the earned time off entry, if provided. |
time_off_id | Guid | Unique identifier for the specific time off record instance. |
type | TimeOffType | Category of the time off entry such as mandatory break or vacation. |
time_off_in_minutes | int | Total minutes of time off allocated or consumed for this entry. |
is_mandatory_break_complete | bool | Indicates whether the required mandatory break duration has been completed. |
Json property | Data type | Description |
---|
MandatoryBreak | enum value | Paid or unpaid mandatory break time required during scheduled working hours. |
HolidayHours | enum value | Hours allotted for holidays according to organization or regional policy. |
VacationHours | enum value | Hours allotted for planned vacation or personal leave taken by employees. |
Json property | Data type | Description |
---|
values not provided | enum value | Possible statuses like pending, approved, or rejected; exact values depend on implementation. |
Json property | Data type | Description |
---|
values not provided | enum value | Reasons describing missed or corrected check-ins; actual values defined elsewhere. |