Open Jonny321 opened 7 years ago
Hi Jonny321,
Please find the below working XML request. ``xml
Hi NirandaG,
i tried your solution but it's not working and response are given below: <?xml version="1.0"?>
Hi Jonny321,
Please send them to niranda.gunaratna@gmail.com
Thank you, Niranda
Hi Does BookingTravelerRef in SearchPassenger need to set by our shelf or it is reference to some key in LowFareSearchRsp xml which we have to use as BookingTravelerRef while sending AirPriceReq ?
Thank you Rajesh
Also i would like to know is ClassOfService in AirPriceReq is optional since i didn't find this segment in my 'LowFareSearchRsp'.
Thank you Rajesh
Hi rajeshtandukar,
The BookingTravalerRef can be used as any number of alphanumic string. After Pricing, in the pricing response you will receive the UAPI generated BookingTravelerRef and that can be used for Booking.
Regarding ClassOfService, it is the same as BookingCode in LowFareSearchResponse. For a particular segment, we can use the BookingCode value as ClassOfService in AirPriceReq. Even if you don't use it, in AirPriceRsp you will receive the correct ClassOfService.
Please let us know how it goes. Thanks.
Hi vivekjyotipramanik,
I didn't get BookingTravalerRef in my AirPriceRsp.
AirPrice request xml <?xml version="1.0"?>
Hi rajeshtandukar,
Could you please confirm if you meant, BookingTravelerReef is not coming back in OptionalServices. Thanks.
Hi vivekjyotipramanik, Yes even i didn't get OptionalService.
Hi rajeshtandukar,
Optional service depends on the flight, Some AirSegment might return the optional service and some might not have any optional service. it is quite common and valid to not receive Optional Service in the AirPriceRsp. I can see there is a warning in your response saying, "No Merchandising optional services returned for Flight(s) [AI][216]". So, this AirSegment does not have any optional service. Could you please check with a different flight/AirSegment. Please let us know how it goes. Thanks.
Hi vivekjyotipramanik,
Ok i got it, but the problem is when i request for AirCreateReservationReq i need 'BookingTravelerRef' as value for 'Key' attribute in
<BookingTraveler xmlns="http://www.travelport.com/schema/common_v41_0" Key="'................. " TravelerType="ADT" Age="40" DOB="1977-06-11" Gender="M" Nationality="US">
and in
<DeliveryInfo>
<ShippingAddress Key="......... '">
<Street>Via Augusta 59 5</Street>
<City>Madrid</City>
<State>IA</State>
<PostalCode>50156</PostalCode>
<Country>US</Country>
</ShippingAddress>
</DeliveryInfo>
so how these can be manage?
Regards, Rajesh
Also, BookingTravelerRef is required for multiple passengers in PassengerType in AirCreateReservationReq.
<PassengerType Code="ADT" BookingTravelerRef="?????"/>
<PassengerType Code="CNN" BookingTravelerRef="?????/>
Regards, Rajesh
Hi vivekjyotipramanik,
As BookingTravelerRef as key of BookingTraveler segment, i define unique key fro each passenger and assign accordingly to BookingTravelerRef in
Now it is working. Is this correct, or still BookingTravelerRef should be from AirPriceResponse? If i am correct, then problem is solved.
One more question regarding FormOfPayment, since we are using our local payment gateways, does this segment nee to be set?
Thank you Rajesh
Hi rajeshtandukar,
Regarding payment Gateway question, Please raise an ORS ticket. We need to use Cash in case you are using your local payment gateway, but it needs to be setup in BSP. As this is a business related question, please raise ORS or contact your account manager. Thanks.
:disappointed: The question about missing BookingTravelerRef's in AirPriceRsp is left unanswered.
I'm also have a problem with that, but on v45.
Interesting part is that almost all my requests are working, but if AirPricingRsp returns air:OptionalService with <common_v45_0:ServiceData BookingTravelerRef="*******">
in it, then i geting errors in CreateReservationRsp.
It happens because i use my own bookingTraveler Keys and Ref's which i put in AirPriceReq and in CreateReservationReq but in OptionalServices they are different. I didn't noticed them before and everything worked just fine, but then they appeared and caused "Key reference not found for BookingTraveler with key reference FGZuLb7Q2BKAKjbSAAAAAA== inside OptionalServiceData"
error.
What is BookingTravelerRef or key in SearchPassenger ? I'm working with php code and when i tried this xml <?xml version="1.0"?>