List holidays (deprecated)
DEPRECATED. Call the Call the List holiday calendars endpoint instead.
Return a paginated list of holidays registered for an organization.
Request
- Base URLhttps://sandbox.pismolabs.io/holidays-core
- URLhttps://sandbox.pismolabs.io/holidays-core/holidays-core/v1/holiday
- AuthHTTP bearer
Query parameters
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.
Administrative Division ID filter
Holiday calendar name filter
Holiday date filter. Format = yyyy-mm-dd.
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."
Response
OK
Example response
{
"current_page": 1,
"items": [
{
"administrative_division": {
"id": 1111,
"name": "Brazil"
},
"id": 8675309,
"name": "New Year's Day",
"holiday_date": "2023-12-01",
"next_business_date": "2023-01-02",
"created_at": "2024-04-30T17:24:03"
}
],
"pages": 1,
"per_page": 10,
"total_items": 11
}Changes
No recorded changes to this operation across all 1 revision of this API.