Skip to main content

Schedule a door closure

POST 

/sites/:siteId/dock-calendar/closures

Closes one door for [from, to). Closures of one door may not overlap (409 overlapping-closure) and a closure may not cover an active appointment of the door (409 closure-conflicts-with-appointments, listing the appointment ids). Requires an Idempotency-Key. Publishes DoorClosureScheduled.

Request​

Responses​

The closure is scheduled.

Response Headers
    Idempotency-Replayed

    true when this response is the stored answer of an earlier request with the same Idempotency-Key and the same method, path and body (the handler did not run again). Absent on the first execution.