FlightAware Discussions

FlightXML v3 | Not returning routes for a specific airline

Good afternoon, everyone!

I am trying to query all flights for PSA Airlines during one week’s time. However, I am receiving odd results. When I query only for the airline, using both IATA(OH) and ICAO(JIA) formats, I receive {"error":"NO_DATA No flight schedules found for your query"}. When I search for the flights by origin and destination (BNA and CLT, respectively), I am returned with the expected results, including the PSA Airlines flights. I cannot think of any other way FlightAware is storing this airline, and I have exhausted all options of which I can think. I know that FlightAware is storing data for PSA because I can use the website to search for them.

If I am missing any pertinent details, please let me know!
Thank you in advance!

Here are the parameters that I am using

$params = array(
'start_date' => 1560556800,
'end_date' => 1561161599,
'origin' => '',
'destination' => '',
'flightno' => '',
'airline' => 'JIA',
'howMany' => 150,
'exclude_codeshare' => false
);


$params = array(
'start_date' => 1560556800,
'end_date' => 1561161599,
'origin' => 'BNA',
'destination' => 'CLT',
'flightno' => '',
'airline' => '',
'howMany' => 150,
'exclude_codeshare' => false
);

I’ve opened a bug for this. The airline code for PSA Airlines isn’t being handled in an expected manner when used as a filter option in the schedule search.