v1

latestOpenAPI 3.1.0Copyright Pismo2026-07-247702,7523.1 MB
Holiday calendar data

Get business day

Searches for business day information for a specific date within a holiday calendar.

post/v1/holiday-calendar/{holiday_calendar_id}/business-day

Path parameters

holiday_calendar_idstring required
Example:8675309

Holiday calendar ID

Request body

current_datestring date required

Current date. Format = yyyy-mm-dd.

Example request

{
  "current_date": "2023-01-02"
}

Response

OK

current_datestring date

Current date. Format = yyyy-mm-dd.

descriptionstring

Holiday description

holiday_calendar_idinteger

Holiday calendar ID

holiday_calendar_metadatastring

Any data object with key/value pairs. No limit on length.

Note: This field must not be used to send Personally Identifiable Information (PII), Payment Card Industry (PCI) data, or any sensitive/regulated information. Metadata fields are intended for operational, non-sensitive data only. For sensitive data, use the specific parameters designed for that purpose. For more information, refer to Get started with Pismo APIs.

holiday_metadatastring

Any data object with key/value pairs. No limit on length.

Note: This field must not be used to send Personally Identifiable Information (PII), Payment Card Industry (PCI) data, or any sensitive/regulated information. Metadata fields are intended for operational, non-sensitive data only. For sensitive data, use the specific parameters designed for that purpose. For more information, refer to Get started with Pismo APIs.

is_holidayboolean

Is this a holiday?

is_weekendboolean

Is this a weekend day?

namestring

Holiday name

next_business_datestring date

Next work day following the holiday. Format = yyyy-mm-dd.

prior_business_datestring date

Business day prior to holiday. Format = yyyy-mm-dd.

Example response

{
  "current_date": "2023-01-02",
  "description": "Day to party like it's 1999",
  "holiday_calendar_id": 8675309,
  "holiday_calendar_metadata": "{ \"key\": \"value\"}",
  "holiday_metadata": "{ \"key\": \"value\"}",
  "is_holiday": true,
  "is_weekend": true,
  "name": "New Year's Day",
  "next_business_date": "2023-01-02",
  "prior_business_date": "2023-01-02"
}