Hi,
I’m querying this flight: https://flightxml.flightaware.com/json/FlightXML3/FlightInfoStatus?ident=QTR8272&howMany=15&include_ex_data=false
Returning this data:
(…)
{
"ident": "QTR8272",
"faFlightID": "QTR8272-1536071166-ed-0019",
"airline": "QTR",
"airline_iata": "QR",
"flightnumber": "8272",
"tailnumber": "A7-BFD",
"type": "Form_Airline",
"blocked": false,
"diverted": false,
"cancelled": false,
"origin": {
"code": "LEZG",
"city": "Zaragoza / Aragon",
"alternate_ident": "ZAZ",
"airport_name": "Zaragoza"
},
"destination": {
"code": "OTHH",
"city": "Doha",
"alternate_ident": "DOH",
"airport_name": "Hamad Int'l"
},
"distance_filed": 3187,
"filed_departure_time": {
"epoch": 1536094169,
"tz": "CEST",
"dow": "Tuesday",
"time": "22:49",
"date": "09/04/2018",
"localtime": 1536101369
},
"estimated_departure_time": {
"epoch": 1536094169,
"tz": "CEST",
"dow": "Tuesday",
"time": "22:49",
"date": "09/04/2018",
"localtime": 1536101369
},
"actual_departure_time": {
"epoch": 1536094169,
"tz": "CEST",
"dow": "Tuesday",
"time": "22:49",
"date": "09/04/2018",
"localtime": 1536101369
},
"departure_delay": 0,
"filed_arrival_time": {
"epoch": 0
},
"estimated_arrival_time": {
"epoch": 1536115870,
"tz": "+03",
"dow": "Wednesday",
"time": "05:51",
"date": "09/05/2018",
"localtime": 1536126670
},
"actual_arrival_time": {
"epoch": 1536094169,
"tz": "+03",
"dow": "Tuesday",
"time": "23:49",
"date": "09/04/2018",
"localtime": 1536104969
},
"status": "result unknown",
"progress_percent": 100,
"adhoc": false
},
{
"ident": "QTR8272",
"faFlightID": "QTR8272-1535865975-airline-0096",
"airline": "QTR",
"airline_iata": "QR",
"flightnumber": "8272",
"type": "Form_Airline",
"blocked": false,
"diverted": false,
"cancelled": true,
"origin": {
"code": "LEZG",
"city": "Zaragoza / Aragon",
"alternate_ident": "ZAZ",
"airport_name": "Zaragoza"
},
"destination": {
"code": "OTHH",
"city": "Doha",
"alternate_ident": "DOH",
"airport_name": "Hamad Int'l"
},
"filed_ete": 23400,
"filed_airspeed_kts": 427,
"distance_filed": 3187,
"filed_departure_time": {
"epoch": 1536068700,
"tz": "CEST",
"dow": "Tuesday",
"time": "15:45",
"date": "09/04/2018",
"localtime": 1536075900
},
"estimated_departure_time": {
"epoch": 1536068700,
"tz": "CEST",
"dow": "Tuesday",
"time": "15:45",
"date": "09/04/2018",
"localtime": 1536075900
},
"actual_departure_time": {
"epoch": -1,
"tz": "CET",
"dow": "Thursday",
"time": "00:59",
"date": "01/01/1970",
"localtime": 3599
},
"departure_delay": -1536068701,
"filed_arrival_time": {
"epoch": 1536092100,
"tz": "+03",
"dow": "Tuesday",
"time": "23:15",
"date": "09/04/2018",
"localtime": 1536102900
},
"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": -1536092101,
"status": "result unknown",
"progress_percent": 100,
"aircrafttype": "A332",
"full_aircrafttype": "A332",
"adhoc": false
},
{
"ident": "QTR8272",
"faFlightID": "QTR8272-1536116497-airline-0199",
"airline": "QTR",
"airline_iata": "QR",
"flightnumber": "8272",
"tailnumber": "A7-BFD",
"type": "Form_Airline",
"blocked": false,
"diverted": false,
"cancelled": false,
"origin": {
"code": "LEZG",
"city": "Zaragoza / Aragon",
"alternate_ident": "ZAZ",
"airport_name": "Zaragoza"
},
"destination": {
"code": "OTHH",
"city": "Doha",
"alternate_ident": "DOH",
"airport_name": "Hamad Int'l"
},
"filed_ete": 21660,
"filed_airspeed_kts": 461,
"distance_filed": 3187,
"filed_departure_time": {
"epoch": 1536068700,
"tz": "CEST",
"dow": "Tuesday",
"time": "15:45",
"date": "09/04/2018",
"localtime": 1536075900
},
"estimated_departure_time": {
"epoch": 1536094140,
"tz": "CEST",
"dow": "Tuesday",
"time": "22:49",
"date": "09/04/2018",
"localtime": 1536101340
},
"actual_departure_time": {
"epoch": 1536094140,
"tz": "CEST",
"dow": "Tuesday",
"time": "22:49",
"date": "09/04/2018",
"localtime": 1536101340
},
"departure_delay": 25440,
"filed_arrival_time": {
"epoch": 1536090360,
"tz": "+03",
"dow": "Tuesday",
"time": "22:46",
"date": "09/04/2018",
"localtime": 1536101160
},
"estimated_arrival_time": {
"epoch": 1536115800,
"tz": "+03",
"dow": "Wednesday",
"time": "05:50",
"date": "09/05/2018",
"localtime": 1536126600
},
"actual_arrival_time": {
"epoch": 1536115800,
"tz": "+03",
"dow": "Wednesday",
"time": "05:50",
"date": "09/05/2018",
"localtime": 1536126600
},
"arrival_delay": 25440,
"status": "Arrived / Gate Arrival",
"progress_percent": 100,
"aircrafttype": "A332",
"full_aircrafttype": "A332",
"adhoc": false
}
(…)
As you can see, there are 3 results for 4th Sep 2018.
Chronologically (from most recent to oldest record) we have:
- QTR8272-1536071166-ed-0019 → result unknown
- QTR8272-1535865975-airline-0096 → result unknown, but marked as cancelled
- QTR8272-1536116497-airline-0199 → Arrived / Gate Arrival
Why this happened? This seems a bug from your side.
I don’t know how to treat informatically/programmatically this data, that seems wrong/incoherent.
This flight occurred from our records.
More information. From your site, we have 2 records for that day, with no clear information from what happened. Another question: should the API return the same records as you show in your site?
Is this bug related with the one I reported in this ticket? FlightXML3/FlightInfoStatus for IBE6403 not returning accurate data (incompleted) , but in this case the flight was marked somehow as cancelled…
Can you please improve the reliability of the data you return from both sides and the coherence?
Thanks.