List holidays
List calendar holidays
Request
- Base URLhttps://sandbox.pismolabs.io/holidays-core
- URLhttps://sandbox.pismolabs.io/holidays-core/v1/holiday-calendar/{holiday_calendar_id}/holiday
- AuthHTTP bearer
Path parameters
Holiday calendar ID
Query parameters
Holiday calendar name filter
Get results on or after this date.
This field indicates what part of the year to start searching for holidays, not when the holiday was created at Pismo.
Format = yyyy-mm-dd. Must be less than or equal to endDate.
Get holidays on or before this date.
This field indicates what part of the year to end searching for holidays, not when the holiday was created at Pismo.
Format: yyyy-mm-dd. Must be greater than or equal to beginDate."
Page number. Default = 1.
Items per page. Default = 10. Maximum = 100.
Sort order: ASC (ascending) or DESC (descending). Default = ASC.
Sort by ID or NAME. Default = ID.
Should holidays from parent calendars be returned? Default is false
Response
OK
Example response
{
"current_page": 1,
"pages": 1,
"per_page": 10,
"total_items": 11,
"items": [
{
"created_at": "2024-04-30T17:24:03",
"deleted_at": "2024-04-30T17:24:03",
"description": "Day to party like it's 1999",
"holiday_calendar": {
"id": 8675309,
"name": "Brazil holiday calendar"
},
"holiday_date": "2023-12-01",
"holiday_id": 8675309,
"name": "New Year's Day",
"updated_at": "2024-04-30T17:24:03"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.