Findflight filter

Hi,

I am trying to get FindFlight API in FlightXML3 working with filter. I want to find only direct flights between two airports for specified airline. But I can not seem to get it to work. For example, those two calls return same result:

http://flightxml.flightaware.com/json/FlightXML3/FindFlight?origin=HKG&destination=KUL&filter=airline:CX
http://flightxml.flightaware.com/json/FlightXML3/FindFlight?origin=HKG&destination=KUL&filter=airline:CPA
http://flightxml.flightaware.com/json/FlightXML3/FindFlight?origin=HKG&destination=KUL

I do (currently) have starter plan only.
How to make “filter” work?

thx

Hello,
I’m experiencing exactly the same issue. I tried several syntaxes for the filter, but none worked.

Thanks

If you want direct flights then specify type=direct. For the airline the filter does not support passing in the airline identifier. It just distinguishes between ga and airline flights. So here’s an example of all nonstop airline flights from KHOU to KDAL:

https://flightxml.flightaware.com/json/FlightXML3/FindFlight?origin=KHOU&destination=KDAL&type=nonstop&filter=airline