All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Description of alert statuses(eventcode)
PostPosted: Mon Nov 07, 2016 10:14 am 
Offline
dimarymar - FlightAware user avatar

Joined: Tue Aug 09, 2016 5:52 pm
Posts: 16
Please, can you give more detailed description for eventcode tag?

eventcode -- Indicates the type of event that has triggered this notification. May have one of the following values: (required)
filed -- details about an upcoming flight have been received (generally 1-2 hours before departure)
departure -- flight has departed from the origin (runway wheels-up or gate block-off)
arrival -- flight has arrived at destination (runway wheels-down or gate block-on)
cancelled -- flight has been cancelled prior to departure.
minutes_out -- flight is several minutes (usually 30-45 minutes) from its destination.
diverted -- flight has been diverted to another airport. To retrieve the new flight details, call FlightInfoEx to access the new flight by faFlightID or ident.
change -- some aspect of the flight plan has been modified, such as a departure time delay or a gate change.

Which of status is for delay?


Top
 Profile  
 
 Post subject: Re: Description of alert statuses(eventcode)
PostPosted: Mon Nov 07, 2016 6:23 pm 
Offline
FlightAware Staff
bovineone - FlightAware user avatar

Joined: Wed Jul 27, 2005 3:00 am
Posts: 1423
Location: FlightAware WHQ
"change" is what you are looking for


Top
 Profile  
 
 Post subject: Re: Description of alert statuses(eventcode)
PostPosted: Tue Nov 15, 2016 6:11 am 
Offline
dimarymar - FlightAware user avatar

Joined: Tue Aug 09, 2016 5:52 pm
Posts: 16
And when I register alert by SetAlert and specify channels. Which of them I need for delay(change) status?

In documentation there is only: e_filed e_departure e_arrival e_diverted e_cancelled. Which status will be good for delay info?


Top
 Profile  
 
 Post subject: Re: Description of alert statuses(eventcode)
PostPosted: Tue Nov 15, 2016 12:32 pm 
Offline
FlightAware Staff
bovineone - FlightAware user avatar

Joined: Wed Jul 27, 2005 3:00 am
Posts: 1423
Location: FlightAware WHQ
You would need to request at least "e_filed e_departure e_arrival" since those will include the flight times and any changes to those times. The resulting event types you would receive are "filed", "departed", "arrived", and "change".


Top
 Profile  
 
 Post subject: Re: Description of alert statuses(eventcode)
PostPosted: Fri Nov 18, 2016 10:26 am 
Offline
dimarymar - FlightAware user avatar

Joined: Tue Aug 09, 2016 5:52 pm
Posts: 16
Thank you very much


Top
 Profile  
 
 Post subject: Re: Description of alert statuses(eventcode)
PostPosted: Mon Feb 20, 2017 6:59 am 
Offline
dimarymar - FlightAware user avatar

Joined: Tue Aug 09, 2016 5:52 pm
Posts: 16
Hello, @bovineone!

Please, can you tell me, when I receive alert with eventcode change and in flight list what actuaaly time I need for delay. In other words, filed_departuretime is new scheduled time for flight(inclusive delay)?


Top
 Profile  
 
 Post subject: Re: Description of alert statuses(eventcode)
PostPosted: Mon Feb 20, 2017 1:58 pm 
Offline
FlightAware Staff
bovineone - FlightAware user avatar

Joined: Wed Jul 27, 2005 3:00 am
Posts: 1423
Location: FlightAware WHQ
You will want to look at the estimatedarrivaltime for an enroute flight (compared to the original arrival time, which can be computed from "filed_departuretime + filed_ete") to determine the amount of the delay.


Top
 Profile  
 
 Post subject: Re: Description of alert statuses(eventcode)
PostPosted: Tue Feb 21, 2017 7:46 am 
Offline
dimarymar - FlightAware user avatar

Joined: Tue Aug 09, 2016 5:52 pm
Posts: 16
Thank you very much, @bovineone!

And another one question please. All this times and dates in UTC timezone, right?


Top
 Profile  
 
 Post subject: Re: Description of alert statuses(eventcode)
PostPosted: Tue Feb 21, 2017 7:57 am 
Offline
dimarymar - FlightAware user avatar

Joined: Tue Aug 09, 2016 5:52 pm
Posts: 16
bovineone wrote:
You will want to look at the estimatedarrivaltime for an enroute flight (compared to the original arrival time, which can be computed from "filed_departuretime + filed_ete") to determine the amount of the delay.


As I understand, delays can be for an enroute flight for arrival and for near flight for departure, right?

And if so, I've must calculate for departure like in your example above for arrival.


Top
 Profile  
 
 Post subject: Re: Description of alert statuses(eventcode)
PostPosted: Wed Feb 22, 2017 8:34 am 
Offline
dimarymar - FlightAware user avatar

Joined: Tue Aug 09, 2016 5:52 pm
Posts: 16
In FlightInfoEx can I calculate delay for near flights?


Last edited by dimarymar on Wed Feb 22, 2017 8:37 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Description of alert statuses(eventcode)
PostPosted: Wed Feb 22, 2017 8:36 am 
Offline
dimarymar - FlightAware user avatar

Joined: Tue Aug 09, 2016 5:52 pm
Posts: 16
Hey, @bovineone!
I think, i need your advice. My task is about flight delays. As I understand, for this I can use FlightInfoEx or Alerts. They both gives delay info for apper and enroute flights? And please, remind me, how its calculate in FlightInfoEx?
Sincerely,
Dima


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to: