---
title: "GET /absenceType/id/{id}"
method: GET
path: "/absenceType/id/{id}"
tags: ["absenceType"]
---

# GET /absenceType/id/{id}

`GET /absenceType/id/{id}`

## Request

- Base URL: `https://www.weclapp.com/api/nullapi/v2`
- URL: `https://www.weclapp.com/api/nullapi/v2/absenceType/id/{id}`
- Auth: API key in header `AuthenticationToken`
- TypeScript: <https://skmtc.dev/weclapp/apis/weclapp-api/docs/absenceType/id/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

query absenceType

## Path parameters

- `id` string, required

## Response `200`

get by id

- AbsenceType
  - `id` string
  - `version` string
  - `abbreviation` string, required
  - `active` boolean
  - `allowHalfDayRequests` boolean
  - `color` 'CALENDAR_BLUE' | 'CALENDAR_BLUE_GREY' | 'CALENDAR_BROWN' | 'CALENDAR_CYAN' | 'CALENDAR_DEEP_ORANGE' | 'CALENDAR_GLACIER' | 'CALENDAR_GREEN' | 'CALENDAR_GREY' | 'CALENDAR_INDIGO' | 'CALENDAR_LIME' | 'CALENDAR_ORANGE' | 'CALENDAR_PINK' | 'CALENDAR_PURPLE' | 'CALENDAR_RED' | 'CALENDAR_TEAL' | 'CALENDAR_YELLOW' | 'NO_COLOR', required
  - `createdDate` integer
  - `ignoredInResourceUtilization` boolean
  - `lastModifiedDate` integer
  - `name` string, required
  - `reducesLeaveEntitlement` boolean
  - `workTimeTrackingNecessary` boolean

## Other responses

- `default`: error response

## Changes

- **2026-11-07** `0e021229755d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/weclapp/apis/weclapp-api/changes/absenceType/id/:id/get.md)

---

[API](https://skmtc.dev/weclapp/apis/weclapp-api.md) - [All operations](https://skmtc.dev/weclapp/apis/weclapp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/weclapp/apis/weclapp-api/revisions/0e021229755d?raw)
