How to specify the booking code on ITA
#31
Join Date: Jun 2008
Location: ZRH
Programs: LH Senator ★
Posts: 677
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%
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%
#34
Join Date: Jul 2003
Posts: 446
Help with Delta...
OK, now I figured it out. You just put it in the box with the airport code. My apologies for being so slow.
But, I was having trouble building delta queries for O, R, E, etc. Does anyone have suggestions? I used
SFO:: dl+ / f bc=e
JFK:: dl+ / f bc=e
But, I was having trouble building delta queries for O, R, E, etc. Does anyone have suggestions? I used
SFO:: dl+ / f bc=e
JFK:: dl+ / f bc=e
#35
Join Date: Dec 2009
Location: CHA/TYS
Programs: The Mac Daddy of Heimlich County (and low-ball status)
Posts: 2,868
every time i try this i get an error: "Illegal command-line prefix:bc=x" where x is whichever class i specify.
for example, something like
ATL:: dl+ / f bc=x
CHI
returns an illegal command EVERY time, regardless of what class i try. any suggestions?
for example, something like
ATL:: dl+ / f bc=x
CHI
returns an illegal command EVERY time, regardless of what class i try. any suggestions?
#37
Join Date: Nov 2006
Location: MSP
Programs: DL Gold, DL MM 8/22/16!
Posts: 2,563
mrredskin
You need a space between ATL and the first colon. And then no spaces between "dl+" and "/", and "/" and "f".
I'm not sure about the last "bc+x" since it is not a code I've used. I didn't get a syntax error message from it, just "no flights found" or something like that.
When you are fighting a line of code, the way to attack the problem is to go back to square zero and just introduce one element at a time.
ATL
ATL :: (note the space between "ATL" and "::")
ATL :: dl+ (another space between "::" and "dl+"
ATL :: dl+/f (note the lack of space between the "+" and "f"
etc.
Submit each one successively, and don't go on until you have that one working.
That way you know exactly which element is causing the problem.
ITA is very syntax sensitive, unlike lots of other systems now that try to help you by guessing what you meant.
Romelle
You need a space between ATL and the first colon. And then no spaces between "dl+" and "/", and "/" and "f".
I'm not sure about the last "bc+x" since it is not a code I've used. I didn't get a syntax error message from it, just "no flights found" or something like that.
When you are fighting a line of code, the way to attack the problem is to go back to square zero and just introduce one element at a time.
ATL
ATL :: (note the space between "ATL" and "::")
ATL :: dl+ (another space between "::" and "dl+"
ATL :: dl+/f (note the lack of space between the "+" and "f"
etc.
Submit each one successively, and don't go on until you have that one working.
That way you know exactly which element is causing the problem.
ITA is very syntax sensitive, unlike lots of other systems now that try to help you by guessing what you meant.
Romelle
#39
Join Date: Dec 2009
Location: CHA/TYS
Programs: The Mac Daddy of Heimlich County (and low-ball status)
Posts: 2,868
mrredskin
You need a space between ATL and the first colon. And then no spaces between "dl+" and "/", and "/" and "f".
I'm not sure about the last "bc+x" since it is not a code I've used. I didn't get a syntax error message from it, just "no flights found" or something like that.
When you are fighting a line of code, the way to attack the problem is to go back to square zero and just introduce one element at a time.
ATL
ATL :: (note the space between "ATL" and "::")
ATL :: dl+ (another space between "::" and "dl+"
ATL :: dl+/f (note the lack of space between the "+" and "f"
etc.
Submit each one successively, and don't go on until you have that one working.
That way you know exactly which element is causing the problem.
ITA is very syntax sensitive, unlike lots of other systems now that try to help you by guessing what you meant.
Romelle
You need a space between ATL and the first colon. And then no spaces between "dl+" and "/", and "/" and "f".
I'm not sure about the last "bc+x" since it is not a code I've used. I didn't get a syntax error message from it, just "no flights found" or something like that.
When you are fighting a line of code, the way to attack the problem is to go back to square zero and just introduce one element at a time.
ATL
ATL :: (note the space between "ATL" and "::")
ATL :: dl+ (another space between "::" and "dl+"
ATL :: dl+/f (note the lack of space between the "+" and "f"
etc.
Submit each one successively, and don't go on until you have that one working.
That way you know exactly which element is causing the problem.
ITA is very syntax sensitive, unlike lots of other systems now that try to help you by guessing what you meant.
Romelle
thanks, brah. you don't actually have to have the space between "ATL" and "::", tho. for some reason, everyone was using spaces between the "DL+/F" in their posts, which was wrong. got it working, now!
and i was just using "x" as a random variable.. not a specific fare
#40
Moderator: New York City and FlyerTalk Evangelist
Join Date: Sep 2007
Programs: AA PLT, Natl EC
Posts: 10,855
#42
Join Date: Nov 2006
Location: MSP
Programs: DL Gold, DL MM 8/22/16!
Posts: 2,563
Well, as usual, when I post something I end up learning also. I really thought the space between the airport code and the double colon was necessary. I'd found something that worked, and just stuck to it.
dstan and mrredskin - thanks!
Guess you can teach an old dog new tricks!
Romelle
dstan and mrredskin - thanks!
Guess you can teach an old dog new tricks!
Romelle