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

Questions about reservation #468

Open amassillo opened 6 years ago

amassillo commented 6 years ago

Good afternoon, I was wondering if: 1- it's always necessary to provide an airpricing solution in the air reserve request?. 2 - If so, is it necessary to provide the whole node returned by the air price service? or with a reference is it ok? 3 - What would be the reason I'm not getting air:AirPricingInfo in the response? might be the ticketing type? I'm not adding payment information in the request. 4 - if 3) is correct, does it mean the price for the booking is the same that I used in 1) ?

Thanks in advance for your valuable time

vivekjyotipramanik commented 6 years ago

Hi amassillo,

Please find below the details regarding your questions. Please let us know how it goes. Thanks.

1- it's always necessary to provide an airpricing solution in the air reserve request?.

Yes, It is always mandatory to provide AirPricingSolution for AirCreateReservationReq.

2 - If so, is it necessary to provide the whole node returned by the air price service? or with a reference is it ok?

Only the reference will not work, there are few mandatory elements/attributes as part of AirPricingSolution and those needs to be provided for Any AirPricingSolution. Please find below the link with the details.

https://support.travelport.com/webhelp/uapi/uAPI.htm#Air/Air_Booking/Create_Air_Booking/Creating_Air_Bookings.htm%3FTocPath%3DAir%7CAir%2520Shopping%2520and%2520Booking%7CAir%2520Booking%7CCreating%2520Air%2520Bookings%7C_____0

3 - What would be the reason I'm not getting air:AirPricingInfo in the response? might be the ticketing type? I'm not adding payment information in the request.

There are quite a few different reasons that the AirPricingInfo is not coming back in response, Like the SolutionChanged, ScheduledChanged or any other reason for which the system was unable to store the requested fare. Payment information is not mandatory for 1G,1V or 1P reservations. 

4 - if 3) is correct, does it mean the price for the booking is the same that I used in 1) ?

The price of the booking should be same as the Price received, but sometimes it is possible the schedule changed or the pricing changed.
amassillo commented 6 years ago

Thank you so much for your responses! I tried couple of solutions for 3) and in another thread I found PlatingCarrier needs to be set = null. After this fix I was able to get the price solution. Still good approach? safe?

Thanks in advance Ale

vivekjyotipramanik commented 6 years ago

Hi amassillo,

Yes, it is okay to remove PlatingCarrier attribute. Thanks.

amassillo commented 6 years ago

Thank you!! Sorry to bother you again, but until yesterday i was able to create bookings. Today I'm getting `

Server.Business Message From Galileo : Uncaught Service Exception cause:com.cendant.tds.soa.framework.ServiceException: Exception ReturnedERR: AGENT ID - GALILEOWith the Dynamic GTID list of:A805B9 3515 AIRSVC Business Unsuccessful primary host transaction causing reservation failure. 59A788710A07647714C72ECA3C4FE218 ` Is there any chance my credentials need the robotic sign on again? my username is: Universal API/uAPI3022033684-6372fc0e Thanks and best regards Ale
vivekjyotipramanik commented 6 years ago

Hi amassillo,

Could you please provide the username and targetBranch you are using. Thanks.

NirandaG commented 6 years ago

Hi amassillo, The Robotic SignOn was missing in your credentials and I have rebuilt it. Could you please try the transactions again and let us know if you still facing the same issue? Rgds, Niranda

amassillo commented 6 years ago

Thank you! it's working again :)