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

Round-Trip flight prices (departure and return flights prices must be different) #616

Open rafaelggafonso opened 5 years ago

rafaelggafonso commented 5 years ago

Hi @vivekjyotipramanik it´s me Rafael Afonso from Linkedin. Kindly help my team.

1 - We have to fix the round trip price for when we display departure and return trip prices at the same time. Right now, we are simply dividing the total price per person by two. This is not the correct way to do it.

We are using the below redmarked information for flight Price [ Below xml is part of LowFareSearchRsp.xml ].

LIS LH X/FRA LH LAD 1055.01BFFPT SN X/BRU SN X/MUC TP LIS 54.20LLRCPT NUC1109.21END ROE0.876291 GBP115.00 0.00
vivekjyotipramanik commented 5 years ago

Hi rafaelggafonso,

For AirPrice, I would highly recommend to always run AirPriceReq to get the exact price for both oneway and rountrip itinerary. Please find below the link with the complete documentation and end to end flow. Thanks.

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

https://support.travelport.com/webhelp/uapi/uAPI.htm#Air/Air_Pricing/Air_Pricing.htm%3FTocPath%3DAir%7CAir%2520Shopping%2520and%2520Booking%7CAir%2520Pricing%7C_____0

https://support.travelport.com/webhelp/uapi/uAPI.htm#SampleWeb/Kelvin/Air-GDS-Overview.htm%3FTocPath%3DSamples%7CXML%2520Samples%2520%7CAir%2520Samples%7CAir%2520Samples%7CAir%2520Workflows%7CGDS%2520Workflows%2520(Apollo%252C%2520Galileo%252C%2520Worldspan)%7C_____0

Debendra986 commented 5 years ago

AirPriceReq

Can you give a example or any demo file for running AirPriceReq (we are working on php)? Now for air price we are depended on search result data.

rafaelggafonso commented 5 years ago

Hi @vivekjyotipramanik

Can you give a example or any demo file for running AirPriceReq (we are working on php)? Now for air price we are depended on search result data.

vivekjyotipramanik commented 5 years ago

Hi Debendra986,

We do not have any AirPrice sample on PHP readily available. We will start working on it, we would not be able to promise any date by which this will be available on github. We will provide an update once it is available in github. Thanks.