Skip to main content

Record or break the seal (RecordSeal, BreakSeal)

POST 

/trailers/:trailerId/seals

INTACT records the seal number found on the doors; APPLIED records a seal put on at the origin or dock; BROKEN marks it broken and places a SEAL_BROKEN hold. sealClass (I, S or H, ISO 17712) is optional with INTACT and APPLIED: an unknown class is 422 invalid-seal-class, and when the site yard policy sets minimumSealClass a seal of a lower class, or with no class, is 409 seal-class-too-low. VERIFIED and MISMATCH are never recorded by a caller: SealCheckAtGate sets them at check-in (ADR 0012).

Request​

Responses​

The trailer.

Response Headers
    Idempotency-Replayed

    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).