Travelport / travelport-uapi-tutorial

The travelport-uapi-tutorial is a Java project for Universal API that will help you connect and code a standard workflow including Air and Hotel.
45 stars 34 forks source link

How to get pnr code for get univertial record. #193

Open manishkumarpatel opened 8 years ago

manishkumarpatel commented 8 years ago

How to get pnr code for get univertial record.

vivekjyotipramanik commented 8 years ago

Hi manishkumarpatel,

If we do UnivselRecordRetrieve the PNR will be there in the response in the below element universal:UniversalRecordRetrieveRsp\universal:UniversalRecord\universal:ProviderReservationInfo\@LocatorCode

Please find below the sample UniversalRecordRetrieveReq and Response.

https://support.travelport.com/webhelp/uapi/Content/SampleWeb/SampleFiles/011-02_1V_UnivRecordRetrieve_Rq.xml

https://support.travelport.com/webhelp/uapi/Content/SampleWeb/SampleFiles/011-02_1V_UnivRecordRetrieve_Rs.xml

Please let me know how it goes. Thanks.

Thanks & Regards Vivekjyoti Pramanik

manishkumarpatel commented 8 years ago

Thanks Vivekjyoti Pramanik

krishnatwc commented 3 years ago

Hi Vivekjyoti,

I am using UniversalRecordRetrieveReq and got success response but there is not AirPricingInfo tag associated in response, please check and guide me, what am I mistaking.

====================== Request==============

=====================Response ============ VIDISHAMS REDDY89 14th Rd NoordwykMidrandMIDRANDZAVIDISHAMS REDDY 89 14th Rd Noordwyk Midrand MIDRAND ZA P/