# LeavePoliciesByEmploymentId
Get list of linked leave policies for the employment
__Activity name:__ GetLeavePoliciesByEmploymentId
Get the list of leave policies linked to the employment.
If a leave policy and employment are linked, that means the employment will be provided the leave based on the policy.
Select loket.nl (REST) API URL: /providers/employers/employees/employments/{employmentId}/leavepolicies
Insert loket.nl (REST) API URL: /providers/employers/employees/employments/{employmentId}/leavepolicies
Update loket.nl (REST) API URL: /providers/employers/employees/employments/{employmentId}/leavepolicies
Delete loket.nl (REST) API URL: /providers/employers/employees/employments/{employmentId}/leavepolicies
Select loket.nl (REST) API Operation: get /providers/employers/employees/employments/{employmentId}/leavepolicies
- Catalog: `LoketNlRest`
- Schema: `LeavePolicyAndEmploymentLinks`
- Field Selection Method: NotRequired
- Base Path: `_embedded[*]`
This is a read-only table function. The loket.nl (REST) API may not support changing the data or the Invantive SQL driver for loket.nl (REST) does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the loket.nl (REST) API.
## Parameters of Table Function
| Name | Data Type | Required | Default Value | Documentation |
|---|:---:|:---:|:---:|---|
| `employmentId` | `guid` | ☑ | | The unique identifier of the employment |
## Columns of Table Function
The columns of the table function `LeavePoliciesByEmploymentId` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `id` | `guid` | | ☐ | The unique identifier of an object (GUID/UUID) |
| `leaveUnitType_key` | `int32` | | ☐ | The key for the unit type |
| `leaveUnitType_value` | `string` | | ☐ | The description for the unit type |
| `value` | `string` | | ☐ | The description of the leave regulation. |