Ashwani
Ashwani

Reputation: 1

Having problem in Amadeus flight search time zone and flight duration looking for API

Facing problem when fetching amadeus flight search api. When fetching flights details for two different timezone unable to see "Flight Duration" in the response we are receving. Got confused weather we can get flight duration in the API response or we should have to calculate it manually

Upvotes: 0

Views: 656

Answers (2)

Christina
Christina

Reputation: 131

Fare_MasterPricerTravelboardSearch reply also contains information about an itinerary travel duration.

You may find it in groupOfFlights/propFlightGrDetail/flightProposal node where unitQualifier equals to EFT (Elapsed Flying Time).

Please note, that this is a total time for all legs of the itinerary.

Upvotes: 1

giladteller
giladteller

Reputation: 76

Try calling Air_FlightInfo. You can find the flight duration in: Air_FlightInfoReply -> flightScheduleDetails -> boardPointAndOffPointDetails -> additionalProductDetails -> legDetails -> duration It will be in the format hhmm.

Upvotes: 0

Related Questions