sick-leave-phases
Find sick leave phases
Retrieves all sick leave phases.
get/sick-leave-phases
Request
- Base URL: https://api.hoorayhr.io
- URL: https://api.hoorayhr.io/sick-leave-phases
- Auth: API key in header authorization
Response
List of sick leave phases
Example response
[
{
"id": 1,
"sickLeaveDossierId": 1,
"userIdReported": 5,
"userIdConfirmed": 5,
"expectedTotal": 480,
"calculatedExpectedTotal": 960,
"actualTotal": 960,
"startDate": "2025-02-01T15:00:00.000Z",
"startDateEndTime": "2025-02-01T17:00:00.000Z",
"expectedReturn": "2025-02-05",
"calculatedExpectedReturn": "2025-02-20",
"calculatedEndDate": "2025-02-20T09:00:00.000Z",
"calculatedEndDateEndTime": "2025-02-20T12:00:00.000Z",
"status": "REPORTED_SICK",
"notes": "I've gotten food poisoning while staying at a hotel in Tokyo for the conference. I've sent an email to my direct colleagues to hand over some important work.",
"createdAt": "2025-02-01T14:57:17.000Z",
"updatedAt": "2022-02-20T15:01:52.000Z",
"labels": [
{
"id": 5,
"name": "Long term leave",
"type": "LEAVE",
"systemCategoryType": "car",
"createdAt": "2022-02-23T14:01:17.516Z",
"updatedAt": "2022-02-23T14:01:17.516Z"
}
]
}
]Changes
No recorded changes to this operation across all 1 revision of this API.