Report an ETA
POST/appointments/:appointmentId/eta-reports
Records the carrier's latest estimated arrival on a BOOKED appointment. An etaAt later than windowStart plus the
site's arrival tolerance raises the advisory DockAppointmentAtRisk (analytics stream) once per report; nothing is
rescheduled automatically. Requires an Idempotency-Key.
Request
Responses
- 201
- 400
- 404
- 409
- 422
- 500
The ETA is recorded.
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.
The weak entity tag of the appointment or carrier, W/"<version>".
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).
The request is well formed JSON but a value-object or reference rule refuses it (invalid door code, carrier or window, invalid SCAC, USDOT, MC, carrier name or suspension reason, window in the past, unknown door, door flow mismatch, unknown ASN, missing outbound reference, invalid operating hours or settings).
Unexpected server error.