Cancel a booking

View as Markdown
Cancel a whole booking. Send the W1 record locator in `uniqueID` with `type` `14` and set `cancelType` to `Commit`. The response returns `status` `CANCELLED`, and the system emails the cancellation confirmation automatically. Only full cancellation is supported. For anything else, see the GO7 cancel_booking page: https://go7-worldticket.github.io/docs/ota/endpoints/cancel_booking

Headers

x-api-keystringRequired
local-nameenumRequiredDefaults to OTA_CancelRQ
Routes the request to the cancel operation.
Allowed values:

Request

This endpoint expects an object.
posobjectRequired
Point of sale. Identifies the agent and channel behind the request.
versionstringRequired
uniqueIDlist of objectsRequired
The W1 record locator to cancel.
cancelTypeenumRequiredDefaults to Commit
Commits the full cancellation.

Response

The booking is cancelled.
successobject
uniqueIDlist of objects
segmentlist of objects
statusstring
Booking status after cancellation.
timeStampstring
versiondouble
retransmissionIndicatorboolean