GDS PNR Cancel API Reference

A PNR can be canceled prior to ticketing. For a GDS itinerary, send a POST request with the record locator.

The segment or segments are then canceled; however, the PNR can still be retrieved. The PNR retrieve response in this case returns the traveler or travelers but no offer details.

Canceling a PNR for NDC is not supported in AirReservation v6.

In this topic:

PNR Cancel - GDS

Query Parameters

None.

POST Request

Send the POST request to the following resource:

POST receipt/reservations/{PNR}/receipts

Base path:

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

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

Payload

None.

Response

The PNR Cancel response returns a confirmation and status. The table below details the objects returned in the PNR Cancel response and notes differences between models v6 and v9.

Object Description

ReceiptListResponse

Top level object for response.

Includes ReceiptID object.

ReceiptID

Top level object for cancellation details.

Contains the following attribute:

  • id: Internal identifier.

Identifier

Contains the following attributes:

  • authority: Returns the value Travelport.
  • value: Internal transaction identifier for the cancellation.

ConfirmationLocator

Contains the following attributes:

  • source: Provider on which the PNR was created.
  • sourceContext: Returns the value Travelport.
  • value: The locator code of the cancelled PNR.

StatusDetail

Confirmation status. Contains the following attributes:

  • providerCode: Provider on which the PNR was cancelled.
  • valueCancelled indicates the PNR was successfully cancelled.

POST receipt/reservations/{workbenchID}/receipts?OfferIdentifer/{offerID}/