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

# YearsOfServiceBasedLeaveByLeavePolicyId: Loket.nl REST itgen_loketnl_yearsofservicebasedleavebyleavepolicyid_plural

`read only` `REST`

- Catalog: `LoketNlRest`
- Schema: `LeavePolicy`
- Label: itgen_loketnl_yearsofservicebasedleavebyleavepolicyid_plural

years of service based leave
__Activity name :__ GetYearsOfServiceBasedLeaveByLeavePolicyId 
  
  Returns the years of service based leave for the given leave policy.


Can only retrieve data.

## API Source

- Endpoint: `/providers/employers/leavePolicies/{leavePolicyId}/yearsofservicebasedleave`
- Operation: `get /providers/employers/leavePolicies/{leavePolicyId}/yearsofservicebasedleave`

## Parameters

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

## Table Columns

The columns of the table `YearsOfServiceBasedLeaveByLeavePolicyId` 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 |
|---|---|---|:---:|---|---|
| `from_numberOfMonths` | `int32` | itgen_loketnl_from_numberofmonths | [ ] |  | the number of months of service to be applicable for the additional leave |
| `from_numberOfYears` | `int32` | itgen_loketnl_from_numberofyears | [ ] |  | the number of years of service to be applicable for the additional leave |
| `id` | `guid` | ID | [ ] |  | The unique identifier of an object (GUID/UUID) |
| `leaveEntitlement_excessLeaveToStatutory` | `double` | itgen_loketnl_leaveentitlement_excessleavetostatutory | [ ] |  | The excess leave (bovenwetelijk verlof) linked employments are entitled to for a full time contract.  Either excessLeaveToStatutory or wtr must have a value |
| `leaveEntitlement_wtr` | `double` | itgen_loketnl_leaveentitlement_wtr | [ ] |  | The wrt leave (ADV/ATV verlof) linked employments are entitled to for a full time contract.  Either excessLeaveToStatutory or wtr must have a value |
| `upToAndIncluding_numberOfMonths` | `int32` | itgen_loketnl_uptoandincluding_numberofmonths | [ ] |  | the number of months of service to be applicable for the additional leave |
| `upToAndIncluding_numberOfYears` | `int32` | itgen_loketnl_uptoandincluding_numberofyears | [ ] |  | the number of years of service to be applicable for the additional leave |



## 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)

