Absence
Edit the details of an Absence
Activity name : <a href="https://developer.loket.nl/Activities/PutAbsenceByAbsenceId" target="_blank">PutAbsenceByAbsenceId</a>
Metadata : Possible options for fields of the type 'metadata' can be acquired (GET) by adding /metadata to the PUT URL.
Edit the details of an Absence
put/v2/providers/employers/employees/absences/{absenceId}
Request
- Base URLhttps://api.loket.nl
- URLhttps://api.loket.nl/v2/providers/employers/employees/absences/{absenceId}
- Authnone required
Path parameters
absenceIdstring uuid required
The unique identifier of an absence
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
Request body
Example request
{
"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
}
}Response
OK
Example response
{
"version": {
"resourceVersion": "2018-12-31"
},
"messages": [
{
"type": "Warning",
"description": "<some warning>",
"id": "904d6856-6034-4624-bcbc-886188c115c5",
"code": 12
}
],
"content": {
"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.