Skip to main content

Cancel an appointment

POST 

/appointments/:appointmentId/cancellations

Cancels a BOOKED or CHECKED_IN appointment and frees its door window. reason is CARRIER_REQUEST or SITE_REQUEST (the dock planner); TURNED_AWAY (gate refusal) and ASN_CANCELLED (every ASN cancelled) are set only by the service. Requires an Idempotency-Key; If-Match is honoured. Publishes DockAppointmentCancelled.

Request​

Responses​

The appointment is cancelled.

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.

    ETag

    The weak entity tag of the appointment or carrier, W/"<version>".