Lift a door closure
POST/sites/:siteId/dock-calendar/closures/:closureId/lifts
Lifts a scheduled closure so the door can be booked again in its span. Lifting an already lifted closure answers
409 closure-already-lifted. Requires an Idempotency-Key. Publishes DoorClosureLifted.
Request
Responses
- 200
- 400
- 404
- 409
- 500
The closure is lifted.
Response Headers
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.
Malformed JSON body, an unknown field, an invalid path, query or header parameter, or a NUL byte in a body.
No appointment, door, closure or carrier has this id, or the path holds a NUL byte.
The appointment or carrier is in the wrong state for the command, the door is booked in an overlapping window, a closure collides, another request changed the aggregate first, or the Idempotency-Key was already used with a different request (idempotency-key-reused).
Unexpected server error.