FlightInfoEx JSON example


#1

Hi there!

I have an idea/request for the current API documentation - would it be possible to list example JSON (for REST) and XML (for WSDL/SOAP) results for each API call? This would help a lot in testing and initial development without having to make the API call.

For my immediate use, is there an example JSON payload for FlightInfoEx?

Thanks!


#2

https://flightxml.flightaware.com/json/FlightXML2/FlightInfoEx?ident=UAL5&howMany=3

returns this JSON:


{"FlightInfoExResult":{"next_offset":3,"flights":{"faFlightID":"UAL5-1428237600-schedule-0123","ident":"UAL5","aircrafttype":"B788","filed_ete":"09:22:00","filed_time":1428237600,"filed_departuretime":1428410400,"filed_airspeed_kts":407,"filed_airspeed_mach":"","filed_altitude":0,"route":"MSS GOATR FLM SQS AEX DOOBI2","actualdeparturetime":0,"estimatedarrivaltime":1428444728,"actualarrivaltime":0,"diverted":"","origin":"EGLL","destination":"KIAH","originName":"London Heathrow","originCity":"London, England","destinationName":"Houston Bush Int'ctl","destinationCity":"Houston, TX"},{"faFlightID":"UAL5-1427892000-schedule-0053","ident":"UAL5","aircrafttype":"B788","filed_ete":"10:00:00","filed_time":1427892000,"filed_departuretime":1428064800,"filed_airspeed_kts":407,"filed_airspeed_mach":"","filed_altitude":0,"route":"SSM PNT LIT J180 SWB WHACK2","actualdeparturetime":1428065667,"estimatedarrivaltime":1428101640,"actualarrivaltime":1428101640,"diverted":"","origin":"EGLL","destination":"KIAH","originName":"London Heathrow","originCity":"London, England","destinationName":"Houston Bush Int'ctl","destinationCity":"Houston, TX"},{"faFlightID":"UAL5-1427805600-schedule-0186","ident":"UAL5","aircrafttype":"B788","filed_ete":"09:42:00","filed_time":1427805600,"filed_departuretime":1427978400,"filed_airspeed_kts":407,"filed_airspeed_mach":"","filed_altitude":0,"route":"SSM PNT LIT J180 SWB WHACK2","actualdeparturetime":1427979395,"estimatedarrivaltime":1428013980,"actualarrivaltime":1428014113,"diverted":"","origin":"EGLL","destination":"KIAH","originName":"London Heathrow","originCity":"London, England","destinationName":"Houston Bush Int'ctl","destinationCity":"Houston, TX"}]}}