v1

latestOpenAPI 3.1.0Copyright Pismo2026-07-247702,7523.1 MB
Holidays (deprecated)

Create holiday (deprecated)

DEPRECATED. Call the Add holiday endpoint instead.

Create a holiday.

post/orgs-core/v1/orgs/holidays

Headers

x-tenantstring required
Example:TN-cc8f8b89-233a-4582-9f36-63ee85278d6d

Pismo organization ID

Request body

holiday_datestring

Holiday date. Format = yyyy-mm-dd.

namestring

Holiday name

working_datestring date

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

Example request

{
  "holiday_date": "2023-12-01",
  "name": "New Year's Day",
  "working_date": "2023-01-02"
}

Response

Holidays response

holiday_datestring

Holiday date. Format = yyyy-mm-dd.

idinteger

Holiday ID

namestring

Holiday name

working_datestring date

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

Example response

{
  "holiday_date": "2023-12-01",
  "id": 8675309,
  "name": "New Year's Day",
  "working_date": "2023-01-02"
}