![]() |
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% |
Originally Posted by MatthewLAX
(Post 11161909)
I had this thread bookmarked. It should be a sticky!
|
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!
|
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!
|
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? |
ATL:: dl+ / f bc=y
CHI just worked for me with no errors. |
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 |
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.
|
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 :) |
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". ATL:: dl+ /f bc=y |
This is a VERY helpful thread. Thanks^
CV |
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 |
Thanks for the info. One of the most valuable threads!
|
Bah, I know I've done this before...but how do I combine this with the alliance tag?
|
Originally Posted by igopogo
(Post 17140171)
Bah, I know I've done this before...but how do I combine this with the alliance tag?
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.