Closed socialimpulse closed 8 years ago
Hi socialimpulse,
Please find below the link which lists all the minimum data required to complete the AirBooking Request. Please let me know how it goes. Thanks.
Thanks & Regards Vivekjyoti Pramanik
Thanks for the link, however it says the minimum data is:
But when I try to book it says:
{"[Error] :1:1129: cvc-complex-type.4: Attribute 'Key' must appear on element 'AirPricingSolution'."}
It is possible for you to send me a XML for the minimum working XML?
Thanks in advance.
Hi socialimpulse,
Please find below the complete end to end sample with Minimum required data. Please let me know how it goes. Thanks.
Thanks & Regards Vivekjyoti Pramanik
Hello,
Now I am getting the following error message:
{"Message From Galileo : Uncaught Service Exception cause:com.cendant.tds.soa.framework.ServiceException: Exception ReturnedERR: AGENT ID - GALILEOWith the Dynamic GTID list of:A8063A "}
Please advice.
Hi socialimpulse,
Looks like the Username and password you are using is expired. Could you please request for another set of credentials from the Travelport Request test access page. Please let me know how it goes. Thanks.
Thanks & Regards Vivekjyoti Pramanik
Hello There,
I can search flights with no problem, so I guess our credentials are fine.
Any other clue?
Best,
Hi socialimpulse,
Could you please provide the username and targetBranch and we will check if there is any other problems. Thanks.
Thanks & Regards Vivekjyoti Pramanik
Yes,
Username: Universal API/uAPI3822204452-7f2d220c Branch: P7058001
Best,
Hi socialimpulse,
We have rebuilt the sign on. Could you please try again. Please let me know how it goes. Thanks.
Thanks & Regards Vivekjyoti Pramanik
It worked :-) Thank you so much.
Hello There,
Can you please help finding out why the AirPricingInfo is being null.
Check this Record: "06N33D"
Please advice.
Hi socialimpulse,
Could you please provide the XML request and response. This will greatly help us analyze the problem. Thanks.
Thanks & Regards Vivekjyoti Pramanik
Thanks! Please advice.
Request:
"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AirCreateReservationReq xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" TraceId=\"123\" AuthorizedBy=\"booktofly\" TargetBranch=\"P7058001\" RetainReservation=\"Both\">\r\n <BillingPointOfSaleInfo OriginApplication=\"BookToFly\" xmlns=\"http://www.travelport.com/schema/common_v38_0\" />\r\n <BookingTraveler Key=\"1\" TravelerType=\"ADT\" Gender=\"M\" Nationality=\"US\" xmlns=\"http://www.travelport.com/schema/common_v38_0\">\r\n <BookingTravelerName Prefix=\"Mr\" First=\"Juan\" Last=\"Viana\" />\r\n
Response:
"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AirCreateReservationRsp xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" TraceId=\"123\" TransactionId=\"676A2B810A07643BCA5A9ED6F8C73B18\" ResponseTime=\"2857\">\r\n <UniversalRecord LocatorCode=\"P59GCN\" Version=\"0\" Status=\"Active\" xmlns=\"http://www.travelport.com/schema/universal_v38_0\">\r\n <BookingTraveler Key=\"AxjYoLxxQv+mu26acNxTlA==\" TravelerType=\"ADT\" Gender=\"M\" ElStat=\"A\" xmlns=\"http://www.travelport.com/schema/common_v38_0\">\r\n <BookingTravelerName Prefix=\"Mr\" First=\"Juan\" Last=\"Viana\" />\r\n
Hi socialimpulse,
The request is missing the AirPriceInfo, that is why uAPI could not store the fare. Could you please add AirPriceInfo in the request. The AirPriceInfo would be found from the AirPricingResponse. Please let me know how it goes. Thanks.
Thanks & Regards Vivekjyoti Pramanik
Hello there,
Do I have to send the complete AirpriceInfo Object?
We think is too much data, and the system should work with the Airpriceinfo key.
Is any other way to make it work just sending the key?
Please advice.
Hi socialimpulse,
I can see from the response as well, there is an element AirSolutionChangedInfo.
The AirSolutionChangedInfo element is returned if there is a change in schedule between the booking request and the stored fare and schedule. It contains a reason code that shows what is different (e.g.,
AirSolutionChangedInfo/AirPricingSolution previously also displayed the Total/Base Price and Taxes as part of the Air Pricing Solution when a price change occurred during an Air booking or modification of the Universal Record. Now, no price attributes are shown in the Air Pricing Solution when the price changes.
In Release 15.2 (Air v32.0) and earlier, schedule changes were returned based only on changes in the departure time of the flight. As of Release 15.3 (Air v33.0), changes to either the departure time or the arrival time return AirSolutionChangedInfo data. Release 15.3
For Galileo (1G), Apollo (1V), Worldspan (1P), and Axess (1J), the presence of data in AirSolutionChangedInfo can be affected by the value of @RetainReservation in the booking request. ACH does not support @RetainReservation; after a successful booking request, the reservation is always retained, regardless of price or schedule changes.
That might be the reason as well for the AirPricingInfo to come back as blank.
I will check and provide an update on this. Thanks.
Thanks & Regards Vivekjyoti Pramanik
Thanks I will be standing by.
Best,
Hello Vivekjyoti,
I am sending you now the Airpricing info, but I'm getting the following error message:
{"BookingInfo is required to identify segments for which fare applies"}
Please find enclosed the request.
Best, RequestTravelport.txt
Sorry for too many posts but after sending the booking info now I am getting the following error message:
"Key reference not found for Fare with key reference +IJVO70+QXeeAEk7VMtWIg== inside Booking"
Best,
Hello Vivekjyoti,
We think is too difficult to send over the booking request all the data gathered in the availability response.
With the cabin, class of service and farekey should be enough.
Please let us know if this is at all possible.
Best,
Hi socialimpulse,
Could you please confirm which programming language you are using. I believe it would be great if you could follow the sample and it will provide you more details about what you are missing.
The issues you are getting are mostly because the Key references are mismatching or missing completely. Please let me know the programming language you are using and we might be able to provide a running and working sample. Thanks.
Thanks & Regards Vivekjyoti Pramanik
Hello Vivekjyoti,
Its working already, my problem was I was not using the Air Price function before booking to get all air pricing info details.
Thanks for your help.
Hello,
Could you please let me know and send me an example of the minimum data required for creating a booking on Galileo with AirCreateReservation.
I just want to send the minimum data.
Please advice.