Public holidays
Read a public holiday by id
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
Public holidays
Read a public holiday by id
Read a public holiday by id
GET
/
public_holidays
/
{id}
curl --request GET \
--url https://api.absentify.com/api/v1/public_holidays/{id} \
--header 'X-API-KEY: <api-key>'
{
"id": "<string>",
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"country_code": "<string>",
"county_code": "<string>",
"public_holiday_days": [
{
"id": "<string>",
"date": "2023-11-07T05:31:56Z",
"year": 123,
"custom_value": true,
"duration": "Morning",
"updatedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"public_holiday_day_languages": [
{
"id": "<string>",
"name": "<string>",
"language": "<string>"
}
]
}
]
}
Authorizations
Path Parameters
Response
200
application/json
Successful response
Available options:
Morning
, Afternoon
, FullDay
Was this page helpful?
curl --request GET \
--url https://api.absentify.com/api/v1/public_holidays/{id} \
--header 'X-API-KEY: <api-key>'
{
"id": "<string>",
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"country_code": "<string>",
"county_code": "<string>",
"public_holiday_days": [
{
"id": "<string>",
"date": "2023-11-07T05:31:56Z",
"year": 123,
"custom_value": true,
"duration": "Morning",
"updatedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"public_holiday_day_languages": [
{
"id": "<string>",
"name": "<string>",
"language": "<string>"
}
]
}
]
}