Release the securing (ReleaseTrailerSecuring)
POST/trailers/:trailerId/securing-releases
Records that the restraint was released or the chocks removed. It is required before a trailer is moved away from its door (POST /moves answers 409 trailer-still-secured) and before its visit checks out (409 trailer-still-secured). A trailer that is not secured is 409 trailer-not-secured; the securing stays while door work is IN_PROGRESS (409 door-work-open). A DROP trailer whose door work is done then gets its FROM_DOOR move. Raises TrailerSecuringReleased.
Request
Responses
- 200
- 400
- 404
- 409
- 500
The trailer.
Response Headers
Present, with the value true, only when the answer is a replay of the stored answer of an earlier request with the same Idempotency-Key (a success or a refusal that cannot change; a refusal the same request could pass later is never stored).
Malformed JSON body, an unknown field, a NUL byte, a missing or invalid Idempotency-Key, or an invalid path or query parameter (on the list operations an unknown query parameter, limit, cursor or filter value; on the reports the from/to window; on the yard policy an If-Match that is not an entity tag).
The addressed resource does not exist, or the path carries a NUL character (resource-not-found).
The request conflicts with the state of the yard (an occupied place, an open move, an illegal transition) or reuses an Idempotency-Key. On every POST and PUT except the two sweeps it is also the answer when another request changed the same aggregate first (concurrent-modification); read the resource again and retry with a new Idempotency-Key.
Unexpected failure; the detail never leaks internals.