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

Does the travelport API contains an update option for the ticket? #83

Open jadchahine opened 8 years ago

jadchahine commented 8 years ago

Hi All,

I would like to ask you if there is an option in the travelport API that let the user update an existing ticket? eg: The client choose a flight (reserve) then get the ticket, at this time he want to update the ticket, can we update the existing ticket using the API directly?

Thanks&Regards

NirandaG commented 8 years ago

Hi JadChahine,

One a booking has been made, the universal record contains all the data related to the booking file. Universal record can be modified to add/update or delete booked air segments using UniversalRecordModify request. Please have a look on the below help which will give you the broad idea of modifying segments. https://support.travelport.com/webhelp/uapi/uAPI.htm#Booking/Modify/Modifying_Air_Bookings.htm%3FTocPath%3DAir%7CAir%2520Shopping%2520and%2520Booking%7CAir%2520Booking%7C_____3 Please let me know if you need further assistance. Thank you, B.Rgds, Niranda

jadchahine commented 8 years ago

Hi NirandaG,

Thank you for your response. But can I update an existing booking after the payment? So if the client reserve a flight/hotel room and he do a payment, can he update this booking after payment?

Thanks&Regards

NirandaG commented 8 years ago

Hi JadChahine,

Payment needs to be done before the ticket is issued and that needs to be decided by you when is the payment needs to be done. Depending on the business logic this has to be considered. Once a booking has been made, it can be modified using the UniversalRecordModify request.

Best approach would be, once the booking is made if any changes can be done. Following that customer confirms and issues the ticket and prior to that Pricing needs to be done again to ensure the price is guaranteed for the itinerary. Once the price is confirmed payment should be taken and ticket could be issued at this stage.

Hope this helps. Thank you, Niranda

jadchahine commented 8 years ago

Hi NirandaG,

So we cannot update the booking after the payment?

Thanks

vivekjyotipramanik commented 8 years ago

Hi Jad,

We can check the ExcahngeBooking option if that works for you. Please find below the link with the details. Please let me know how it goes. Thanks.

https://support.travelport.com/webhelp/uapi/uAPI.htm#Air/Air_Booking/Air_Refunds_and_Exchanges/Exchanging_Air_Bookings.htm%3FTocPath%3DAir%7CAutomated%2520Exchanges%7C_____3

Thanks & Regards Vivekjyoti Pramanik