List holiday calendars
List holiday calendars for an Organization.
Request
- Base URLhttps://sandbox.pismolabs.io/holidays-core
- URLhttps://sandbox.pismolabs.io/holidays-core/v1/holiday-calendar
- AuthHTTP bearer
Query parameters
Holiday calendar ID filter
Holiday calendar name filter
Holiday calendar type filter
Client-created calendar holiday ID
Holiday calendar parent ID filter
Sort field - name or type. Default is name.
Sort order - asc or desc. Default is asc
Calendar relationship type. Default is all Organization calendars. Either external_id or holiday_calendar_id is REQUIRED if this field is passed.
Page number. Default = 1.
Items per page. Default = 10. Maximum = 100.
Headers
Organization/tenant ID
The Correlation IDentifier UUID field links related API requests and events. The x-cid can help the Pismo engineering team track everything related to a call. If not passed, this field is automatically generated.
Response
OK
Example response
{
"current_page": 1,
"pages": 1,
"per_page": 10,
"total_items": 11,
"items": [
{
"external_id": "f89urqljnahosluiefku",
"holiday_calendar_id": 8675309,
"name": "Brazil holiday calendar",
"parent_id": 8675309,
"type": "Country",
"working_days": [
1,
2,
3,
4,
5
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.