Search code examples
phpsabre

how to transfer the selected itinerary details to revalidation or PNR creation?


Im using sabre rest api. i have done my code up-to searching fare via BagainFinderMax (v1.8.6) and I'm still confusing what is next? either doing the Revalidate Itinerary or Create Passenger Name Record. how can i pick the specific itinerary via workflow to do above process in php?


Solution

  • That would depend on what you want to accomplish. Bear in mind that CreatePassengerNameRecordRQ won't work with complex itineraries that require an ARNK segment for instance. Roughly, you could look for options in BFM and then call Revalidate (a pre-booking step). Once you validate that you can book the itinerary with EnhancedAirBookRQ and proceed to the final ticketing step.