/company/excluded_dates/:excluded_date_id

Update a company excluded date.

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

Request

PropertyTypeDescription
start_dateStringThe first excluded day, in YYYY-MM-DD format.
end_dateStringThe last excluded day, in YYYY-MM-DD format. Leave it out for a single day. A range must be shorter than one year.
nameStringThe name of the excluded date, such as Winter break.

Send the properties inside data.attributes.

Send only the properties to change. If you change start_date and leave out end_date, the end date moves by the same number of days, so the range keeps its length.

An API key that is limited to some buildings cannot change the company excluded dates.

Response

A response object in JSON:API format (https://jsonapi.org/). data is one excluded date.

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.
Path Params
integer
required
Body Params
data
object
required
Responses

401

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

403

The API key is limited to some buildings.

404

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

409

Another excluded date already starts on this date.

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