Cancel Workbench Items API Reference

POST

book/reservationworkbench/{workbenchID}/reservations/cancelitems

For {workbenchID} send the workbench identifier returned in ReservationResponse/Identifer/value in the workbench create response.

Base path:

Note the following base path varies from other JSON APIs.

Pre-production https://api.pp.travelport.com/11/

Production https://api.travelport.com/11/

Related Content:Booking Guide, Booking Session Workflow

Functionality in the Cancel Workbench Items API is being deployed in phases. It currently offers specific payloads that support the following cancellation options.

In the initial booking workbench only:

In the post-commit workbench only; in other words, for an existing reservation, Cancel Workbench Items is supported only for GDS. To modify an NDC held booking, use the NDC Modify API. Cancel Workbench Items currently supports the following for GDS on an existing booking:

When only offers are canceled, any data in the workbench and/or in the booking persist, and another offer can be added with Add Offer. If the workbench is committed without adding another offer, a shell booking with only the remaining data is created.

Cancel Workbench Items must always be followed by a Workbench Commit to commit the changes.

Request

Query Parameters

None.

Request Body

The following payload cancels the entire reservation, including all offers, traveler data, and any other details on the booking. Currently supported only for NDC in the initial booking workbench, and for an existing GDS reservation in a post-commit workbench.

To cancel an existing NDC reservation, create a post-commit workbench and then use the NDC Cancel API.

The following payload cancels GDS content from an existing booking, and is sent in a post-commit workbench. Not supported for NDC.

This payload cancels all offers (air, hotel, and car) on a held booking. The reservation remains active and includes any traveler data and other details on the booking.

Response

All of the request payloads above return a transaction identifier in the same format in the response.

Example Request

See the Request Body section above for details on when the following payloads are supported.

Send the following payload to cancel the entire booking. Supported for NDC in the initial booking workbench. Supported for an existing GDS reservation only in the post-commit workbench.

Send the following payload to cancel all offers (air, hotel, and car as applicable) on an existing GDS booking. Supported only for GDS and only in the post-commit workbench.

Example Response

All of the request payloads above return a transaction identifier in the response per the example below.