---
title: "Gets a single Employee Absence Reason referenced by ID."
method: GET
path: "/attendance/absencereasons/{id}/employees/{employeeId}"
tags: ["AbsenceReasons"]
---

# Gets a single Employee Absence Reason referenced by ID.

`GET /attendance/absencereasons/{id}/employees/{employeeId}`

## Request

- Base URL: `https://api.iris.co.uk/hr/v2`
- URL: `https://api.iris.co.uk/hr/v2/attendance/absencereasons/{id}/employees/{employeeId}`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://api.iris.co.uk/oauth2/v1/token`
- TypeScript: <https://skmtc.dev/hrapi/apis/hr-api/docs/attendance/absencereasons/:id/employees/:employeeId/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, required
- `employeeId` string, required

## Response `200`

OK

- EmployeeAbsenceReasonModel
  - `EmployeeId` string, nullable: The Parent ID of this Absence Reason. Cascade Source: [ValidAttendanceTypes].[Key].
  - `AbsenceReasonId` string, nullable: The Name of this Absence Reason. Cascade Source: [ValidAttendanceCategory].[Category] when ParentID is null; [ValidAttendanceTypes].[Type] when ParentID is not null.
  - `ShowInDays` boolean: The Absence Reason For The Employee should be recorded in Days or not.
  - `Id` string, nullable: The ID of the Employee Absence Reason.
  - `CreatedOn` string, date-time: The date time when the Employee Absence Reason was created in the Iris HR platform.
  - `CreatedBy` string, nullable: Not used as the Iris HR platform has no concept of users at the moment.
  - `LastModifiedOn` string, date-time, nullable: The date time when the Employee Absence Reason was created or last updated.
  - `LastModifiedBy` string, nullable: Not used as the Iris HR platform has no concept of users at the moment.

## Other responses

- `401`: Unauthorized
- `404`: Not Found

## Changes

- **2026-11-10** `638d402d3872`: 2 breaking, 2 warning
  - added the pattern `^[0-9a-fA-F-]{36}$` to the `path` request parameter `employeeId`
  - added the pattern `^[0-9a-fA-F-]{36}$` to the `path` request parameter `id`
  - for the `path` request parameter `employeeId`, the maxLength was set to `36`
  - for the `path` request parameter `id`, the maxLength was set to `36`
- **2026-10-06** `7a4734dbe370`: 42 info
  - media type `application/json; version=1` was changed to `application/json` for the response status `200`
  - media type `application/json; version=1` was changed to `application/json` for the response status `401`
  - media type `application/json; version=1` was changed to `application/json` for the response status `404`
  - media type `application/json;odata.metadata=full; version=1` was changed to `application/json;odata.metadata=full` for the response status `200`
  - …38 more
- **2026-08-06** `f218760c73b5`: 2 breaking, 2 info
  - removed the media type `application/prs.odatatestxx-odata; version=1` for the response with the status `200`
  - removed the media type `text/json; version=1` for the response with the status `200`
  - added the non-success response with the status `401`
  - added the non-success response with the status `404`
- …earlier changes not shown

[Operation history](https://skmtc.dev/hrapi/apis/hr-api/changes/attendance/absencereasons/:id/employees/:employeeId/get.md)

---

[API](https://skmtc.dev/hrapi/apis/hr-api.md) - [All operations](https://skmtc.dev/hrapi/apis/hr-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hrapi/apis/hr-api/revisions/638d402d3872?raw)
