v1

latestOpenAPI 3.1.02026-07-2422707.0 MB

Retrieve the attendance of an employee

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

get/v1/employees/{employee_id}/attendance?center_id={center_id}&start_date={start_date}&end_date={end_date}

Path parameters

employee_idstring required

Unique identifier of the employee.

Query parameters

center_idstring

Unique identifier of the center.

start_datestring date

Start date for retrieving the attendance of the employee.

end_datestring date

End date for retrieving the attendance of the employee.

Response

200

total_recordsinteger

Example response

{
  "attendance": [
    {
      "schedule_id": "c6c63d58-4956-40bc-b5ed-8582dbe70b4f",
      "attendance_date": "2019-04-25T00:00:00",
      "center_name": "kinnect",
      "status": "Working",
      "expected_checkin": "10:00",
      "expected_checkout": "12:30"
    }
  ],
  "total_records": 4
}