This endpoint returns structured Holiday objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results
array
and will be indexed by ID in the holidays
top-level JSON key.
Please see our Response Format section for more information.
{- "count": 0,
- "meta": {
- "count": 0,
- "page_count": 0,
- "page_number": 0,
- "page_size": 0
}, - "results": [
- {
- "key": "string",
- "id": "string"
}
], - "holidays": {
- "property1": {
- "calendar_names_list": "string",
- "end_date": "2019-08-24",
- "holiday_calendar_association_ids": [
- "string"
], - "name": "string",
- "paid": true,
- "start_date": "2019-08-24",
- "total_hours": 0
}, - "property2": {
- "calendar_names_list": "string",
- "end_date": "2019-08-24",
- "holiday_calendar_association_ids": [
- "string"
], - "name": "string",
- "paid": true,
- "start_date": "2019-08-24",
- "total_hours": 0
}
}, - "holiday_calendar_associations": {
- "property1": {
- "holiday_calendar_id": "string",
- "holiday_calendar_name": "string",
- "holiday_id": "string",
- "holiday_name": "string"
}, - "property2": {
- "holiday_calendar_id": "string",
- "holiday_calendar_name": "string",
- "holiday_id": "string",
- "holiday_name": "string"
}
}
}
This endpoint returns structured Holiday objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results
array
and will be indexed by ID in the holidays
top-level JSON key.
Please see our Response Format section for more information.
object | |||||||||||
|
{- "holiday": {
- "name": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "paid": true,
- "holiday_calendar_ids": 0
}
}
{- "count": 0,
- "meta": {
- "count": 0,
- "page_count": 0,
- "page_number": 0,
- "page_size": 0
}, - "results": [
- {
- "key": "string",
- "id": "string"
}
], - "holidays": {
- "property1": {
- "calendar_names_list": "string",
- "end_date": "2019-08-24",
- "holiday_calendar_association_ids": [
- "string"
], - "name": "string",
- "paid": true,
- "start_date": "2019-08-24",
- "total_hours": 0
}, - "property2": {
- "calendar_names_list": "string",
- "end_date": "2019-08-24",
- "holiday_calendar_association_ids": [
- "string"
], - "name": "string",
- "paid": true,
- "start_date": "2019-08-24",
- "total_hours": 0
}
}, - "holiday_calendar_associations": {
- "property1": {
- "holiday_calendar_id": "string",
- "holiday_calendar_name": "string",
- "holiday_id": "string",
- "holiday_name": "string"
}, - "property2": {
- "holiday_calendar_id": "string",
- "holiday_calendar_name": "string",
- "holiday_id": "string",
- "holiday_name": "string"
}
}
}
This endpoint returns structured Holiday objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results
array
and will be indexed by ID in the holidays
top-level JSON key.
Please see our Response Format section for more information.
{- "count": 0,
- "meta": {
- "count": 0,
- "page_count": 0,
- "page_number": 0,
- "page_size": 0
}, - "results": [
- {
- "key": "string",
- "id": "string"
}
], - "holidays": {
- "property1": {
- "calendar_names_list": "string",
- "end_date": "2019-08-24",
- "holiday_calendar_association_ids": [
- "string"
], - "name": "string",
- "paid": true,
- "start_date": "2019-08-24",
- "total_hours": 0
}, - "property2": {
- "calendar_names_list": "string",
- "end_date": "2019-08-24",
- "holiday_calendar_association_ids": [
- "string"
], - "name": "string",
- "paid": true,
- "start_date": "2019-08-24",
- "total_hours": 0
}
}, - "holiday_calendar_associations": {
- "property1": {
- "holiday_calendar_id": "string",
- "holiday_calendar_name": "string",
- "holiday_id": "string",
- "holiday_name": "string"
}, - "property2": {
- "holiday_calendar_id": "string",
- "holiday_calendar_name": "string",
- "holiday_id": "string",
- "holiday_name": "string"
}
}
}
This endpoint returns structured Holiday objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results
array
and will be indexed by ID in the holidays
top-level JSON key.
Please see our Response Format section for more information.
object | |||||||||||
|
{- "holiday": {
- "name": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "paid": true,
- "holiday_calendar_ids": 0
}
}
{- "count": 0,
- "meta": {
- "count": 0,
- "page_count": 0,
- "page_number": 0,
- "page_size": 0
}, - "results": [
- {
- "key": "string",
- "id": "string"
}
], - "holidays": {
- "property1": {
- "calendar_names_list": "string",
- "end_date": "2019-08-24",
- "holiday_calendar_association_ids": [
- "string"
], - "name": "string",
- "paid": true,
- "start_date": "2019-08-24",
- "total_hours": 0
}, - "property2": {
- "calendar_names_list": "string",
- "end_date": "2019-08-24",
- "holiday_calendar_association_ids": [
- "string"
], - "name": "string",
- "paid": true,
- "start_date": "2019-08-24",
- "total_hours": 0
}
}, - "holiday_calendar_associations": {
- "property1": {
- "holiday_calendar_id": "string",
- "holiday_calendar_name": "string",
- "holiday_id": "string",
- "holiday_name": "string"
}, - "property2": {
- "holiday_calendar_id": "string",
- "holiday_calendar_name": "string",
- "holiday_id": "string",
- "holiday_name": "string"
}
}
}
The response will contain no content and an HTTP 204 status code if the request was successful, or a standard Kantata OX error message explaining why the object could not be deleted.
Holiday has been deleted.
Bad Request
Unauthorized request
Forbidden request
Page Not Found
Unprocessable Entity
Service is unavailable
{- "errors": [
- {
- "type": "string",
- "message": "string"
}
]
}