Get alerted when a flight is delayed

You can use the RegisterAlertEndpoint and SetAlert functions to subscribe to the flight that you are interested in.

flightxml.flightaware.com/soap/F … rtEndpoint
flightxml.flightaware.com/soap/F … p_SetAlert

The endpoint that you register will be invoked with a POST operation by our server at the appropriate time. The contents of the POST body is a JSON document that contains various information about the event and the flight. An example of what the JSON message looks like is in flightxml/pushed-delivery-of-flightxml-requests-now-available-t13788.html

When you subscribe to “e_departure” event types, you will receive notification on the actual departure, and also any notifications of delays that might occur prior to actual departure. For delay notifications, the “eventcode” field in the JSON will be “change” and the “short_desc” will be something like this:

"American Airlines #51 flight information has changed Departure Time is now Sat 11-Feb-2012 10:40AM GMT Arrival Time is now Sat 11-Feb-2012 08:15PM GMT "

At this time, channel ID should always be specified as 16. This means that your “channels” string will always look like “{16 xxxxx}” with the xxxxx being variable depending on what event types you want to subscribe to.

There are no limits to the number of alerts you may subscribe to or receive, however you will be charged a class 2 query each time the delivery of one is attempted by our server.