get
https://api.vergesense.com/buildings//excluded_dates
Retrieve all excluded dates of a building.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
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.
| Property | Type | Description |
|---|---|---|
id | String | The excluded date ID. |
attributes.start_date | String | The first excluded day, in YYYY-MM-DD format. |
attributes.end_date | String | The last excluded day, in YYYY-MM-DD format. |
attributes.name | String | The name of the excluded date, such as Winter break. |
attributes.created_at | String | When the excluded date was created, in ISO 8601 format. |
attributes.updated_at | String | When the excluded date was last changed, in ISO 8601 format. |
meta.use_global_excluded_dates | Boolean | true if the building uses the company excluded dates instead of this list. |
401The vs-api-key header is missing or not valid.
404The building or excluded date does not exist, or the key cannot access it.

