Go Back  FlyerTalk Forums > Miles&Points > Mileage Run Deals > Mileage Run Discussion
Reload this Page >

How to specify the booking code on ITA

Community
Wiki Posts
Search

How to specify the booking code on ITA

Thread Tools
 
Search this Thread
 
Old Aug 7, 2012, 4:17 pm
  #61  
FlyerTalk Evangelist
 
Join Date: Feb 2007
Location: Los Angeles / Basel
Programs: UA 1K MM, AA EXP, Hyatt Globalist
Posts: 26,927
Originally Posted by CokeandTaco
The forward slash belongs in front of the f

DL+ / f bc=m
Duh. Thanks!
MatthewLAX is offline  
Old Aug 13, 2012, 3:19 am
  #62  
 
Join Date: May 2012
Location: ATL
Programs: AA PLT, DL
Posts: 309
Ooops wrong thread.
DevilsX is offline  
Old Sep 1, 2012, 8:50 am
  #63  
 
Join Date: Oct 2010
Posts: 40
The ITA wiki shows how to specify booking code/airline pairs, as follows:
Code:
/f lh..f,aa..y
But this syntax is rejected. I'm not surprised, it's very strange to have two dots like that.

What's the correct way to do this?
zencat is offline  
Old Sep 1, 2012, 12:02 pm
  #64  
Company Representative - ITA Software
 
Join Date: Feb 2006
Location: Cambridge, MA
Posts: 362
Originally Posted by zencat
The ITA wiki shows how to specify booking code/airline pairs, as follows:
Code:
/f lh..f,aa..y
But this syntax is rejected. I'm not surprised, it's very strange to have two dots like that.

What's the correct way to do this?
I guess we don't support the comma anymore, but this works if you replace the comma with a vertical bar:

Code:
/f lh..f|aa..y
ITA Hacker is offline  
Old Sep 1, 2012, 1:43 pm
  #65  
 
Join Date: Oct 2010
Posts: 40
Originally Posted by ITA Hacker
I guess we don't support the comma anymore, but this works if you replace the comma with a vertical bar:
Code:
/f lh..f|aa..y
Thanks. That's accepted - and also I can replace the bar with an ampersand to logically AND them. Although it does not seem to be getting correct results. E.g. The AA classes: G,Q,N,O,S are only worth half the miles traveled, so I tried excluding them:
Code:
LHR :: o:aa,ba+ / f ~aa..o&~aa..g&~aa..q&~aa..n&~aa..s
JFK
ITA accepted this syntax, but then it still shows flights with booking code "O" anyway. (edit: my mistake.. AA class O flights appeared, but they were not operated by AA, so it looks correct).

Edit again (sorry).. It's really not working. I tried the following:
Code:
FRA :: f+ / f ~ua..M&~ua..E&~ua..U&~ua..H&~ua..Q&~ua..V&~ua..W&~ua..S&~ua..T&~ua..L&~ua..K&~ua..G&~ua..N
ORD :: f+ / f ~ua..M&~ua..E&~ua..U&~ua..H&~ua..Q&~ua..V&~ua..W&~ua..S&~ua..T&~ua..L&~ua..K&~ua..G&~ua..N
That should eliminate all the UA booking codes that award 100% of the miles (so only flights that award 125-200% should be found). However, this results in "K" class flights that are operated by United. Why didn't "~ua..k" work?

Thinking that the ampersand doesn't work, I simplified the query:
Code:
FRA :: f+ / f ~ua..K
ORD :: f+ / f ~ua..K
Still, class K United flights are found despite the negation.

Last edited by zencat; Sep 1, 2012 at 2:39 pm
zencat is offline  
Old Sep 1, 2012, 2:38 pm
  #66  
Company Representative - ITA Software
 
Join Date: Feb 2006
Location: Cambridge, MA
Posts: 362
Originally Posted by zencat
Code:
FRA :: f+ / f ~ua..M&~ua..E&~ua..U&~ua..H&~ua..Q&~ua..V&~ua..W&~ua..S&~ua..T&~ua..L&~ua..K&~ua..G&~ua..N
ORD :: f+ / f ~ua..M&~ua..E&~ua..U&~ua..H&~ua..Q&~ua..V&~ua..W&~ua..S&~ua..T&~ua..L&~ua..K&~ua..G&~ua..N
That should eliminate all the UA booking codes that award 100% of the miles (so only flights that award 125-200% should be found). However, this results in "K" class flights that are operated by United. Why didn't "~ua..k" work?
These are the fare basis codes, not the booking codes. So you're prohibiting fares called "N" and "K" and so forth, which actually don't exist, so the restriction doesn't do anything.

If you want to control booking classes, you want something more like "/f !bc=M&!bc=E..."

You can also use wildcarded fare basis codes; the industry uses a dash to indicate "any sequence of characters", and usually (but not always) the first letter of the fare basis corresponds to the booking code that will be used: "/f !ua..M-&!ua..E-&..."
ITA Hacker is offline  
Old Sep 1, 2012, 2:45 pm
  #67  
 
Join Date: Oct 2010
Posts: 40
Originally Posted by ITA Hacker
These are the fare basis codes, not the booking codes. So you're prohibiting fares called "N" and "K" and so forth, which actually don't exist, so the restriction doesn't do anything.

If you want to control booking classes, you want something more like "/f !bc=M&!bc=E..."
Ah, thanks for pointing that out. I don't know the difference, but it seems it's booking codes that are of interest.

What you're suggesting would seem to negate booking code "M" and "E" for all airlines. But they have different meanings for each airline. E.g. class K on UA is worth 100% of the mileage, but class K on LH is only worth 50%.

