ronaldtgi
ronaldtgi

Reputation: 727

Understanding Sabre itinerary segments cancellation

I could create PNR via Sabre REST API and now I want to cancel PNR. It seems there is no PNR cancellation API.

According to this post, I will have to use OTA_CancelLLSRQ (Cancel Itinerary Segments) to cancel the segment.

Then, I decided to use OTA_CancelLLSRQ and this is a sample request data for OTA_CancelLLSRQ documentation of Sabre

<OTA_CancelRQ Version="2.0.2">
    <Segment Type="entire"/>
</OTA_CancelRQ>

Here, I am a bit confused that there is no unique/reference ID or Itinerary ID in the request payload data.

How this is going to cancel a specific itinerary?

And also how can I cancel multiple itineraries at the same time?

Upvotes: 1

Views: 641

Answers (2)

Rahul Kumar
Rahul Kumar

Reputation: 41

Here is the link which provides details of the entire cancellation workflow:- https://developer.sabre.com/cancel-booking

The internal logic executed by Cancel Booking is defined by the content on the Sabre PNR to be canceled. Because of this, the first step executed internally is to analyze the products in the Sabre PNR. This analysis creates a mapping of products, with the corresponding API, to be used for cancellation and creates a “segment sequence position” to “product id” mapping.

Hence before you make a call to cancel Itinerary Segments (OTA_CancelLLSRQ) API, you need to call Retrieve Itinerary (GetReservationRQ) API to set the context.

Upvotes: 1

drtrobridge
drtrobridge

Reputation: 429

From the documentation: highlighted screenshot here

When you call the GetResrvationRQ API first, the PNR becomes 'active' in your workspace so when you call OTA_CancelRQ, it applies to the PNR you pulled up. I do not believe it is possible to cancel an itinerary in a stateless mode.

Since you have to call the GetReservationRQ API on each PNR before you cancel, I do not think you can cancel more than one PNR at a time.

Upvotes: 0

Related Questions