Versions Compared

Key

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

...

  • Private Leisure Fare Products

  • Spanish Resident and Large Family Discounts

  • Filter only direct flights, or limit the number of stops enroute.

  • Specify the preferred Cabin

  • Pricing Option - This will return all the available flight combinations with the cheapest available fare. The results of this can be used to display a scheduled driven request. For example you could filter all outbound flights to only display those that arrive before a certain time, and also filter all the return flights to only display those that depart after a certain. This is useful for business travelers who need to arrive in time for a meeting and leave one the meeting has finished. An OfferPrice can subsequently be done for the preferred flights, with an upsell option, to then see all the fares available on the said flights.

Insert excerpt
NDC2:DRAFT - New 17.2 COMBINEDNDC2:DRAFT - New 17.2 COMBINEDAPI Messages with Examples
API Messages with Examples
nameLegend
nopaneltrue

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

IATA PADIS Cabin code (This info will be introduced as preferredCabin in QPX RQ being just applied as a preference, so QPX other offers will return also our preference offers and other offers too).Mandatory for schema if 'Preference' tag is indicated and don't have other preference insidealso be returned).

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>