FlightXML3/FlightInfoStatus for IBE6403 not returning accurate data (incompleted)

Hi,

We are using your API to follow flights, in this case IBE6403, and we noticed we got incomplete information.

Requesting https://flightxml.flightaware.com/json/FlightXML3/FlightInfoStatus?ident=IBE6403&howMany=15&include_ex_data=false as now, I obtain this result:

{
"FlightInfoStatusResult": {
    "next_offset": 15,
    "flights": [
        {
            "ident": "IBE6403",
            "faFlightID": "IBE6403-1527139550-airline-0033",
            "airline": "IBE",
            "airline_iata": "IB",
            "flightnumber": "6403",
            "type": "Form_Airline",
            "codeshares": "FIN5552",
            "blocked": false,
            "diverted": false,
            "cancelled": false,
            "origin": {
                "code": "LEMD",
                "city": "Madrid",
                "alternate_ident": "MAD",
                "airport_name": "Barajas Int'l"
            },
            "destination": {
                "code": "MMMX",
                "city": "Mexico City",
                "alternate_ident": "MEX",
                "airport_name": "Lic. Benito Juarez Int'l"
            },
            "filed_ete": 42300,
            "filed_airspeed_kts": 418,
            "distance_filed": 5639,
            "filed_departure_time": {
                "epoch": 1527333300,
                "tz": "CEST",
                "dow": "Saturday",
                "time": "13:15",
                "date": "05/26/2018",
                "localtime": 1527340500
            },
            "estimated_departure_time": {
                "epoch": 1527333300,
                "tz": "CEST",
                "dow": "Saturday",
                "time": "13:15",
                "date": "05/26/2018",
                "localtime": 1527340500
            },
            "actual_departure_time": {
                "epoch": 0
            },
            "departure_delay": 0,
            "filed_arrival_time": {
                "epoch": 1527375600,
                "tz": "CDT",
                "dow": "Saturday",
                "time": "18:00",
                "date": "05/26/2018",
                "localtime": 1527357600
            },
            "estimated_arrival_time": {
                "epoch": 1527375600,
                "tz": "CDT",
                "dow": "Saturday",
                "time": "18:00",
                "date": "05/26/2018",
                "localtime": 1527357600
            },
            "actual_arrival_time": {
                "epoch": 0
            },
            "arrival_delay": 0,
            "status": "Scheduled",
            "progress_percent": -1,
            "aircrafttype": "A345",
            "full_aircrafttype": "A345",
            "adhoc": false
        },
        {
            "ident": "IBE6403",
            "faFlightID": "IBE6403-1527053131-airline-0000",
            "airline": "IBE",
            "airline_iata": "IB",
            "flightnumber": "6403",
            "type": "Form_Airline",
            "codeshares": "FIN5552",
            "blocked": false,
            "diverted": false,
            "cancelled": false,
            "origin": {
                "code": "LEMD",
                "city": "Madrid",
                "alternate_ident": "MAD",
                "airport_name": "Barajas Int'l"
            },
            "destination": {
                "code": "MMMX",
                "city": "Mexico City",
                "alternate_ident": "MEX",
                "airport_name": "Lic. Benito Juarez Int'l"
            },
            "filed_ete": 42300,
            "filed_airspeed_kts": 418,
            "distance_filed": 5639,
            "filed_departure_time": {
                "epoch": 1527246900,
                "tz": "CEST",
                "dow": "Friday",
                "time": "13:15",
                "date": "05/25/2018",
                "localtime": 1527254100
            },
            "estimated_departure_time": {
                "epoch": 1527246900,
                "tz": "CEST",
                "dow": "Friday",
                "time": "13:15",
                "date": "05/25/2018",
                "localtime": 1527254100
            },
            "actual_departure_time": {
                "epoch": 0
            },
            "departure_delay": 0,
            "filed_arrival_time": {
                "epoch": 1527289200,
                "tz": "CDT",
                "dow": "Friday",
                "time": "18:00",
                "date": "05/25/2018",
                "localtime": 1527271200
            },
            "estimated_arrival_time": {
                "epoch": 1527289200,
                "tz": "CDT",
                "dow": "Friday",
                "time": "18:00",
                "date": "05/25/2018",
                "localtime": 1527271200
            },
            "actual_arrival_time": {
                "epoch": 0
            },
            "arrival_delay": 0,
            "status": "Scheduled",
            "progress_percent": -1,
            "aircrafttype": "A346",
            "full_aircrafttype": "A346",
            "adhoc": false
        },
        {
            "ident": "IBE6403",
            "faFlightID": "IBE6403-1526966766-airline-0029",
            "airline": "IBE",
            "airline_iata": "IB",
            "flightnumber": "6403",
            "type": "Form_Airline",
            "codeshares": "FIN5552",
            "blocked": false,
            "diverted": false,
            "cancelled": false,
            "origin": {
                "code": "LEMD",
                "city": "Madrid",
                "alternate_ident": "MAD",
                "airport_name": "Barajas Int'l"
            },
            "destination": {
                "code": "MMMX",
                "city": "Mexico City",
                "alternate_ident": "MEX",
                "airport_name": "Lic. Benito Juarez Int'l"
            },
            "filed_ete": 40920,
            "route": "RUDLI M330 MILLE ZQA BR49V FOWEE B646 MTH EYW CANOA UB646 XOPGI UR522 OMVOM UT31 PAZ UJ55 DATUL",
            "filed_altitude": 300,
            "display_filed_altitude": "30,000 feet",
            "filed_airspeed_kts": 470,
            "distance_filed": 5808,
            "filed_departure_time": {
                "epoch": 1527159900,
                "tz": "CEST",
                "dow": "Thursday",
                "time": "13:05",
                "date": "05/24/2018",
                "localtime": 1527167100
            },
            "estimated_departure_time": {
                "epoch": 1527160488,
                "tz": "CEST",
                "dow": "Thursday",
                "time": "13:14",
                "date": "05/24/2018",
                "localtime": 1527167688
            },
            "actual_departure_time": {
                "epoch": 0
            },
            "departure_delay": 588,
            "filed_arrival_time": {
                "epoch": 1527200820,
                "tz": "CDT",
                "dow": "Thursday",
                "time": "17:27",
                "date": "05/24/2018",
                "localtime": 1527182820
            },
            "estimated_arrival_time": {
                "epoch": 1527201435,
                "tz": "CDT",
                "dow": "Thursday",
                "time": "17:37",
                "date": "05/24/2018",
                "localtime": 1527183435
            },
            "actual_arrival_time": {
                "epoch": 0
            },
            "arrival_delay": 615,
            "status": "Scheduled",
            "progress_percent": -1,
            "aircrafttype": "A346",
            "full_aircrafttype": "A346",
            "adhoc": false
        },
        {
            "ident": "IBE6403",
            "faFlightID": "IBE6403-1527089425-ed-0003",
            "airline": "IBE",
            "airline_iata": "IB",
            "flightnumber": "6403",
            "tailnumber": "EC-IOB",
            "type": "Form_Airline",
            "blocked": false,
            "diverted": false,
            "cancelled": false,
            "origin": {
                "code": "LPLA",
                "city": "Terceira Island /Praia da Vitoria /Angra area",
                "alternate_ident": "TER",
                "airport_name": "Lajes Air Base Int."
            },
            "destination": {
                "code": "MMMX",
                "city": "Mexico City",
                "alternate_ident": "MEX",
                "airport_name": "Lic. Benito Juarez Int'l"
            },
            "distance_filed": 4438,
            "filed_departure_time": {
                "epoch": 1527095872,
                "tz": "+00",
                "dow": "Wednesday",
                "time": "17:17",
                "date": "05/23/2018",
                "localtime": 1527095872
            },
            "estimated_departure_time": {
                "epoch": 1527095872,
                "tz": "+00",
                "dow": "Wednesday",
                "time": "17:17",
                "date": "05/23/2018",
                "localtime": 1527095872
            },
            "actual_departure_time": {
                "epoch": 1527095872,
                "tz": "+00",
                "dow": "Wednesday",
                "time": "17:17",
                "date": "05/23/2018",
                "localtime": 1527095872
            },
            "departure_delay": 0,
            "filed_arrival_time": {
                "epoch": 0
            },
            "estimated_arrival_time": {
                "epoch": 1527128496,
                "tz": "CDT",
                "dow": "Wednesday",
                "time": "21:21",
                "date": "05/23/2018",
                "localtime": 1527110496
            },
            "actual_arrival_time": {
                "epoch": 1527128496,
                "tz": "CDT",
                "dow": "Wednesday",
                "time": "21:21",
                "date": "05/23/2018",
                "localtime": 1527110496
            },
            "status": "Arrived",
            "progress_percent": 100,
            "adhoc": false
        },
        {
            "ident": "IBE6403",
            "faFlightID": "IBE6403-1526880395-airline-0024",
            "airline": "IBE",
            "airline_iata": "IB",
            "flightnumber": "6403",
            "tailnumber": "EC-IOB",
            "type": "Form_Airline",
            "blocked": false,
            "diverted": false,
            "cancelled": false,
            "origin": {
                "code": "LEMD",
                "city": "Madrid",
                "alternate_ident": "MAD",
                "airport_name": "Barajas Int'l"
            },
            "destination": {
                "code": "LPLA",
                "city": "Terceira Island /Praia da Vitoria /Angra area",
                "alternate_ident": "TER",
                "airport_name": "Lajes Air Base Int."
            },
            "filed_ete": 41400,
            "route": "LFANO M595 MILLE ZQA R628 MENDL R628 TANIA UR628 UHA UR522 NAKRO UR522 OMVOM UT31 PAZ UJ55 DATUL",
            "filed_altitude": 310,
            "display_filed_altitude": "31,000 feet",
            "filed_airspeed_kts": 480,
            "distance_filed": 5823,
            "filed_departure_time": {
                "epoch": 1527073500,
                "tz": "CEST",
                "dow": "Wednesday",
                "time": "13:05",
                "date": "05/23/2018",
                "localtime": 1527080700
            },
            "estimated_departure_time": {
                "epoch": 1527074760,
                "tz": "CEST",
                "dow": "Wednesday",
                "time": "13:26",
                "date": "05/23/2018",
                "localtime": 1527081960
            },
            "actual_departure_time": {
                "epoch": 1527074833,
                "tz": "CEST",
                "dow": "Wednesday",
                "time": "13:27",
                "date": "05/23/2018",
                "localtime": 1527082033
            },
            "departure_delay": -120,
            "filed_arrival_time": {
                "epoch": 1527114900,
                "tz": "+00",
                "dow": "Wednesday",
                "time": "22:35",
                "date": "05/23/2018",
                "localtime": 1527114900
            },
            "estimated_arrival_time": {
                "epoch": 1527116233,
                "tz": "+00",
                "dow": "Wednesday",
                "time": "22:57",
                "date": "05/23/2018",
                "localtime": 1527116233
            },
            "actual_arrival_time": {
                "epoch": 1527087199,
                "tz": "+00",
                "dow": "Wednesday",
                "time": "14:53",
                "date": "05/23/2018",
                "localtime": 1527087199
            },
            "arrival_delay": -29801,
            "status": "Arrived / Gate Arrival",
            "progress_percent": 100,
            "aircrafttype": "A346",
            "full_aircrafttype": "A346",
            "adhoc": false
        },
        {
            "ident": "IBE6403",
            "faFlightID": "IBE6403-1526793969-airline-0058",
            "airline": "IBE",
            "airline_iata": "IB",
            "flightnumber": "6403",
            "tailnumber": "EC-JCZ",
            "type": "Form_Airline",
            "codeshares": "FIN5552",
            "blocked": false,
            "diverted": false,
            "cancelled": false,
            "origin": {
                "code": "LEMD",
                "city": "Madrid",
                "alternate_ident": "MAD",
                "airport_name": "Barajas Int'l"
            },
            "destination": {
                "code": "MMMX",
                "city": "Mexico City",
                "alternate_ident": "MEX",
                "airport_name": "Lic. Benito Juarez Int'l"
            },
            "filed_ete": 40800,
            "route": "LFANO M595 MILLE ZQA B646 LUCSS B646 FOWEE B646 CANOA UB646 XOPGI UR522 NUBEL UT31 PAZ UJ55 DATUL",
            "filed_altitude": 360,
            "display_filed_altitude": "36,000 feet",
            "filed_airspeed_kts": 480,
            "distance_filed": 5911,
            "filed_departure_time": {
                "epoch": 1526987100,
                "tz": "CEST",
                "dow": "Tuesday",
                "time": "13:05",
                "date": "05/22/2018",
                "localtime": 1526994300
            },
            "estimated_departure_time": {
                "epoch": 1526987820,
                "tz": "CEST",
                "dow": "Tuesday",
                "time": "13:17",
                "date": "05/22/2018",
                "localtime": 1526995020
            },
            "actual_departure_time": {
                "epoch": 1526987820,
                "tz": "CEST",
                "dow": "Tuesday",
                "time": "13:17",
                "date": "05/22/2018",
                "localtime": 1526995020
            },
            "departure_delay": -420,
            "filed_arrival_time": {
                "epoch": 1527027900,
                "tz": "CDT",
                "dow": "Tuesday",
                "time": "17:25",
                "date": "05/22/2018",
                "localtime": 1527009900
            },
            "estimated_arrival_time": {
                "epoch": 1527028020,
                "tz": "CDT",
                "dow": "Tuesday",
                "time": "17:27",
                "date": "05/22/2018",
                "localtime": 1527010020
            },
            "actual_arrival_time": {
                "epoch": 1527028020,
                "tz": "CDT",
                "dow": "Tuesday",
                "time": "17:27",
                "date": "05/22/2018",
                "localtime": 1527010020
            },
            "arrival_delay": -1860,
            "status": "Arrived / Gate Arrival",
            "progress_percent": 100,
            "aircrafttype": "A346",
            "full_aircrafttype": "A346",
            "adhoc": false
        },
        {
            "ident": "IBE6403",
            "faFlightID": "IBE6403-1526707552-airline-0067",
            "airline": "IBE",
            "airline_iata": "IB",
            "flightnumber": "6403",
            "tailnumber": "EC-IZY",
            "type": "Form_Airline",
            "codeshares": "FIN5552",
            "blocked": false,
            "diverted": false,
            "cancelled": false,
            "origin": {
                "code": "LEMD",
                "city": "Madrid",
                "alternate_ident": "MAD",
                "airport_name": "Barajas Int'l"
            },
            "destination": {
                "code": "MMMX",
                "city": "Mexico City",
                "alternate_ident": "MEX",
                "airport_name": "Lic. Benito Juarez Int'l"
            },
            "filed_ete": 40800,
            "route": "LFANO M595 MILLE ZQA EYW CANOA UB646 XOPGI UR522 OMVOM UT31 PAZ UJ55 DATUL",
            "filed_altitude": 370,
            "display_filed_altitude": "37,000 feet",
            "filed_airspeed_kts": 480,
            "distance_filed": 5916,
            "filed_departure_time": {
                "epoch": 1526900700,
                "tz": "CEST",
                "dow": "Monday",
                "time": "13:05",
                "date": "05/21/2018",
                "localtime": 1526907900
            },
            "estimated_departure_time": {
                "epoch": 1526902140,
                "tz": "CEST",
                "dow": "Monday",
                "time": "13:29",
                "date": "05/21/2018",
                "localtime": 1526909340
            },
            "actual_departure_time": {
                "epoch": 1526902140,
                "tz": "CEST",
                "dow": "Monday",
                "time": "13:29",
                "date": "05/21/2018",
                "localtime": 1526909340
            },
            "departure_delay": 660,
            "filed_arrival_time": {
                "epoch": 1526941500,
                "tz": "CDT",
                "dow": "Monday",
                "time": "17:25",
                "date": "05/21/2018",
                "localtime": 1526923500
            },
            "estimated_arrival_time": {
                "epoch": 1526942485,
                "tz": "CDT",
                "dow": "Monday",
                "time": "17:41",
                "date": "05/21/2018",
                "localtime": 1526924485
            },
            "actual_arrival_time": {
                "epoch": 1526942687,
                "tz": "CDT",
                "dow": "Monday",
                "time": "17:44",
                "date": "05/21/2018",
                "localtime": 1526924687
            },
            "arrival_delay": -1513,
            "status": "Arrived / Gate Arrival",
            "progress_percent": 100,
            "aircrafttype": "A346",
            "full_aircrafttype": "A346",
            "adhoc": false
        },
        {
            "ident": "IBE6403",
            "faFlightID": "IBE6403-1526621174-airline-0024",
            "airline": "IBE",
            "airline_iata": "IB",
            "flightnumber": "6403",
            "tailnumber": "EC-LCZ",
            "type": "Form_Airline",
            "codeshares": "FIN5552",
            "blocked": false,
            "diverted": false,
            "cancelled": false,
            "origin": {
                "code": "LEMD",
                "city": "Madrid",
                "alternate_ident": "MAD",
                "airport_name": "Barajas Int'l"
            },
            "destination": {
                "code": "MMMX",
                "city": "Mexico City",
                "alternate_ident": "MEX",
                "airport_name": "Lic. Benito Juarez Int'l"
            },
            "filed_ete": 42300,
            "route": "BARDI RIVRO GUNTI 3800N/02000W 3700N/03000W 3500N/04000W 3300N/05000W 3000N/06000W LFANO M595 MILLE ZQA BR49V FOWEE B646 MTH EYW CANOA UB646 XOPGI UR522 OMVOM UT31 PAZ UJ55 DATUL",
            "filed_altitude": 310,
            "display_filed_altitude": "31,000 feet",
            "filed_airspeed_kts": 480,
            "distance_filed": 5853,
            "filed_departure_time": {
                "epoch": 1526814300,
                "tz": "CEST",
                "dow": "Sunday",
                "time": "13:05",
                "date": "05/20/2018",
                "localtime": 1526821500
            },
            "estimated_departure_time": {
                "epoch": 1526822460,
                "tz": "CEST",
                "dow": "Sunday",
                "time": "15:21",
                "date": "05/20/2018",
                "localtime": 1526829660
            },
            "actual_departure_time": {
                "epoch": 1526822460,
                "tz": "CEST",
                "dow": "Sunday",
                "time": "15:21",
                "date": "05/20/2018",
                "localtime": 1526829660
            },
            "departure_delay": 8160,
            "filed_arrival_time": {
                "epoch": 1526856600,
                "tz": "CDT",
                "dow": "Sunday",
                "time": "17:50",
                "date": "05/20/2018",
                "localtime": 1526838600
            },
            "estimated_arrival_time": {
                "epoch": 1526864380,
                "tz": "CDT",
                "dow": "Sunday",
                "time": "19:59",
                "date": "05/20/2018",
                "localtime": 1526846380
            },
            "actual_arrival_time": {
                "epoch": 1526864380,
                "tz": "CDT",
                "dow": "Sunday",
                "time": "19:59",
                "date": "05/20/2018",
                "localtime": 1526846380
            },
            "arrival_delay": 7780,
            "status": "Arrived",
            "progress_percent": 100,
            "aircrafttype": "A346",
            "full_aircrafttype": "A346",
            "adhoc": false
        },
        {
            "ident": "IBE6403",
            "faFlightID": "IBE6403-1526534763-airline-0040",
            "airline": "IBE",
            "airline_iata": "IB",
            "flightnumber": "6403",
            "tailnumber": "EC-IOB",
            "type": "Form_Airline",
            "codeshares": "FIN5552",
            "blocked": false,
            "diverted": false,
            "cancelled": false,
            "origin": {
                "code": "LEMD",
                "city": "Madrid",
                "alternate_ident": "MAD",
                "airport_name": "Barajas Int'l"
            },
            "destination": {
                "code": "MMMX",
                "city": "Mexico City",
                "alternate_ident": "MEX",
                "airport_name": "Lic. Benito Juarez Int'l"
            },
            "filed_ete": 39660,
            "route": "LFANO M595 MILLE ZQA BR49V FOWEE B646 CANOA UB646 XOPGI UR522 OMVOM UT31 PAZ UJ55 DATUL",
            "filed_altitude": 370,
            "display_filed_altitude": "37,000 feet",
            "filed_airspeed_kts": 470,
            "distance_filed": 6134,
            "filed_departure_time": {
                "epoch": 1526727900,
                "tz": "CEST",
                "dow": "Saturday",
                "time": "13:05",
                "date": "05/19/2018",
                "localtime": 1526735100
            },
            "estimated_departure_time": {
                "epoch": 1526729280,
                "tz": "CEST",
                "dow": "Saturday",
                "time": "13:28",
                "date": "05/19/2018",
                "localtime": 1526736480
            },
            "actual_departure_time": {
                "epoch": 1526729280,
                "tz": "CEST",
                "dow": "Saturday",
                "time": "13:28",
                "date": "05/19/2018",
                "localtime": 1526736480
            },
            "departure_delay": 720,
            "filed_arrival_time": {
                "epoch": 1526767560,
                "tz": "CDT",
                "dow": "Saturday",
                "time": "17:06",
                "date": "05/19/2018",
                "localtime": 1526749560
            },
            "estimated_arrival_time": {
                "epoch": 1526768760,
                "tz": "CDT",
                "dow": "Saturday",
                "time": "17:26",
                "date": "05/19/2018",
                "localtime": 1526750760
            },
            "actual_arrival_time": {
                "epoch": 1526768760,
                "tz": "CDT",
                "dow": "Saturday",
                "time": "17:26",
                "date": "05/19/2018",
                "localtime": 1526750760
            },
            "arrival_delay": -1920,
            "status": "Arrived / Gate Arrival",
            "progress_percent": 100,
            "aircrafttype": "A346",
            "full_aircrafttype": "A346",
            "adhoc": false
        },

}

As you can see, we have information for 23th May, of two flights: one from MAD (Madrid) to TER ( Terceira Island /Praia da Vitoria /Angra area) and other from TER to MEX (Mexico City).
Normally the flight is from MAD directly to MEX. But in this case the flight was diverted, and we have no indication that the flight was diverted! Flags for diverted field are false.

If we consult your site, we see 3 flights for IBE6403 for that day, the first one is marked as diverted:

Can you improve the reliability of the information reported?
Thanks.

No support on this? I guess I should receive a flag diverted: true in this case, or not?

A diverted status flight should appear in FlightXML 3 FlightInfoStatus similar to how it does on the flight page. I’ve opened a bug to look into this case.

Ok, I’ll wait for some feedback regarding this bug.

Thanks.

Hi,

Any news on this issue?
Thanks

Hello,

This is still in progress. Once complete you can anticipate both the actually flow and diverted flight will both appear similar to FlightInfo from FlightXML 2.

Hello again. I want to know if you improved anything regarding this bug.
Thanks.

This has since been resolved. FlightXML3 now mimics the FlightXML2 behavior where the actual flown flight is returned first and the original flightplan that was diverted from is returned next.

Since when has been resolved? I was not notified about this behaviour change.
I don’t have any case now to test that. Can you give me a flight that is diverted for me to check the results? I want to query FlightInfoStatus to get a diverted flight to know how to treat correctly this data.

Thanks.

This was resolved in mid-July. An example flight would be JZA8226. Its most recent completed flight was diverted.

Ok.Thanks for the example, but the example seems a a bit confusing, since we have yet another upcoming flight with same departure time as the past.
I dont understand these results. Can you give me another example just to check if the results are similar?
Thanks.

With similar… too close departure times…confusing case this, having same Icao/FlightNumber departing at close times and multiple in the same day

Another case is DLH2050 with multiple diversions recorded over the last two weeks.

Hi @dogrock,

Thanks for the last example. What makes me confused is, for lets say, the last diversion of the flight at 13th Aug, is that the flight did not departed from NCE to TXL. The flight was doing MUC to TXL, but it was diverted and stopped in NCE. Then the new flight was again from MUC to TXL instead of NCE to TXL. Can you help me to clarify on this?

Because, the example I’ve attached as image in this post is more clear, because the flight was doing MAD to MEX, but it was diverted and stopped in TER. Then the next flight was from TER to MEX. It makes sense.

Regarding flightXml api response, from what Im seeing, when a flight diverts, I will have 3 records regarding that flight for that day, right? One (the oldest one (original) is the flight that was planned and that is marked as diverted. Then, you (flightaware service) create a new record with the diverted destination. And for last, you create a new record with the flight from the diverted site to the end (correct) destination. Normally is this the flow and the records you create, right?

Thanks.

The three records on Aug 13th represent two different aircraft that flew under the same ident that day.

The first aircraft was planned MUC-TXL but was diverted to MUC-NCE. These two records in FlightInfoStatus share the same faFlightID (DLH2050-1534006800-schedule-0000) to indicate the diversion event with original and diverted plans.

The second aircraft was planned and flew MUC-TXL. This record in FlightInfoStatus has a distinct faFlightID (DLH2050-1534151080-ed-0004).

When a diversion occurs the original entry is marked as diverted and a new entry is created, generating in two results. If the new entry is also diverted the process repeats, but this is uncommon outside of general aviation. After landing at the diverted destination any flightplan that is filed form this point is considered an entirely new flight and not a diversion.

Thanks for support @dogrock

Hi @dogrock and FlightAware Support team,

I had now a case that did not worked as expected.

Request: https://flightxml.flightaware.com/json/FlightXML3/FlightInfoStatus?ident=UAE0186

Result for day 15th Aug (3 flights, using the order of your response API)

{
                "ident": "UAE186",
                "faFlightID": "UAE186-1565890834-ed-0005",
                "airline": "UAE",
                "airline_iata": "EK",
                "flightnumber": "186",
                "tailnumber": "A6-EEI",
                "type": "Form_Airline",
                "blocked": false,
                "diverted": false,
                "cancelled": true,
                "origin": {
                    "code": "LGAV",
                    "city": "Athens",
                    "alternate_ident": "ATH",
                    "airport_name": "Athens Int'l, Eleftherios Venizelos"
                },
                "destination": {
                    "code": "",
                    "city": "",
                    "alternate_ident": "",
                    "airport_name": ""
                },
                "filed_departure_time": {
                    "epoch": 1565902347,
                    "tz": "EEST",
                    "dow": "Thursday",
                    "time": "23:52",
                    "date": "08/15/2019",
                    "localtime": 1565913147
                },
                "estimated_departure_time": {
                    "epoch": 1565902178,
                    "tz": "EEST",
                    "dow": "Thursday",
                    "time": "23:49",
                    "date": "08/15/2019",
                    "localtime": 1565912978
                },
                "actual_departure_time": {
                    "epoch": -1,
                    "tz": "EET",
                    "dow": "Thursday",
                    "time": "01:59",
                    "date": "01/01/1970",
                    "localtime": 7199
                },
                "departure_delay": -1565902348,
                "filed_arrival_time": {
                    "epoch": 0
                },
                "estimated_arrival_time": {
                    "epoch": -1,
                    "tz": "UTC",
                    "dow": "Wednesday",
                    "time": "23:59",
                    "date": "12/31/1969",
                    "localtime": -1
                },
                "actual_arrival_time": {
                    "epoch": -1,
                    "tz": "UTC",
                    "dow": "Wednesday",
                    "time": "23:59",
                    "date": "12/31/1969",
                    "localtime": -1
                },
                "status": "result unknown",
                "progress_percent": 100,
                "adhoc": true
            },
            {
                "ident": "UAE186",
                "faFlightID": "UAE186-1565916378-airline-0114",
                "airline": "UAE",
                "airline_iata": "EK",
                "flightnumber": "186",
                "tailnumber": "A6-EEI",
                "type": "Form_Airline",
                "codeshares": "QFA8186,QFA8186",
                "blocked": false,
                "diverted": false,
                "cancelled": false,
                "origin": {
                    "code": "LEBL",
                    "city": "Barcelona",
                    "alternate_ident": "BCN",
                    "airport_name": "Barcelona Int'l"
                },
                "destination": {
                    "code": "OMDB",
                    "city": "Dubai",
                    "alternate_ident": "DXB",
                    "airport_name": "Dubai Int'l"
                },
                "filed_ete": 39480,
                "filed_airspeed_kts": 255,
                "distance_filed": 3219,
                "filed_departure_time": {
                    "epoch": 1565876400,
                    "tz": "CEST",
                    "dow": "Thursday",
                    "time": "15:40",
                    "date": "08/15/2019",
                    "localtime": 1565883600
                },
                "estimated_departure_time": {
                    "epoch": 1565876820,
                    "tz": "CEST",
                    "dow": "Thursday",
                    "time": "15:47",
                    "date": "08/15/2019",
                    "localtime": 1565884020
                },
                "actual_departure_time": {
                    "epoch": 1565876820,
                    "tz": "CEST",
                    "dow": "Thursday",
                    "time": "15:47",
                    "date": "08/15/2019",
                    "localtime": 1565884020
                },
                "departure_delay": 420,
                "filed_arrival_time": {
                    "epoch": 1565915880,
                    "tz": "+04",
                    "dow": "Friday",
                    "time": "04:38",
                    "date": "08/16/2019",
                    "localtime": 1565930280
                },
                "estimated_arrival_time": {
                    "epoch": 1565916300,
                    "tz": "+04",
                    "dow": "Friday",
                    "time": "04:45",
                    "date": "08/16/2019",
                    "localtime": 1565930700
                },
                "actual_arrival_time": {
                    "epoch": 1565916300,
                    "tz": "+04",
                    "dow": "Friday",
                    "time": "04:45",
                    "date": "08/16/2019",
                    "localtime": 1565930700
                },
                "arrival_delay": 420,
                "status": "Arrived",
                "progress_percent": 100,
                "aircrafttype": "A388",
                "full_aircrafttype": "A388",
                "adhoc": false
            },
            {
                "ident": "UAE186",
                "faFlightID": "UAE186-1565671541-airline-0072",
                "airline": "UAE",
                "airline_iata": "EK",
                "flightnumber": "186",
                "tailnumber": "A6-EEI",
                "type": "Form_Airline",
                "codeshares": "QFA8186,QFA8186",
                "blocked": false,
                "diverted": true,
                "cancelled": true,
                "origin": {
                    "code": "LEBL",
                    "city": "Barcelona",
                    "alternate_ident": "BCN",
                    "airport_name": "Barcelona Int'l"
                },
                "destination": {
                    "code": "OMDB",
                    "city": "Dubai",
                    "alternate_ident": "DXB",
                    "airport_name": "Dubai Int'l"
                },
                "filed_ete": 22140,
                "filed_airspeed_kts": 436,
                "distance_filed": 3219,
                "filed_departure_time": {
                    "epoch": 1565876400,
                    "tz": "CEST",
                    "dow": "Thursday",
                    "time": "15:40",
                    "date": "08/15/2019",
                    "localtime": 1565883600
                },
                "estimated_departure_time": {
                    "epoch": 1565876895,
                    "tz": "CEST",
                    "dow": "Thursday",
                    "time": "15:48",
                    "date": "08/15/2019",
                    "localtime": 1565884095
                },
                "actual_departure_time": {
                    "epoch": -1,
                    "tz": "CET",
                    "dow": "Thursday",
                    "time": "00:59",
                    "date": "01/01/1970",
                    "localtime": 3599
                },
                "departure_delay": 0,
                "filed_arrival_time": {
                    "epoch": 1565898540,
                    "tz": "+04",
                    "dow": "Thursday",
                    "time": "23:49",
                    "date": "08/15/2019",
                    "localtime": 1565912940
                },
                "estimated_arrival_time": {
                    "epoch": -1,
                    "tz": "+04",
                    "dow": "Thursday",
                    "time": "03:59",
                    "date": "01/01/1970",
                    "localtime": 14399
                },
                "actual_arrival_time": {
                    "epoch": -1,
                    "tz": "+04",
                    "dow": "Thursday",
                    "time": "03:59",
                    "date": "01/01/1970",
                    "localtime": 14399
                },
                "arrival_delay": 9480,
                "status": "Diverted",
                "progress_percent": 100,
                "aircrafttype": "A388",
                "full_aircrafttype": "A388",
                "adhoc": false
            },

What Occurred well and as expected: The flight flight of the day UAE186-1565671541-airline-0072 was marked as diverted

What didn’t happened: I was excpecting the next flight of the list giving me the diverted destination , flight that should have the same faFlightId as the first flight marked as diverted, and with destination ATH, but instead I’ve received another faFlightId UAE186-1565916378-airline-0114 with information from BCN to DXB, marking the flight as arrived.

Next problem: was the flight marked as result unknown with faFlightId: UAE186-1565890834-ed-0005 that supposely was for register the flight from ATH to DXB, but with no valid data.

Other problem: Also, in your site, you display erroneos data (no BCN to ATH information) and also no ATH to DXB flight: (please check the printscreen):

If you check another flight tracker, you’ll see correct data being displayed (please check the printscreen):

What’s happening? What behavior should I expect?

Thanks

Hello,

It looks like the diversion was handled properly, but the events afterwards generated some noise in the flight results. UAE186-1565890834-ed-0005 should have been the recovery flight after the diverted flight was complete. However, it was cancelled shortly before completion in favor of the flight UAE186-1565916378-airline-0114, which encompasses the entire time from the start of UAE186-1565671541-airline-0072 to what would have been the end of UAE186-1565890834-ed-0005 and appears between what should be the adjacent diversion entries.

I’ve asked our flight tracking team to review this case. This is not expected behavior.

Hi @dogrock, thanks for the response.

So , the expected and correct behaviour in these type of cases, for example, is to expect the next flight of the list giving me the diverted destination , flight that should have the same faFlightId as the first flight marked as diverted, and with destination ATH, right?

Thanks.

Hello @dogrock.

Did this case helped the team to check if there is any problem in divert flights?

Can you please confirm me that the expected behavior that I mentioned above is the right one?
Thanks.