Absence

Details of an Absence

Activity name : <a href="https://developer.loket.nl/Activities/GetAbsenceByAbsenceId" target="_blank">GetAbsenceByAbsenceId</a>

Get the details of an Absence

get/v2/providers/employers/employees/absences/{absenceId}

Request

  • Base URL
    https://api.loket.nl
  • URL
    https://api.loket.nl/v2/providers/employers/employees/absences/{absenceId}
  • Auth
    none 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

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.