/buildings/:building_id/excluded_dates

Retrieve all excluded dates of a building.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

building_id is the id that /buildings returns, not the building_ref_id.

These are the building's own excluded dates. They apply only when meta.use_global_excluded_dates is false. When it is true, the building uses the company excluded dates.

Response

A response object in JSON:API format (https://jsonapi.org/). data is an array of excluded dates.

PropertyTypeDescription
idStringThe excluded date ID.
attributes.start_dateStringThe first excluded day, in YYYY-MM-DD format.
attributes.end_dateStringThe last excluded day, in YYYY-MM-DD format.
attributes.nameStringThe name of the excluded date, such as Winter break.
attributes.created_atStringWhen the excluded date was created, in ISO 8601 format.
attributes.updated_atStringWhen the excluded date was last changed, in ISO 8601 format.
meta.use_global_excluded_datesBooleantrue if the building uses the company excluded dates instead of this list.
Path Params
integer
required

The numeric building id from GET /buildings.

Responses

401

The vs-api-key header is missing or not valid.

404

The building or excluded date does not exist, or the key cannot access it.

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json