Air Shopping Rules Manager

 

Air Shopping Rules Manager brings a new level of usability to our best-in-class low fare search product Bargain Finder Max. The GUI based Rule Manager will allow users to define rules that may be used in BFM requests to personalize the response without the need to specify a long string of attributes. A wide range of user-specified criteria can be applied to the search by using the new "Persona" parameter in the family of Bargain Finder Max search queries. For a comprehensive explanation of the product and a list of search criteria which can be included in a traveler persona, refer to the User's Guide document linked below.

Note: The Air Shopping Rules Manager currently applies only to Bargain Finder Max in version 4.2.0 or higher. To activate Bargain Finder Max, please contact your Sabre Account Representative for assistance.

API Information

Target Audience
All Sabre APIs Customers
Current Version
v4.2.0
Authentication
Sessionless Token
Methods/Endpoints
POST v4.2.0/shop/flights HTTP/1.1

Ready to try the APIs?

Ready to get your hands dirty?

 Register Try the APIs

Ready to launch?

Ready to step up to the production level service? We're standing by to fit you for your spacesuit.

Request Production Key

Sample request

The samples below will show how the Rules can be used in a Bargain Finder Max entry using the new "TravelerPersonaName" attribute. A wide range of user-specified criteria can be applied to the search by using the new "Persona" parameter in the family of Bargain Finder Max search queries. For the complete list, please consult the User's Guide document.

POST https://api.sabre.com/v4.2.0/shop/flights?mode=live
{
	"OTA_AirLowFareSearchRQ": {
		"Target": "Production",
		"Version": "4.2.0",
		"POS": {
			"Source": {
				"PseudoCityCode": "2K9I",
				"RequestorID": {
					"Type": "0.AAA.X",
					"ID": "REQ.ID",
					"CompanyName": {
						"Code": "OTAQA"
					}
				}
			}
		},
		"OriginDestinationInformation": {
			"RPH": 1,
			"DepartureDateTime": "2018-08-10T00:00:00",
			"OriginLocation": {
				"LocationCode": "LAX"
			},
			"DestinationLocation": {
				"LocationCode": "DFW"
			},
			"TPA_Extensions": {
				"SegmentType": {
					"Code": "O"
				}
			}
		},
		"TravelPreferences": {
			"TPA_Extensions": ""
		},
		"TravelerInfoSummary": {
			"SeatsRequested": 1,
			"AirTravelerAvail": {
				"PassengerTypeQuantity": {
					"Code": "ADT",
					"Quantity": 1
				}
			},
			"PriceRequestInformation": {
				"TPA_Extensions": ""
			}
		},
		"TPA_Extensions": {
			"IntelliSellTransaction": {
				"Debug": 0,
				"TravelerPersona": {
					"Name": "TRAVELER_PERSONA_NON_STOPS"
				},
				"SabreAth": {
					"Value": "",
					"BinarySecToken": "",
					"ConversationID": ""
				}
			}
		}
	}
}

Sample response

