Skip to content

[EXPERIMENTAL] Get Employee Unavailability by id

Request

Security
clientCredentials
Path
employee_idstring^[a-zA-Z0-9.~\-_]{1,512}$required

A unique identifier of an Employee. Should only contain characters which do not need URL encoding.

unavailability_idstring, (uuid)required

The provided identifier of the Unavailability, or the generated identifier in case of an Unavailability created through the POST endpoint.

Payload
// No request payload

Responses

Employee Unavailability retrieved

Headers
ETagstring

A weak Etag (ex W/"<etag_value>") which contains the current version of the entity

Example:"W/\"25\""
Bodyapplication/json
idstringread-only

The unique Unavailability ID.

Example:"f22896d0-ed42-4a14-a935-7a29072bc5ac"
employee_idstring(EmployeeId)^[a-zA-Z0-9.~\-_]+$read-only

The unique Employee ID.

Example:"employee-42"
fromstring, (date-time)required
Example:"2021-01-01T06:00:00Z"
tostring, (date-time)required
Example:"2021-01-10T06:00:00Z"
descriptionstring
Example:"holiday"
Response
{ "id": "f22896d0-ed42-4a14-a935-7a29072bc5ac", "employee_id": "employee-42", "from": "2021-01-01T06:00:00Z", "to": "2021-01-10T06:00:00Z", "description": "holiday" }