Reputation: 1
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
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
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