Absence
List of absences for an employee
Activity name : <a href="https://developer.loket.nl/Activities/GetAbsencesByEmployeeId" target="_blank">GetAbsencesByEmployeeId</a>
Get a list of all absences for the given employee
get/v2/providers/employers/employees/{employeeId}/absences
Request
- Base URLhttps://api.loket.nl
- URLhttps://api.loket.nl/v2/providers/employers/employees/{employeeId}/absences
- Authnone required
Path parameters
employeeIdstring uuid required
The unique identifier of the employee
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",
"causeOfAbsence": {
"key": 1,
"value": "maternity leave"
},
"hoursWorkedOnFirstDayOfAbsence": 3,
"actionToBeTakenByOccupationalHealthAndSafetyService": {
"key": 1,
"value": "Spoedcontrole aan huis"
},
"expectedDuration": {
"key": 1,
"value": "Minder dan 1 week"
},
"isDisruptedEmploymentRelationship": true,
"accidentType": {
"key": 1,
"value": "work related accident"
},
"expectedDateOfChildbirth": "2018-01-21",
"expectedEndDateOfMaternityLeave": "2018-04-21",
"comments": "Lorem ipsum dolor sit amet, id nibh adhuc omnium vix, ne nec eius inani aliquip.",
"contactInformation": {
"startDate": "2018-01-21",
"locationType": {
"key": 1,
"value": "Hospital"
},
"name": "RadboudUMC Nijmegen",
"street": "Voordijk",
"city": "Leiden",
"houseNumber": 12,
"houseNumberAddition": "D",
"furtherIndication": {
"key": 1,
"value": "WW"
},
"postalCode": "1234 AA",
"country": {
"key": 1,
"value": "Netherlands",
"isoCode": "NL"
},
"phoneNumber": "+31 13-1234567"
},
"caseManager": {
"name": "Ben Hur",
"function": "Ben Hur",
"organization": "Ben Hur",
"phoneNumber": "+31 13-1234567"
},
"reintegration": {
"reintegrationGoal": {
"key": 1,
"value": "Werkhervatting in de eigen functie"
}
},
"progress": {
"startDate": "2018-01-21",
"endOfAbsence": {
"reason": {
"key": 1,
"value": "Fully recoverd"
}
},
"currentIncapacityPercentage": 100
}
}
]
}Changes
No recorded changes to this operation across all 6 revisions of this API.