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

C# LowFareSearch Response: Connecting Flights #613

Open Bhacz022 opened 5 years ago

Bhacz022 commented 5 years ago

Hi,

I am trying to develop a C# program that consumes the Travelport uAPI. I am using the 18.3.0.39 schema version and the air_v46_0. I am able to get the response. How will I know in C# the connecting flights?

Thank you.

vivekjyotipramanik commented 5 years ago

Hi Bhacz022,

Please find below the with the details about Connection Logic and how the connection flights works. Thanks.

https://support.travelport.com/webhelp/uapi/uAPI.htm#Air/Shared_Air_Topics/AirSegmentConnectionLogic.htm%3FTocPath%3DAir%7CAir%2520Shopping%2520and%2520Booking%7CAssociated%2520Topics%7C_____7

Bhacz022 commented 5 years ago

Hi vivekjyotipramanik,

Really appreciate your response. The Connection SegmentIndex can be found on the AirPricePoint like below

_

MNL BR X/TPE BR SIN 204.75YLOWPH/SC25 NUC204.75END ROE1.0 0.00 PHP2629.0 _ Is this where I look to see connecting flights? Also, here is my assumption in the AirLowFareSearch response: - FlightDetails have a corresponding AirSegment via FlightDetails key. - AirSegments are used in AirPricePoint via AirSegment key. - AirSegments can be used multiple times in AirPricePoint. - AirPricePoint groups connecting flights in FlightOption. - AirPricePoint can have multiple FlightOption, meaning Flights that are of the same Airline or Price, and can be of different departure times. Thank you.