---
title: "Get a list of absences"
method: GET
path: "/v1/absences"
tags: ["Absences"]
---

# Get a list of absences

`GET /v1/absences`

Retrieve a paged collection of absence records (required scope resources:read)

## Query parameters

- `resourceId` integer
- `dateFrom` string, date-time
- `dateTo` string, date-time
- `status` 'requested' | 'queried' | 'rejected' | 'approved' — The status of a resource absence<p>Possible values:</p><ul><li><b>requested</b>: The absence has been requested by the resource</li><li><b>queried</b>: The absence has been queried and requires review</li><li><b>rejected</b>: The absence has been rejected</li><li><b>approved</b>: The absence has been approved</li></ul>
- `absenceTypeId` integer
- `pageNumber` integer
- `pageSize` integer

## Headers

- `Customer-Id` integer, required

## Response `200`

OK

- PagedResponseReadAbsenceModel — A paged collection of items
  - `items` ReadAbsenceModel[] — The items returned for the requested page
    - `id` integer — The unique identifier of the absence
    - `resourceId` integer, nullable — The unique identifier of the resource the absence belongs to
    - `startAt` string, date-time — The date and time the absence starts
    - `endAt` string, date-time — The date and time the absence ends
    - `daysRequested` number, double — The number of days requested for the absence
    - `typeId` integer, nullable — The unique identifier of the absence type
    - `typeName` string — The name of the absence type
    - `status` string — The current status of the absence
    - `statusChangedAt` string, date-time, nullable — The date and time the status was last changed
    - `owner` string — The name of the user who last changed the status
    - `reason` string, nullable — The reason provided for the absence
    - `isPaidLeave` boolean — Whether the absence is paid leave
  - `pageNumber` integer — The page number of the response where 1 is the first page
  - `pageSize` integer — The number of items requested for the current page
  - `pageItemCount` integer — The number of items returned in the current page

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `422` — Unprocessable Content
- `500` — Internal Server Error

---

[API](https://skmtc.net/bigchange/apis/bigchange-dx.md) · [All operations](https://skmtc.net/bigchange/apis/bigchange-dx/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bigchange/bigchange-dx/revisions/916e669fc527/schema)
