I’m having some issues getting accurate results from some AirlineFlightSchedules queries where the exclude_codeshare bool is set to true. For example, the following query
https://flightxml.flightaware.com/json/FlightXML3/AirlineFlightSchedules?start_date=1500004800&end_date=1500091200&origin=PIT&destination=EWR&howMany=50&exclude_codeshare=true
returns this response:
{
"error": "NO_DATA No flight schedules found for your query"
}
However, with exclude_codeshare=false, we get these results:
{
"AirlineFlightSchedulesResult": {
"next_offset": -1,
"flights":
{
"ident": "DLH7896",
"fa_ident": "RPA3455-1499837186-airline-0094",
"actual_ident": "RPA3455",
"departuretime": 1500055500,
"arrivaltime": 1500061140,
"origin": "KPIT",
"destination": "KEWR",
"aircrafttype": "E75L",
"meal_service": "First: Refreshments / Economy: No meal",
"seats_cabin_first": 6,
"seats_cabin_business": 0,
"seats_cabin_coach": 64
},
{
"ident": "AUA7770",
"fa_ident": "RPA3455-1499837186-airline-0094",
"actual_ident": "RPA3455",
"departuretime": 1500055500,
"arrivaltime": 1500061140,
"origin": "KPIT",
"destination": "KEWR",
"aircrafttype": "E75L",
"meal_service": "First: Refreshments / Economy: No meal",
"seats_cabin_first": 6,
"seats_cabin_business": 0,
"seats_cabin_coach": 64
},
{
"ident": "DLH7869",
"fa_ident": "RPA3453-1499837188-airline-0028",
"actual_ident": "RPA3453",
"departuretime": 1500051600,
"arrivaltime": 1500057000,
"origin": "KPIT",
"destination": "KEWR",
"aircrafttype": "E170",
"meal_service": "First: Refreshments / Economy: No meal",
"seats_cabin_first": 6,
"seats_cabin_business": 0,
"seats_cabin_coach": 64
},
{
"ident": "UAL3507",
"fa_ident": "RPA3507-1499837188-airline-0407",
"actual_ident": "RPA3507",
"departuretime": 1500025500,
"arrivaltime": 1500031020,
"origin": "KPIT",
"destination": "KEWR",
"aircrafttype": "E75L",
"meal_service": "First: Refreshments / Economy: No meal",
"seats_cabin_first": 6,
"seats_cabin_business": 0,
"seats_cabin_coach": 64
},
{
"ident": "UAL3609",
"fa_ident": "RPA3609-1499837188-airline-0242",
"actual_ident": "RPA3609",
"departuretime": 1500033600,
"arrivaltime": 1500039000,
"origin": "KPIT",
"destination": "KEWR",
"aircrafttype": "E75L",
"meal_service": "First: Refreshments / Economy: No meal",
"seats_cabin_first": 6,
"seats_cabin_business": 0,
"seats_cabin_coach": 64
},
{
"ident": "UAL3455",
"fa_ident": "RPA3455-1499837186-airline-0094",
"actual_ident": "RPA3455",
"departuretime": 1500055500,
"arrivaltime": 1500061140,
"origin": "KPIT",
"destination": "KEWR",
"aircrafttype": "E75L",
"meal_service": "First: Refreshments / Economy: No meal",
"seats_cabin_first": 6,
"seats_cabin_business": 0,
"seats_cabin_coach": 64
},
{
"ident": "UAL3456",
"fa_ident": "RPA3456-1500094223-5-0-66",
"actual_ident": "RPA3456",
"departuretime": 1500068100,
"arrivaltime": 1500073740,
"origin": "KPIT",
"destination": "KEWR",
"aircrafttype": "E75L",
"meal_service": "First: Refreshments / Economy: No meal",
"seats_cabin_first": 6,
"seats_cabin_business": 0,
"seats_cabin_coach": 64
},
{
"ident": "UAL3755",
"fa_ident": "UAL3755-1500086004-9-0-91",
"actual_ident": "RPA3755",
"departuretime": 1500072000,
"arrivaltime": 1500077400,
"origin": "KPIT",
"destination": "KEWR",
"aircrafttype": "E75L",
"meal_service": "First: Refreshments / Economy: No meal",
"seats_cabin_first": 6,
"seats_cabin_business": 0,
"seats_cabin_coach": 64
},
{
"ident": "UAL3463",
"fa_ident": "RPA3463-1499837188-airline-0134",
"actual_ident": "RPA3463",
"departuretime": 1500030000,
"arrivaltime": 1500035640,
"origin": "KPIT",
"destination": "KEWR",
"aircrafttype": "E170",
"meal_service": "First: Refreshments / Economy: No meal",
"seats_cabin_first": 6,
"seats_cabin_business": 0,
"seats_cabin_coach": 64
},
{
"ident": "UAL3453",
"fa_ident": "RPA3453-1499837188-airline-0028",
"actual_ident": "RPA3453",
"departuretime": 1500051600,
"arrivaltime": 1500057000,
"origin": "KPIT",
"destination": "KEWR",
"aircrafttype": "E170",
"meal_service": "First: Refreshments / Economy: No meal",
"seats_cabin_first": 6,
"seats_cabin_business": 0,
"seats_cabin_coach": 64
}
]
}
}
Other queries like PIT → ORD (with that same start and end date) return results when exclude_codeshares=true but are missing certain flights, like ENY3362/AAL3362. I was under the assumption that excluding codeshares meant I would be getting back all of the flights with actual_ident
values set as the ident
. Is this a bug or is my assumption incorrect?
Thanks!