Provider leave policy
List of all the leave policies at provider level.
Activity name : <a href="https://developer.loket.nl/Activities/GetProviderLeavePoliciesByProviderId" target="_blank">GetProviderLeavePoliciesByProviderId</a> <br/> <br/> Returns all the leave policies for the given provider. These leave policies can be used to define a leave policy at employer level.
get/v2/providers/{providerId}/leavePolicies
Request
- Base URLhttps://api.loket.nl
- URLhttps://api.loket.nl/v2/providers/{providerId}/leavePolicies
- Authnone required
Path parameters
providerIdstring uuid required
The unique identifier of a provider
Query parameters
filterstring
Example:cancellationPeriodTimeUnit.key eq 4
Filter the collection
orderBystring
Example:-companyName,address.houseNumber
Order the collection on one or more fields
pageNumberinteger
Example:2
Specifies which page should be returned
pageSizeinteger
Example:20
Specifies the number of objects per page
Headers
Authorizationstring required
Example:Bearer <TOKEN>
A valid Bearer token for authorizing the request.
Acceptstring required
Example:application/json;version=2018-01-01
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",
"name": "Normal leave",
"leaveUnitType": {
"key": 1,
"value": "Uren"
},
"roundTo": {
"key": 1,
"value": "0.01"
},
"roundingMethod": {
"key": 1,
"value": "Logical"
},
"accrualType": {
"key": 1,
"value": "Jaar"
},
"dayOfTheMonthToPerformAutomaticLeaveCalculationOn": 12,
"leaveEntitlement": {
"statutory": 160,
"excessLeaveToStatutory": 40,
"wtr": 40
},
"leaveRequest": {
"leavePattern": {
"oddWeeks": {
"monday": 8,
"tuesday": 8,
"wednesday": 4,
"thursday": 7.5,
"friday": 4
},
"evenWeeks": {
"tuesday": 8,
"wednesday": 8,
"thursday": 8,
"friday": 2
}
}
},
"additionalLeave": {
"allocationType": {
"key": 1,
"value": "Boek alleen hoogste waarde"
},
"referenceDate1": {
"month": {
"key": 1,
"value": "Januari"
},
"day": 40
},
"referenceDate2": {
"month": {
"key": 1,
"value": "Januari"
},
"day": 40
}
}
}
]
}Changes
No recorded changes to this operation across all 6 revisions of this API.