---
title: "Get all Attendance Records"
method: GET
path: "/time/attendance"
tags: ["Attendance"]
---

# Get all Attendance Records

`GET /time/attendance`

Gets all Attendance records between date range `from` and `to`.If both `from` and `to` are not specified, last 30 days records are returned.From `date` should be before `to` date.The difference between `from` and `to` date cannot be more than **90** days.

## Query parameters

- `employeeIds` string
- `from` string, date-time
- `to` string, date-time
- `pageNumber` integer
- `pageSize` integer

## Response `200`

OK

- AttendanceSummaryPagedResponse — class represents paged response.
  - `succeeded` boolean — Gets or sets a value indicating whether this Keka.API.Web.Core.Response`1 is succeeded.
  - `message` string, nullable — Gets or sets the message.
  - `errors` string[], nullable — Gets or sets the errors.
  - `data` KekaAPIModelAttendanceAttendanceSummary[], nullable — Gets or sets the data.
    - `id` string, nullable
    - `employeeNumber` string, nullable
    - `employeeIdentifier` string, nullable
    - `attendanceDate` string, date-time
    - `dayType` 0 | 1 | 2 | 3 | 4
    - `shiftStartTime` string, date-time
    - `shiftEndTime` string, date-time
    - `shiftDuration` number, double
    - `shiftBreakDuration` number, double
    - `shiftEffectiveDuration` number, double
    - `totalGrossHours` number, double
    - `totalEffectiveHours` number, double
    - `totalBreakDuration` number, double
    - `totalEffectiveOvertimeDuration` number, double
    - `totalGrossOvertimeDuration` number, double
    - `firstInOfTheDay` KekaAPIModelAttendanceAttendanceTimeEntry
      - `timestamp` string, date-time
      - `employeeIdentifier` string, uuid
      - `punchStatus` 0 | 1 | 2 | 3 | 4 | 5 | 99
      - `attendanceLogSource` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 10
      - `manualClockinType` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15
      - `premiseName` string, nullable
      - `locationAddress` KekaAPIModelCoreHRAddress
        - `addressLine1` string, nullable
        - `addressLine2` string, nullable
        - `countryCode` string, nullable
        - `city` string, nullable
        - `state` string, nullable
        - `zip` string, nullable
    - `lastOutOfTheDay` KekaAPIModelAttendanceAttendanceTimeEntry
      - `timestamp` string, date-time
      - `employeeIdentifier` string, uuid
      - `punchStatus` 0 | 1 | 2 | 3 | 4 | 5 | 99
      - `attendanceLogSource` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 10
      - `manualClockinType` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15
      - `premiseName` string, nullable
      - `locationAddress` KekaAPIModelCoreHRAddress
        - `addressLine1` string, nullable
        - `addressLine2` string, nullable
        - `countryCode` string, nullable
        - `city` string, nullable
        - `state` string, nullable
        - `zip` string, nullable
  - `pageNumber` integer — Gets or sets the page number.
  - `pageSize` integer — Gets or sets the size of the page.
  - `firstPage` string, uri, nullable — Gets or sets the first page.
  - `lastPage` string, uri, nullable — Gets or sets the last page.
  - `totalPages` integer — Gets or sets the total pages.
  - `totalRecords` integer — Gets or sets the total records.
  - `nextPage` string, uri, nullable — Gets or sets the next page.
  - `previousPage` string, uri, nullable — Gets or sets the previous page.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/keka/apis/keka-api.md) · [All operations](https://skmtc.net/keka/apis/keka-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/keka/keka-api/revisions/907ea395c885/schema)
