Travelport / travelport-uapi-tutorial-php

The travelport-uapi-tutorial-php is a PHP project for Universal API that will help you connect and code a standard workflow including Air, Vehicle, and Hotel.
35 stars 47 forks source link

Clarification Needed on Linking Flight Details, Air Segments, Fare Information, and Air Price Points in LowFareSearchResponse #271

Open Pdk3Dragon opened 10 months ago

Pdk3Dragon commented 10 months ago

I am currently working on integrating the Travelport API, specifically the LowFareSearchResponse, into my project. I have successfully converted the API response from XML to JSON for better handling. However, I am facing challenges in understanding the relationship between certain key elements in the response.

In particular, I am looking for guidance on how to properly link the following elements:

**1. FlightDetailsList

  1. AirSegmentList
  2. FareInfoList
  3. AirPricePointList**

I have thoroughly reviewed the API documentation, but I couldn't find explicit information on how these elements are related or how their data should be correlated.

To provide more context, I have attached both the original XML response and the corresponding JSON representation for your reference.

XML: LowFareSearchRsp.txt JSON: LowFareSearchRsp.json

I would greatly appreciate any insights or guidance you can provide on how to establish the connections between FlightDetailsList, AirSegmentList, FareInfoList, and AirPricePointList. Understanding this relationship is crucial for processing and displaying accurate flight information within our application.

Thank you in advance for your assistance. I am eager to resolve this matter and continue integrating the Travelport API seamlessly into our project.

Best regards, Althaf