FlyerTalk Forums - View Single Post - How to specify the booking code on ITA
View Single Post
Old Dec 20, 2011 | 9:57 pm
  #56  
serfty
FlyerTalk Evangelist
30 Countries Visited
40 Nights
All eyes on you!
20 Years on Site
 
Join Date: Nov 2004
Location: Melbourne
Programs: ►QFWP/LTG►VA WP►HyattDisc.►HiltonGold►ALL Plat.
Posts: 22,336
Originally Posted by JanoSicek
Another good shortcut is using negation
Instead of /f bc=X|bc=Y

if you wish just to EXCLUDE cheap booking classes, you can do this:

/f ~bc=W&~bc=V&~bc=N

and then you get no W,V,N in your results

Most used by me, as those classes earn me just 50%
I'm trying to do similar with Matrix-2

"/f ~bc=O" works to exclude O class but I want to exclude several.


/ f ~bc=O&~bc=N~&bc=Q&~bc=E
returns an error:

"The search failed with QPX Warning. Illegal faring spec: missing Boolean connective"

What is the correct syntax?

[edit]
I see this, but it really does not help:
Originally Posted by ITAGiRL
In response to TrayFlowInUK's question dated June 13, 2011, there is a way to complete the same types of inquiries using our advanced routing codes. The reason it did not work for him the first time is because the syntax has changed from that which the original user posted in 2004. To complete these types of searches, please use the following:

To constrain results to return YUP fares only
Using BOS as your Departing from point, enter the following syntax in the advanced routing code field "/ f ..yup" (without the quotes). Using LAX as your Destination point, enter the following syntax in the advanced routing code field "/ f ..yup" (without the quotes). Enter your preferred dates, times, number of travelers, etc. and hit search. Results should appear shortly.

To constrain results to return either YUP or F fares on any airline and between any points
Using BOS as your Departing from point, enter the following syntax in the advanced routing code field "/ f (.bos+lax.)|(..yup|..f)" (without the quotes). Using LAX as your Destination point, enter the following syntax in the advanced routing code field "/ f (.bos+lax.)|(..yup|..f)" (without the quotes). Enter your preferred dates, times, number of travelers, etc. and hit search. Results should appear shortly.
[/EDIT]

Last edited by serfty; Dec 20, 2011 at 10:07 pm
serfty is offline