{
	"OTA_AirLowFareSearchRS": {
		"Version": "4.2.0",
		"PricedItinCount": 9,
		"BrandedOneWayItinCount": 0,
		"SimpleOneWayItinCount": 0,
		"DepartedItinCount": 0,
		"SoldOutItinCount": 0,
		"AvailableItinCount": 0,
		"Success": "",
		"Warnings": {
			"Warning": [
				{
					"Type": "WORKERTHREAD",
					"Code": "TRANSACTIONID",
					"MessageClass": "I",
					"ShortText": 3282358343726123415
				},
				{
					"Type": "SERVER",
					"Code": "ICCHLI100",
					"MessageClass": "I",
					"ShortText": 27038
				},
				{
					"Type": "DRE",
					"Code": "RULEID",
					"MessageClass": "I",
					"ShortText": 92022
				},
				{
					"Type": "DEFAULT",
					"Code": "RULEID",
					"MessageClass": "I",
					"ShortText": 82274
				},
				{
					"Type": "TPERSONA",
					"Code": "RULEID",
					"MessageClass": "I",
					"ShortText": 360
				},
				{
					"Type": "TPERSONA",
					"Code": "NAME",
					"MessageClass": "I",
					"ShortText": "TRAVELER_PERSONA_NON_STOPS"
				}
			]
		},
		"PricedItineraries": {
			"PricedItinerary": {
				"SequenceNumber": 1,
				"AirItinerary": {
					"DirectionInd": "OneWay",
					"OriginDestinationOptions": {
						"OriginDestinationOption": {
							"ElapsedTime": 177,
							"FlightSegment": {
								"DepartureDateTime": "2018-08-10T17:55:00",
								"ArrivalDateTime": "2018-08-10T22:52:00",
								"StopQuantity": 0,
								"FlightNumber": 5609,
								"ResBookDesigCode": "K",
								"ElapsedTime": 177,
								"DepartureAirport": {
									"LocationCode": "LAX",
									"TerminalID": 7
								},
								"ArrivalAirport": {
									"LocationCode": "DFW",
									"TerminalID": "E"
								},
								"OperatingAirline": {
									"Code": "UA",
									"FlightNumber": 5609,
									"CompanyShortName": "/SKYWEST DBA UNITED EXPRESS"
								},
								"Equipment": {
									"AirEquipType": "E7W"
								},
								"MarketingAirline": {
									"Code": "UA"
								},
								"MarriageGrp": "O",
								"DepartureTimeZone": {
									"GMTOffset": -7
								},
								"ArrivalTimeZone": {
									"GMTOffset": -5
								},
								"OnTimePerformance": {
									"Level": "N"
								},
								"TPA_Extensions": {
									"eTicket": {
										"Ind": "true"
									},
									"Mileage": {
										"Amount": 1235
									}
								}
							}
						}
					}
				},
				"AirItineraryPricingInfo": {
					"PricingSource": "ADVJR1",
					"PricingSubSource": "MIP",
					"FareReturned": "true",
					"LastTicketDate": "2018-03-24",
					"ItinTotalFare": {
						"BaseFare": {
							"Amount": 72.56,
							"CurrencyCode": "USD",
							"DecimalPlaces": 2
						},
						"FareConstruction": {
							"Amount": 72.56,
							"CurrencyCode": "USD",
							"DecimalPlaces": 2
						},
						"EquivFare": {
							"Amount": 72.56,
							"CurrencyCode": "USD",
							"DecimalPlaces": 2
						},
						"Taxes": {
							"Tax": {
								"TaxCode": "TOTALTAX",
								"Amount": 19.74,
								"CurrencyCode": "USD",
								"DecimalPlaces": 2
							}
						},
						"TotalFare": {
							"Amount": 92.30,
							"CurrencyCode": "USD",
							"DecimalPlaces": 2
						}
					},
					"PTC_FareBreakdowns": {
						"PTC_FareBreakdown": {
							"PassengerTypeQuantity": {
								"Code": "ADT",
								"Quantity": 1
							},
							"FareBasisCodes": {
								"FareBasisCode": {
									"BookingCode": "K",
									"AvailabilityBreak": "true",
									"DepartureAirportCode": "LAX",
									"ArrivalAirportCode": "DFW",
									"FareComponentBeginAirport": "LAX",
									"FareComponentEndAirport": "DFW",
									"FareComponentDirectionality": "FROM",
									"FareComponentVendorCode": "ATP",
									"GovCarrier": "UA",
									"$": "KAA2AKEN"
								}
							},
							"PassengerFare": {
								"BaseFare": {
									"Amount": 72.56,
									"CurrencyCode": "USD"
								},
								"FareConstruction": {
									"Amount": 72.56,
									"CurrencyCode": "USD",
									"DecimalPlaces": 2
								},
								"EquivFare": {
									"Amount": 72.56,
									"CurrencyCode": "USD",
									"DecimalPlaces": 2
								},
								"Taxes": {
									"Tax": [
										{
											"TaxCode": "AY",
											"Amount": 5.60,
											"CurrencyCode": "USD",
											"DecimalPlaces": 2,
											"CountryCode": "US"
										},
										{
											"TaxCode": "US1",
											"Amount": 5.44,
											"CurrencyCode": "USD",
											"DecimalPlaces": 2,
											"CountryCode": "US"
										},
										{
											"TaxCode": "ZP",
											"Amount": 4.20,
											"CurrencyCode": "USD",
											"DecimalPlaces": 2,
											"CountryCode": "US"
										},
										{
											"TaxCode": "XF",
											"Amount": 4.50,
											"CurrencyCode": "USD",
											"DecimalPlaces": 2,
											"CountryCode": "US"
										}
									],
									"TaxSummary": [
										{
											"TaxCode": "US1",
											"Amount": 5.44,
											"CurrencyCode": "USD",
											"DecimalPlaces": 2,
											"CountryCode": "US"
										},
										{
											"TaxCode": "ZP",
											"Amount": 4.20,
											"CurrencyCode": "USD",
											"DecimalPlaces": 2,
											"CountryCode": "US"
										},
										{
											"TaxCode": "AY",
											"Amount": 5.60,
											"CurrencyCode": "USD",
											"DecimalPlaces": 2,
											"CountryCode": "US"
										},
										{
											"TaxCode": "XF",
											"Amount": 4.50,
											"CurrencyCode": "USD",
											"DecimalPlaces": 2,
											"CountryCode": "US"
										}
									],
									"TotalTax": {
										"Amount": 19.74,
										"CurrencyCode": "USD",
										"DecimalPlaces": 2
									}
								},
								"OBFees": {
									"OBFee": {
										"Amount": 200.00,
										"CurrencyCode": "USD",
										"DecimalPlaces": 2
									}
								},
								"TotalFare": {
									"Amount": 92.30,
									"CurrencyCode": "USD"
								},
								"TPA_Extensions": {
									"Messages": {
										"Message": [
											{
												"AirlineCode": "UA",
												"Type": "N",
												"FailCode": 0,
												"Info": "NONREF/0VALUAFTDPT/CHGFEE"
											},
											{
												"Type": "W",
												"FailCode": 0,
												"Info": "VALIDATING CARRIER - UA"
											},
											{
												"Type": "W",
												"FailCode": 0,
												"Info": "CAT 15 SALES RESTRICTIONS FREE TEXT FOUND - VERIFY RULES"
											}
										]
									}
								}
							},
							"Endorsements": {
								"NonRefundableIndicator": "true"
							},
							"TPA_Extensions": {
								"FareCalcLine": {
									"Info": "LAX UA DFW72.56USD72.56END ZPLAX XFLAX4.5"
								}
							},
							"FareInfos": {
								"FareInfo": {
									"FareReference": "K",
									"TPA_Extensions": {
										"SeatsRemaining": {
											"Number": 9,
											"BelowMin": "false"
										},
										"Cabin": {
											"Cabin": "Y"
										},
										"Meal": {
											"Code": "D"
										}
									}
								}
							}
						}
					},
					"FareInfos": {
						"FareInfo": {
							"FareReference": "K",
							"TPA_Extensions": {
								"SeatsRemaining": {
									"Number": 9,
									"BelowMin": "false"
								},
								"Cabin": {
									"Cabin": "Y"
								},
								"Meal": {
									"Code": "D"
								}
							}
						}
					},
					"TPA_Extensions": {
						"DivideInParty": {
							"Indicator": "false"
						},
						"ValidatingCarrier": {
							"SettlementMethod": "ARC",
							"NewVcxProcess": "true",
							"Default": {
								"Code": "UA"
							}
						}
					}
				},
				"TicketingInfo": {
					"TicketType": "eTicket",
					"ValidInterline": "Yes"
				},
				"TPA_Extensions": {
					"ValidatingCarrier": {
						"Code": "UA"
					}
				}
			}
		}
	}
}

If you are a Sabre customer currently using Sabre APIs in production, access  Resources

Docs Navigation