---
title: "LeaveRequestByLeaveRequestId (Loket.nl REST)"
description: "itgen_loketnl_leaverequestbyleaverequestid_plural"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.LeaveRequest.LeaveRequestByLeaveRequestId
original: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.LeaveRequest.LeaveRequestByLeaveRequestId
updated: 2024-06-10T18:51:26Z
license: https://documentation.invantive.eu/en/
---

# LeaveRequestByLeaveRequestId: Loket.nl REST itgen_loketnl_leaverequestbyleaverequestid_plural

`read only` `REST`

- Catalog: `LoketNlRest`
- Schema: `LeaveRequest`
- Label: itgen_loketnl_leaverequestbyleaverequestid_plural

Details of a leave request
__Activity name :__ GetLeaveRequestByLeaveRequestId

Get the details of a single leave request


Can only retrieve data.

## API Source

- Endpoint: `/providers/employers/employees/employments/leaverequests/{leaveRequestId}`
- Operation: `get /providers/employers/employees/employments/leaverequests/{leaveRequestId}`

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `leaveRequestId` | `` | [x] |  | The unique identifier of the leave request |

## Table Columns

The columns of the table `LeaveRequestByLeaveRequestId` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `commentEmployee` | `varchar2(4000)` | Comment by Employee | [ ] |  | The comment left by the employee |
| `commentHandler` | `varchar2(4000)` | Comment by Handler | [ ] |  | The comment left by the person handling the leave request |
| `currentlyAvailableUnits` | `double` | itgen_loketnl_currentlyavailableunits | [ ] |  | The number of leave units (of the leaveType for this leave request) available to the employment. This value can be negative. |
| `endDate` | `datetime` | End Date | [ ] |  | The end date of the leave requested (last day of the leave) |
| `handledBy_formattedName` | `varchar2` | itgen_loketnl_handledby_formattedname | [ ] |  | preformated user name for displaying. <lastname>", "<initials>" "<prefix> |
| `handledBy_id` | `guid` | Handled by ID | [ ] |  | The unique identifier of an object (GUID/UUID) |
| `handledBy_initials` | `varchar2(6)` | Handled by Initials | [ ] |  | The initials of the user |
| `handledBy_lastName` | `varchar2(25)` | Handled by Last Name | [ ] |  | The last name of the user |
| `handledBy_prefix` | `varchar2(10)` | Handled by Prefix | [ ] |  | The prefix of the user |
| `handledTime` | `datetime` | Handled Date | [ ] |  | The date and time the leave request was handled |
| `id` | `guid` | ID | [ ] |  | The unique identifier of an object (GUID/UUID) |
| `isAccrual` | `char` | itgen_loketnl_isaccrual | [ ] |  | Indicates whether the request is for accrual of leave. - false will result in a reduction of the employee's leave entitlement - true will result in an increase of the employee's leave entitlement  |
| `leaveRequestStatus_key` | `int32` | itgen_loketnl_leaverequeststatus_key | [ ] |  |  |
| `leaveRequestStatus_value` | `varchar2` | itgen_loketnl_leaverequeststatus_value | [ ] |  |  |
| `leaveType_key` | `int32` | Leave Type Key | [ ] |  |  |
| `leaveType_value` | `varchar2` | Leave Type Value | [ ] |  |  |
| `numberOfUnits` | `double` | Number of Units | [ ] |  | The number of leave units requested |
| `startDate` | `datetime` | Start Date | [ ] |  | The start date of the leave requested |
| `submittedBy_dateOfBirth` | `datetime` | itgen_loketnl_submittedby_dateofbirth | [ ] |  | The date of birth  |
| `submittedBy_employeeNumber` | `int32` | itgen_loketnl_submittedby_employeenumber | [ ] |  | The employee number to uniquely identify a employee within a employer. |
| `submittedBy_firstName` | `varchar2(28)` | itgen_loketnl_submittedby_firstname | [ ] |  | The first name of the employee |
| `submittedBy_formattedName` | `varchar2(82)` | itgen_loketnl_submittedby_formattedname | [ ] |  | Formatted name of the employee based on the value of `howToFormatLastName` |
| `submittedBy_id` | `guid` | itgen_loketnl_submittedby_id | [ ] |  | The unique identifier of an object (GUID/UUID) |
| `submittedBy_initials` | `varchar2(6)` | itgen_loketnl_submittedby_initials | [ ] |  | The initials of the employee |
| `submittedBy_lastName` | `varchar2(25)` | itgen_loketnl_submittedby_lastname | [ ] |  | The last name of the employee |
| `submittedBy_lastNamePartner` | `varchar2(25)` | itgen_loketnl_submittedby_lastnamepartner | [ ] |  | The last name of the partner of the employee |
| `submittedBy_photo` | `varchar2` | itgen_loketnl_submittedby_photo | [ ] |  | A photo of the employee to use as a avatar/profile picture. The last part of the returned endpoint is the version of the logo this allows users to cache the image. Changing the value of the version will not influence the output. |
| `submittedBy_prefix` | `varchar2(10)` | itgen_loketnl_submittedby_prefix | [ ] |  | The prefix of the employee |
| `submittedBy_prefixPartner` | `varchar2(10)` | itgen_loketnl_submittedby_prefixpartner | [ ] |  | The prefix of the partner of the employee |
| `submittedOn` | `datetime` | itgen_loketnl_submittedon | [ ] |  | The time the leave request was submitted |
| `unitType_key` | `int32` | Unit Type Key | [ ] |  | The key for the unit type  |
| `unitType_value` | `varchar2` | Unit Type Value | [ ] |  | The description for the unit type  |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [Loket.nl REST](/en/release-notes/drivers?driver=loket-nl-rest)

