List Operating Calendar Closures
Beta/v1/operations/operating-calendars/{id}/closuresThis endpoint is idempotent. Learn more
Lists the dates a calendar is shut, within a date window.
Bounded rather than exhaustive: a calendar accumulates closures indefinitely, and the useful answer is the year either side of today. Widen it with from_date and to_date.
idstringOperating calendar ID.
from_dateoptional string (date-time)Earliest closure date to return. Defaults to a year ago.
to_dateoptional string (date-time)Latest closure date to return. Defaults to a year ahead.
objectstringenumValues:listResource type identifier.
page_infoobjectPagination metadata.
next_page_urlstringnullableRelative URL that fetches the next page of results.
previous_page_urlstringnullableRelative URL that fetches the previous page of results.
has_next_pagebooleanWhether more results exist after this page.
has_prev_pagebooleanWhether results exist before this page.
dataarray of operating_calendar_closureResources in this page.
objectstringenumValues:operating_calendar_closureResource type identifier.
idstringUnique identifier.
operating_calendar_idstringThe calendar this closure belongs to.
closed_onstring (date-time)The date nothing operates.
namestringWhat the closure is, such as "Thanksgiving Day" or "Summer shutdown".
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
Responses
Successful response for List Operating Calendar Closures