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?
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.