So suppose I want the search to be open to all airlines, but I want it to exclude the booking codes M and E of LH, but allow M and E for all other airlines. How would that be written?

(edit) I'm quite confused about the difference between "fare basis codes" and "booking codes". The UA link in my post calls them "fare classes", and shows fare class M and E as being worth 100% mileage credit. "Booking code" is not in the FT glossary, but "fare basis" is, and fare basis is described as what I thought a booking code was.

Last edited by zencat; Sep 1, 2012 at 2:56 pm
zencat is offline  
Old Oct 19, 2013, 6:41 pm
  #68  
 
Join Date: Feb 2012
Location: Long Island, NY
Posts: 19
Originally Posted by zencat
What you're suggesting would seem to negate booking code "M" and "E" for all airlines. But they have different meanings for each airline. E.g. class K on UA is worth 100% of the mileage, but class K on LH is only worth 50%.

So suppose I want the search to be open to all airlines, but I want it to exclude the booking codes M and E of LH, but allow M and E for all other airlines. How would that be written?
I don't think this is possible... I'd like to do the same thing, e.g.

Airlines: Air China OR United Airlines
Booking Class: Exclude N from Air China, but allow N for United Airlines ...
joespo is offline  
Old Nov 11, 2013, 9:17 pm
  #69  
 
Join Date: May 2012
Posts: 1
Originally Posted by zencat
(edit) I'm quite confused about the difference between "fare basis codes" and "booking codes". The UA link in my post calls them "fare classes", and shows fare class M and E as being worth 100% mileage credit. "Booking code" is not in the FT glossary, but "fare basis" is, and fare basis is described as what I thought a booking code was.
I only have a surface understanding of these matters, but will share what little knowledge is at my disposal. An example if probably the best way to illustrate the difference:

Suppose we search a one-way itinerary between Vancouver (YVR) and Xiamen (XMN) on December 11th, 2013. One of the itineraries available to us is AC3 to Tokyo (NRT), followed by NH935. The fare basis for this itinerary is T7HXCNO. This is Air Canada's rules and restrictions governing this fare - since they are the carrier effectively selling you passage between YVR and XMN. As generally is the case, the first letter of the fare basis code corresponds to the booking class for flight AC3: T. However, the booking class for the NH935 leg is K. And as far as frequent flyer programs are concerned, it is the booking class that matters. So in determining how many miles you would be awarded for flying this itinerary, you would consider YVR->NRT on AC booking class T and NRT->XMN on NH booking class K.
Slitty is offline  
Old Feb 16, 2015, 3:00 am
  #70  
 
Join Date: Aug 2008
Location: YXY
Posts: 3,506
How do I exclude a booking class from a specific multi-leg-itinerary?

I know I want to fly from ORD on UA with two stops to ATL, and I want to exclude booking class N.

If I search with "UA UA UA", I get the required routings, but many includes a leg in N. If I search with "/ f ~bc=N" I only get direct and one-stop routings.

How do I combine the two restrictions? I've tried many variations, but all result in "bad specification" error messages. TNX
sokolov is offline  
Old Feb 16, 2015, 3:19 am
  #71  
FlyerTalk Evangelist
 
Join Date: Mar 1999
Posts: 12,097
I am not sure what you're entering, but specifying "UA UA UA / f ~bc=N" returns exactly what you're looking for when I use it.
hillrider is offline  
Old Feb 18, 2015, 5:42 pm
  #72  
 
Join Date: Feb 2015
Location: Johannesburg
Programs: OZ *G, AB Sapphire
Posts: 34
searching in fare rules?

Is it possible with ITA to search on the textual contents of the fare rules? fi if i'm looking for flights for add-ons i'd need something like "add-ons permitted" in cat 10..

Category 10: Combinability
FARES MAY BE COMBINED ON A HALF ROUND TRIP BASIS WITH ANY
FARE FOR ANY CARRIER IN ANY RULE AND TARIFF TO FORM
SINGLE/DOUBLE OPEN JAWS/ROUND TRIPS/CIRCLE TRIPS.
ADD-ONS PERMITTED.
BigWilly is offline  
Old Feb 19, 2015, 2:41 pm
  #73  
 
Join Date: Aug 2008
Location: YXY
Posts: 3,506
Originally Posted by hillrider
I am not sure what you're entering, but specifying "UA UA UA / f ~bc=N" returns exactly what you're looking for when I use it.
Ah! Thank you. According to the official descriptions, "F" specifies a single flight. I don't want a single flight, so I tried without the F. And that didn't work.
sokolov is offline  
Old Sep 20, 2015, 12:58 pm
  #74  
 
Join Date: Aug 2003
Location: UK
Posts: 297
Syntax for multiple airlines

Hello

I think this should work, but it doesn't:

/ f os..y|os..b|os..m|os..u|os..h|os..q|os..g|ca..y|ca ..b|ca..m|ca..h|ca..k|ca..w|ca..l

(I am wanting to restrict to 100% earning on OS or CA - but no results are returned - not an error)

Any ideas?

Thanks

LHR*G
LHR*G is offline  
Old Sep 21, 2015, 8:03 am
  #75  
 
Join Date: Sep 2013
Location: CHI
Posts: 501
Is it worth making this thread into a WikiPost? There is a lot of useful stuff in here, but it's rather difficult to pull it all out. It also seems that ITA doesn't really keep their own page updated correctly...
CabinCaptive is offline  


Contact Us - Manage Preferences - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service -

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