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 book and pay hotel and flight simultaniously. #187

Open manishkumarpatel opened 7 years ago

manishkumarpatel commented 7 years ago

How to book and pay hotel and flight simultaniously. Like http://www.opodo.fr/?mktportal=googlebrand&gclid=CKDwgfqtm9ACFasK0wodkbABTg

vivekjyotipramanik commented 7 years ago

Hi manishkumarpatel,

First of all, Please do not compare a website with an API. API works in the backend and we can create an website with an API. Both are completely different things.

We can book a Hotel and Flight simultaneously if you send the HotelCreateReservationReq and AirCreateReservationReq request simultaneously. This is nothing to do with Universal API and how you will consume the UAPI and code accordingly. But this will create two different UniversalRecordLocatorCode. If you want it as part of one UniversalRecordLocatorCode you would not be able to do it simultaneously. Thanks.

Thanks & Regards Vivekjyoti Pramanik