We’re seeing some unexpected results for some destinations when querying for flight cancellation statistics, and I’m wondering if this is by design or a bug?
Example:
FlightCancellationStatistics?time_period=today&type_matching=destination&ident_filter=KLAX
Returns a matching array of > 200 records. One of which is KLAX around index 120. KSFO and a few others have similar results.
Most other destination based queries return with the requested destination as the 1st entry in the matching array, allowing us to avoid making additional calls to find the offset data we need.
Is it intentional that the matching array returns more results than are requested? And if so, is the design that the requested destination be prioritized to the beginning of the list? Or is that just lucky coincidence for most airports?