Art Melk
Art Melk

Reputation: 41

How 2get only non-stop flights in BargainFinderMax (RESTmode) by using 'FlightStopsAsConnections', 'MaxStopsQuantity', or 'DirectFlightsOnly' in input

I am using Sabre BargainFinderMax (BFM) call to get flight availability. In the input, I must provide a flag to get only 'non-stop' flights. What node/property/value should be used to achieve this, if possible. Again, ONLY 'non-stop' must be returned! thanks in advance!

I tried using DirectFlightsOnly=true, but got same response when the node was not included in the RQ.

"DirectFlightsOnly" : { "type" : "boolean" },

Upvotes: 0

Views: 164

Answers (1)

Telmo Paz
Telmo Paz

Reputation: 256

You could use this element:

<TravelPreferences>
<FlightTypePref MaxConnections="0"/>

That would return only flights with no connections. I'm not familiar with the element you mentioned.

Upvotes: 1

Related Questions