I want to create an alert for a specific flight 15 days before its departure.
As a continue of my discussion faFlightId is a dynamic value and as far as I understood there is high probability that there is no such faFlightId 15days before.
What would be a best strategy to create an alert for a particular flight in this case when there are no faFlightIds?
Let’s say my identifier
AFL2578
My departure time
1529884800 (06/25/2018 @ 12:00am (UTC))
According to the docs:
http://username:token@flightxml.flightaware.com/json/FlightXML2/SetAlert?ident=AFL2578&date_start=1529884800&channels="{16 e_departure e_arrival}" and then when POST request from flightAware comes - I will compare departureTime from scheduled flight and filed_departuretime from push ?
or filed_time or actualdeparturetime?
I think this approach can be broken when there are huge delays for flights… For a daily flight, one day delay could lead to a situation, when we have 2 flights with a tiny difference between actualdeparturetime values
