Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt
nameShoppingPreferences
*See Note Below

NAME

DESCRIPTION

FORMAT

ALLOWED/POSSIBLE VALUES

NDC SERVICES

<Preference>

If the Preference tag is included in the request, one or more of the following must be included.

If more that one is used, then they must be sent in the same order as listed below.

FarePreferences / Types / Type

Info

Attribute

Type@PreferencesContextPreferencesContext

Type of product selected.

Mandatory for schema if 'Preference' tag is indicated and don't have other preference inside.

Alphanumeric

For the Products currently available through our NDC channel, and the codes required to request them please see the information in Private Leisure Fares.

AirShoppingRQ

OfferPriceRQ

OrderReshopRQ

FarePreferences / TicketDesigs / TicketDesig

Spanish Resident discount code.

Mandatory for schema if 'Preference' tag is indicated and don't have other preference inside.

Alphanumeric

  • RC (Residente Canarias)

  • BP (Residente Baleares)

  • RM (Residente Melilla)

  • RE (Residente Ceuta)

  • BI (Para el interior de Baleares)

  • DC (Para el interior de Canarias)

AirShoppingRQ

OfferPriceRQ

Spanish Large Family discount code

  • F1 (General discount)

  • F2 (Special discount)

FlightPreferences / Characteristic / DirectPreferences

Maximum number of stops.

Mandatory for schema if 'Preference' tag is indicated and don't have other preference inside

Numeric

  • 0 or Empty - Direct Flights (Default)

  • n (1, 2, 3...) - Maximum number

AirShoppingRQ

OfferPriceRQ

OrderReshopRQ

CabinPreferences / CabinType / Code

IIATA IATA PADIS Cabin code (This info will be applied as a preference, so other offers will also be returned).Mandatory for schema if 'Preference' tag is indicated and don't have other preference inside

1 Numeric

PADIS → 9873 Cabin class of service, coded

1 → First class, Highest class of service (First Class Category)
2 → Second class, Medium class of service (Business Class Category)
3 → Third class, lowest class of service (all economy/coach class categories)
4 → Economy/coach premium
5 → Economy/coach

AirShoppingRQ

OfferPriceRQ

OrderReshopRQ

PricingMethodPreference / BestPricingOption

Code to select best pricing option.

Optional and just for NDC.To obtain all available flight combinations with the cheapest available fare. The results can be used to display a scheduled driven request.

Only for unpaid Orders when used in OrderReshopRQ

1 Alphabetical

  • C (cheapest fares)

  • Y (cheapest fares for a specific cabin type)

AirShoppingRQ

OfferPriceRQ

OrderReshopRQ

*Preference

Please note that the preferences Fare, Flight, Cabin and PricingMethod must always be past in this sequence if more that one is being used.

Preference examples

Expand
titleExample - AirShoppingRQ - Preference
Code Block
languagexml
<Preference>
	<FarePreferences>
		<Types>
			<Type PreferencesContext="SPORT">758</Type>
		</Types>
	</FarePreferences>
	<FlightPreferences>
		<Characteristic>
			<DirectPreferences>5</DirectPreferences>
		</Characteristic>
	</FlightPreferences>
</Preference>
Expand
titleAirShoppingRQ Preference example
Code Block
languagexml
<Preference>
  <FarePreferences>
      <TicketDesigs>
        <TicketDesig>RC</TicketDesig>
      </TicketDesigs>
  </FarePreferences>
  <PricingMethodPreference>
      <BestPricingOption>Y</BestPricingOption>
  </PricingMethodPreference>
  <CabinPreferences>
      <CabinType>
        <Code>2</Code>
      </CabinType>
  </CabinPreferences>
</Preference>
Expand
titleExample - OfferPriceRQ - Preference
Code Block
languagexml
<Preference>
	<FarePreferences>
		<Types>
			<Type PreferencesContext="SPORT">758</Type>
		</Types>
	</FarePreferences>
	<FlightPreferences>
		<...>
</Preference>
Expand
titleExample - OrderReshopRQ - Preference
Code Block
languagexml
<Preference>
  <FlightPreferences>
      <Characteristic>
        <DirectPreferences>4</DirectPreferences>
      </Characteristic>
  </FlightPreferences>
</Preference>