Get list of linked leave policies for the employment
Activity name: <a href="https://developer.loket.nl/Activities/GetLeavePoliciesByEmploymentId" target="_blank">GetLeavePoliciesByEmploymentId</a><br> <br><br>Get the list of leave policies linked to the employment.<br>If a leave policy and employment are linked, that means the employment will be provided the leave based on the policy.<br>
Request
- Base URLhttps://api.loket.nl
- URLhttps://api.loket.nl/v2/providers/employers/employees/employments/{employmentId}/leavepolicies
- Authnone required
Path parameters
The unique identifier of the employment
Query parameters
Filter the collection
Order the collection on one or more fields
Specifies which page should be returned
Specifies the number of objects per page
Headers
A valid Bearer token for authorizing the request.
The accept header is used to influence what type of output is returned and in most cases the version of the output
Response
OK
Example response
{
"totalSize": 650,
"pageSize": 250,
"totalPages": 3,
"currentPage": 2,
"version": {
"resourceVersion": "2018-12-31"
},
"messages": [
{
"type": "Warning",
"description": "<some warning>",
"id": "904d6856-6034-4624-bcbc-886188c115c5",
"code": 12
}
],
"_embedded": [
{
"id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
"value": "Default leave Regulation",
"leaveUnitType": {
"key": 1,
"value": "Uren"
}
}
]
}Changes
No recorded changes to this operation across all 6 revisions of this API.