Get single availability slot
Changed on/employees/availability/{availability_id}
get/employees/availability/{availability_id}
Request
- Base URLhttps://www.humanity.com/api/v2
- AuthAPI key in query parameter access_token
Path parameters
availability_idstring required
Query parameters
access_tokenstring required
includesstring
Available includes. Possible options: series
fieldsstring
Filters key values from resource.
Response
200
Example response
{
"status": 1,
"data": {
"id": "0001f8bf2hw74v542wff4a7dwk",
"status": 1,
"employee_id": 2,
"company_id": 11,
"start_time": "2020-05-26T13:30:00+02:00",
"end_time": "2020-05-26T15:00:00+02:00",
"series_id": "0001f8bf2hw74v542wff4a7dw7",
"created_at": "2020-04-02T12:20:01+02:00",
"created_by": 2,
"updated_at": "2020-04-02T12:21:13+02:00",
"series": {
"id": "0001f8bf2hw74v542wff4a7dw7",
"employee_id": 2,
"company_id": 11,
"start_time": "2020-05-15T13:30:00+02:00",
"end_time": "2020-05-15T15:00:00+02:00",
"rrule": "FREQ=DAILY;UNTIL=20201215T220000Z",
"created_at": "2020-04-02T12:20:01+02:00",
"created_by": 2,
"updated_at": "2020-04-02T12:20:01+02:00"
}
},
"token": "xxxxxxxxxx"
}Changes
- info
endpoint added
- info