curl --request GET \
--url https://api.absentify.com/api/v1/absences_per_day \
--header 'X-API-KEY: <api-key>'
[
{
"type": "request",
"member": {
"id": "<string>",
"custom_id": "<string>",
"name": "<string>",
"email": "<string>"
},
"date": "2023-11-07T05:31:56Z",
"start_at": "morning",
"end_at": "lunchtime",
"request": {
"duration": 123,
"workday_absence_duration": 123,
"status": "<string>",
"take_from_allowance": true,
"allowance_type": {
"id": "<string>",
"name": "<string>",
"ignore_allowance_limit": true,
"allowance_unit": "days"
},
"leave_type": {
"name": "<string>",
"id": "<string>",
"leave_unit": "days"
}
},
"public_holiday_day": {
"id": "<string>",
"duration": "<string>",
"names": [
{
"language": "<string>",
"name": "<string>"
}
]
}
}
]
Get all requests and public holiday per member per day
curl --request GET \
--url https://api.absentify.com/api/v1/absences_per_day \
--header 'X-API-KEY: <api-key>'
[
{
"type": "request",
"member": {
"id": "<string>",
"custom_id": "<string>",
"name": "<string>",
"email": "<string>"
},
"date": "2023-11-07T05:31:56Z",
"start_at": "morning",
"end_at": "lunchtime",
"request": {
"duration": 123,
"workday_absence_duration": 123,
"status": "<string>",
"take_from_allowance": true,
"allowance_type": {
"id": "<string>",
"name": "<string>",
"ignore_allowance_limit": true,
"allowance_unit": "days"
},
"leave_type": {
"name": "<string>",
"id": "<string>",
"leave_unit": "days"
}
},
"public_holiday_day": {
"id": "<string>",
"duration": "<string>",
"names": [
{
"language": "<string>",
"name": "<string>"
}
]
}
}
]
Successful response
Was this page helpful?