FlyerTalk Forums

FlyerTalk Forums (https://www.flyertalk.com/forum/index.php)
-   Mileage Run Discussion (https://www.flyertalk.com/forum/mileage-run-discussion-627/)
-   -   How to specify the booking code on ITA (https://www.flyertalk.com/forum/mileage-run-discussion/327261-how-specify-booking-code-ita.html)

JanoSicek Jan 29, 2009 2:13 am

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%

ArmyFlyer Apr 2, 2009 7:27 pm


Originally Posted by MatthewLAX (Post 11161909)
I had this thread bookmarked. It should be a sticky!

stupid question, but how do you bookmark this thread?

thaitraveller Apr 3, 2009 11:08 am

Aplogies... but where can you use codes?
 
I was trying to locate flights with O, R, or E seats (Skymiles) on Delta. I could not find on the ITA website the place to enter in the codes to select airline and bucket class. Thank you!

thaitraveller Apr 3, 2009 11:13 am

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


Originally Posted by thaitraveller (Post 11523142)
I was trying to locate flights with O, R, or E seats (Skymiles) on Delta. I could not find on the ITA website the place to enter in the codes to select airline and bucket class. Thank you!


mrredskin Feb 9, 2010 11:06 am

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?

VPescado Feb 9, 2010 11:21 am

ATL:: dl+ / f bc=y
CHI

just worked for me with no errors.

Romelle Feb 9, 2010 11:24 am

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

jvquarterback Feb 9, 2010 11:25 am

Great post. I think I learned more about ITA in the five minutes it took to read than the five years I've been on FT.

mrredskin Feb 9, 2010 1:59 pm


Originally Posted by Romelle (Post 13356990)
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


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 :)

dstan Feb 10, 2010 9:26 pm


Originally Posted by Romelle (Post 13356990)
mrredskin

You need a space between ATL and the first colon. And then no spaces between "dl+" and "/", and "/" and "f".

Actually, only your last is necessary - "/f" was the problem.

ATL:: dl+ /f bc=y

CalVol Feb 10, 2010 10:50 pm

This is a VERY helpful thread. Thanks^

CV

Romelle Feb 11, 2010 7:58 am

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

straightahead Oct 16, 2010 8:14 am

Thanks for the info. One of the most valuable threads!

igopogo Sep 20, 2011 7:48 am

Bah, I know I've done this before...but how do I combine this with the alliance tag?

txrandom Sep 20, 2011 8:52 am


Originally Posted by igopogo (Post 17140171)
Bah, I know I've done this before...but how do I combine this with the alliance tag?

/alliance skyteam|star-alliance|oneworld

Choose one!


All times are GMT -6. The time now is 3:40 pm.


This site is owned, operated, and maintained by MH Sub I, LLC dba Internet Brands. Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Designated trademarks are the property of their respective owners.