Going through the APIs the only mention of status that I see is (the cancelled boolean) in the
SearchBirdseyeInFlight
method and even testing that I can’t get the cancelled status to show correctly (when testing known cancelled flight). Is there a specific method I can call to get if a flight is delayed or cancelled?
The actualarrivaltime/actualdeparturetime/estimatedarrivaltime fields returned from FlightInfo/FlightInfoEx will be set to -1 when the flight has been cancelled.
If a flight is delayed, the estimatedarrivaltime will be different from the “filed arrival time” (calculated by adding filed_ete to filed_departuretime).
Estimated departure times are not available through FlightXML currently, however you can use the estimatedarrivaltime as a general indicator of delayed status even before the flight departs.
What does it mean if actualdeparturetime = actualarrivaltime AND actualdeparturetime > 0 AND actualarrivaltime < estimatedarrivaltime?
What kind of flight status does such a combination represent?
actualdeparturetime = actualarrivaltime AND actualdeparturetime > 0 indicates that it is “flight result unknown”, which usually occurs because we received an indication that the flight departed but we never received enough data to conclude that it actually arrived. This is usually due to incomplete data coverage at the destination, but can sometimes be a distressed aircraft.