Absences
Get all requests and public holiday per member per day
Members
- GETGet all members
- POSTInvite a member
- GETRead a member by id
- PUTUpdate a member
- DELDelete a member
- GETRead a member by Microsoft user id
- GETRead a member by email
- GETRead a member by custom_id
- PUTUpdate approvers for a member
- PUTUpdate a member's allowance
- POSTAdd a member's schedule
- PUTUpdate a member's schedule
Departments
Leave types
Public holidays
Absences
Get all requests and public holiday per member per day
Get all requests and public holiday per member per day
GET
/
absences_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>"
}
]
}
}
]
Authorizations
Query Parameters
Response
200
application/json
Successful response
Available options:
request
, public_holiday
Available options:
morning
, afternoon
Available options:
lunchtime
, end_of_day
Was this page helpful?
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>"
}
]
}
}
]