Ancillary Cancel API Reference

POST

book/airoffer/reservationworkbench/{workbenchID}/offers/canceloffer

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

Base path:

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

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

Related Content:Seats Guide, Ancillary Guide

The Ancillary Cancel API supports canceling baggage and/or paid seats for both GDSClosed Global Distribution System. A GDS aggregates and distributes air, hotel, and car rental content such as schedules, fares, and upsells. In the JSON APIs, GDS content is distributed from Travelport. and NDCClosed New Distribution Capability, an XML standard for exchanging data that supports airlines in distributing their content directly to online travel agencies. See the NDC Guide., and canceling non-baggage ancillaries for NDC. Canceling non-baggage ancillaries for GDS is not supported.

Ancillary Cancel must be sent in a workbench session: Create a workbench, send Ancillary Cancel, and commit the workbench. You can cancelClosed Cancel a ticket outside the void period without rebooking on another itinerary. Depending on the airline ticket policy, canceling a ticket may result in a full, partial, or no refund. ancillaries booked in the same or a previous session.

Request

Query Parameters

None.

Request Body

Response

GDS responses return the ReferenceList object with flight details while NDC responses do not return ReferenceList.

Object

Description

OfferListResponse

Top level object for response.

Includes OfferID object. GDS responses also return the ReferenceList object.

OfferID

Top level object for seat offer details.

Includes Identifier, Product, Price, and TermsAndConditionsFull.

Identifier

Identifier for seat offer. Key value pairs:

authority: Returns the value Travelport for GDS or the carrierClosed An airline. name for NDC.

value: Internal system-generated identifierClosed In the JSON APIs, a unique identifier for specific, unique data, such as an entire response or an offer, product, or brand in a response. These identifiers must often be sent in subsequent requests to refer to a previous response, offer, product, etc. Usually returned in Identifier/value for the referenced object. Example format: 3cecf1be-0b21-4881-8f33-ae11c8d7b708. See the JSON APIs Guide. for the offer.

Product

Top level object for product (product is the flight or connecting flights for one legClosed The flight or connecting flights between one origin and destination pair. For example, on a round-trip flight, LAX > MSP could be the first leg (aka outbound leg) and MSP > DEN > LAX could be the second leg (aka inbound leg). The JSON APIs use the term product (see below) to represent one leg of the itinerary. of the itinerary). Multiple instances returned for flights with multiple legs.

Key value pairs:

  • id: Custom identifier for product.

  • productRef: Reference for product.

Includes Identifier and Ancillary objects. May return Quantity.

Product/Identifier

Identifier for the product. Key value pairs:

authority: Returns the value Travelport for GDS or the carrier name for NDC.

value: Internal system-generated identifier for the product.

Quantity

Returned when multiple travelers are on the itinerary; number of seats in this product.

Ancillary

Includes SeatAssignment.

SeatAssignment

Includes Seat object.

Seat

Row and seat number of assigned seat that was canceled.

Price

Top level object for price details; amounts are 0 for free seats.

Includes CurrencyCode, Base, TotalTaxes, and TotalPrice objects. May include PriceBreakdown

CurrencyCode

The currency in which the price is returned. Currency is the default associated with your provisioned PCCClosed Pseudo city code. A travel provider's identification code for the JSON APIs, provisioned from Travelport. Used to determine access and other settings in the JSON APIs for your company. from Travelport.

Key value pairs:

decimalPlace: Number of decimal places in the currency.

value: Currency code value.

Base

Base price before taxes and fees.

TotalPrice

Total price for a paid seat; 0 for free seats.

TermsAndConditionsFull

Any terms and conditions applicable to the seat.

Includes ApplicationLimit.

ApplicationLimit

Any restrictions on the number of this seat product that can be purchased.

Key value pairs:

start: Minimum quantity that can be purchased.

end: Maximum quantity that can be purchased.

value: The unit represented by this quantity. Possible values are:

ReferenceList

Top level object for flight details. Includes Flight object.

Not returned for NDC seat cancel responses.

Flight

One instance per flight.

Key value pairs:

duration: Time of the flight in hours (H) and minutes (M).

carrier: Airline carrier.

number: Flight number.

operatingCarrier: When the carrier has filed a codeshare operating carrier for the flight, the IATAClosed International Air Transportation Association, an organization that standardizes rules, regulations and fare construction principles for the international travel industry. code for that codeshare carrier.

operatingCarrierName: Name of the marketing operating carrier.

equipment: Equipment model. Note that TRN, TRS, and BUS equipment codes indicate ground transportation.

id: id for internal flight reference number, also used in products and offers. For GDS, the Flight id is formatted as the letter ‘s’+ unique numeric value, as in s1.

Includes Identifier, Departure, and Arrival objects.

Flight/Identifier

Internal identifier for the flight. Key value pairs:

authority: Returns the value Travelport.

value: Internal system-generated identifier for the flight.

Departure

Departure details. Key value pairs are the location, date, time, and terminal of departure.

Arrival

Arrival details. Key value pairs are the location, date, time, and terminal of arrival.

Example Request

For additional examples and scenarios, download the developer toolkits and see Using Postman and Developer Toolkits.

Example Response

The seat cancel response for both NDC and GDS returns an identifier and details of the canceled seat offer per the examples below.

For additional examples and scenarios, download the developer toolkits and see Using Postman and Developer Toolkits.

GDS responses return the ReferenceList object with flight details while NDC responses do not return ReferenceList.

The NDC seat cancel response below does not return the ReferenceList object.