We are trying to read schedule information for the airport EDLV (IATA: NRN) via FlightXML, but do not receive any results although I can see flights on the FlightAware website for this airport: de.flightaware.com/live/airport/EDLV .
Other airports we request (DUS, CGN, LGG, MST) work just fine.
Anyone else with this problem?
I tried the Scheduled and Enroute calls and they work for me. Are you using similar calls and the icao codes for airports?
https://flightxml.flightaware.com/json/FlightXML2/Enroute?airport=EDLV&howMany=5
{"EnrouteResult":{"next_offset":5,"enroute":{"ident":"RYR1951","aircrafttype":"B738","actualdeparturetime":1460638159,"estimatedarrivaltime":1460643300,"filed_departuretime":1460637600,"origin":"ESKN","destination":"EDLV","originName":"Stockholm-Skavsta","originCity":"Stockholm/Skavsta","destinationName":"Weeze","destinationCity":"Weeze"},{"ident":"RYR4305","aircrafttype":"B738","actualdeparturetime":0,"estimatedarrivaltime":1460647200,"filed_departuretime":1460641500,"origin":"LIPE","destination":"EDLV","originName":"Bologna (Guglielmo Marconi)","originCity":"Bologna","destinationName":"Weeze","destinationCity":"Weeze"},{"ident":"RYR8603","aircrafttype":"B738","actualdeparturetime":0,"estimatedarrivaltime":1460658300,"filed_departuretime":1460649600,"origin":"LEVC","destination":"EDLV","originName":"Valencia","originCity":"Valencia / Manises / Costa del Azahar","destinationName":"Weeze","destinationCity":"Weeze"},{"ident":"RYR5488","aircrafttype":"B738","actualdeparturetime":0,"estimatedarrivaltime":1460666100,"filed_departuretime":1460657400,"origin":"LPPR","destination":"EDLV","originName":"Porto / Oporto","originCity":"Francisco Sa Carneiro Int.","destinationName":"Weeze","destinationCity":"Weeze"},{"ident":"RYR6213","aircrafttype":"B738","actualdeparturetime":0,"estimatedarrivaltime":1460666700,"filed_departuretime":1460657700,"origin":"LEAL","destination":"EDLV","originName":"Alicante","originCity":"Alicante / Benidorm / Costa Blanca","destinationName":"Weeze","destinationCity":"Weeze"}]}}
https://flightxml.flightaware.com/json/FlightXML2/Scheduled?airport=EDLV&howMany=5
{"ScheduledResult":{"next_offset":5,"scheduled":{"ident":"RYR8612","aircrafttype":"B738","filed_departuretime":1460644200,"estimatedarrivaltime":1460654400,"origin":"EDLV","destination":"LEMG","originName":"Weeze","originCity":"Weeze","destinationName":"Malaga","destinationCity":"Malaga"},{"ident":"RYR5714","aircrafttype":"B738","filed_departuretime":1460645400,"estimatedarrivaltime":1460654700,"origin":"EDLV","destination":"LGTS","originName":"Weeze","originCity":"Weeze","destinationName":"Thessaloniki Int'l, Makedonia","destinationCity":"Thessaloniki"},{"ident":"RYR6212","aircrafttype":"B738","filed_departuretime":1460646000,"estimatedarrivaltime":1460655000,"origin":"EDLV","destination":"LEAL","originName":"Weeze","originCity":"Weeze","destinationName":"Alicante","destinationCity":"Alicante / Benidorm / Costa Blanca"},{"ident":"RYR5489","aircrafttype":"B738","filed_departuretime":1460646300,"estimatedarrivaltime":1460655300,"origin":"EDLV","destination":"LPPR","originName":"Weeze","originCity":"Weeze","destinationName":"Porto / Oporto","destinationCity":"Francisco Sa Carneiro Int."},{"ident":"RYR6216","aircrafttype":"B738","filed_departuretime":1460648100,"estimatedarrivaltime":1460655900,"origin":"EDLV","destination":"LEPA","originName":"Weeze","originCity":"Weeze","destinationName":"Palma de Mallorca (or Son Sant Joan)","destinationCity":"Palma de Mallorca"}]}}
Sadly, we still have problems, maybe it is restricted to AirlineFlightSchedules?
This is from our logs:
2016-04-18 02:02:29,644 INFO [stdout] (EJB default - 4) ---> HTTP GET https://flightxml.flightaware.com/json/FlightXML2/AirlineFlightSchedules?offset=0&endDate=1461621599&destination=EDLV&howMany=100&startDate=1461535200
2016-04-18 02:02:29,644 INFO [stdout] (EJB default - 4) Accept: application/json
2016-04-18 02:02:29,644 INFO [stdout] (EJB default - 4) ---> END HTTP (no body)
2016-04-18 02:02:30,957 INFO [stdout] (EJB default - 4) <--- HTTP 200 https://flightxml.flightaware.com/json/FlightXML2/AirlineFlightSchedules?offset=0&endDate=1461621599&destination=EDLV&howMany=100&startDate=1461535200 (1312ms)
2016-04-18 02:02:30,957 INFO [stdout] (EJB default - 4) Server: nginx/1.6.2
2016-04-18 02:02:30,957 INFO [stdout] (EJB default - 4) Date: Mon, 18 Apr 2016 00:02:30 GMT
2016-04-18 02:02:30,957 INFO [stdout] (EJB default - 4) Content-Type: application/json; charset=UTF-8
2016-04-18 02:02:30,957 INFO [stdout] (EJB default - 4) Connection: keep-alive
2016-04-18 02:02:30,958 INFO [stdout] (EJB default - 4) Access-Control-Allow-Credentials: true
2016-04-18 02:02:30,958 INFO [stdout] (EJB default - 4) Access-Control-Allow-Methods: POST, GET
2016-04-18 02:02:30,958 INFO [stdout] (EJB default - 4) Access-Control-Allow-Origin: *
2016-04-18 02:02:30,958 INFO [stdout] (EJB default - 4) Access-Control-Max-Age: 1728000
2016-04-18 02:02:30,958 INFO [stdout] (EJB default - 4) Vary: Accept-Encoding
2016-04-18 02:02:30,958 INFO [stdout] (EJB default - 4) Accept-Ranges: bytes
2016-04-18 02:02:30,958 INFO [stdout] (EJB default - 4) X-Varnish: 3157777405
2016-04-18 02:02:30,958 INFO [stdout] (EJB default - 4) Age: 0
2016-04-18 02:02:30,958 INFO [stdout] (EJB default - 4) Via: 1.1 varnish
2016-04-18 02:02:30,958 INFO [stdout] (EJB default - 4) X-FA-Cache: MISS
2016-04-18 02:02:30,958 INFO [stdout] (EJB default - 4) OkHttp-Selected-Protocol: http/1.1
2016-04-18 02:02:30,958 INFO [stdout] (EJB default - 4) OkHttp-Sent-Millis: 1460937749644
2016-04-18 02:02:30,958 INFO [stdout] (EJB default - 4) OkHttp-Received-Millis: 1460937750957
2016-04-18 02:02:30,959 INFO [stdout] (EJB default - 4)
2016-04-18 02:02:30,959 INFO [stdout] (EJB default - 4) {"AirlineFlightSchedulesResult":{"next_offset":-1,"data":]}}
2016-04-18 02:02:30,959 INFO [stdout] (EJB default - 4)
2016-04-18 02:02:30,959 INFO [stdout] (EJB default - 4) <--- END HTTP (62-byte body)
Hi,
I assumed you were using other functions. With AirlineFlightSchedules you should use the IATA code for now. I tested that is works with:
https://flightxml.flightaware.com/json/FlightXML2/AirlineFlightSchedules?offset=0&startDate=1461535200&endDate=1461621599&destination=NRN&howMany=100
We are looking into why ICAO is not accepted for this airport in the meantime.
The problem seems fixed now and you can use ICAO codes for AirlineFlightSchedules , eg. destination=EDLV.