availability
Find availability
Retrieves all availabilities.
get/availability
Request
- Base URL: https://api.hoorayhr.io
- URL: https://api.hoorayhr.io/availability
- Auth: API key in header authorization
Response
List of availabilities
Example response
[
{
"id": 5,
"userId": 1,
"start": "2022-02-15",
"end": "2022-02-16",
"schedule": {
"even": [
480,
480,
480,
480,
480,
0,
0
],
"odd": [
480,
480,
480,
480,
480,
0,
0
]
},
"workweek": 2400,
"calendarSchedule": {
"even": [
480,
480,
480,
480,
480,
0,
0
],
"odd": [
480,
480,
480,
480,
480,
0,
0
]
},
"calendarScheduleWorkweek": 2400,
"createdAt": "2022-02-15T14:01:17.516Z",
"updatedAt": "2022-02-23T14:01:17.516Z"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.