Return Fare Type Label in Response

Background

Agents will be able to shop for Offers based on Fare type preference (Negotiated, Non-Negotiated, Leisure) by passing it in the AirShopping request. AirShopping will return Offers based on the Fare type requested, if available for the Agent. Agents will then make a booking by choosing an appropriate Fare returned in Offer.

Currently NDC doesn’t return Fare type description in AirShopping response to enable Agents to identify which Fare type has been returned. This new feature will enable AirShopping response to pass the Fare type label under each Offers so that an Agent is able to identify the type of Fare returned before making a booking.

With this new feature:


How will this work?

AirShopping will return ‘FareType1’, ‘FareType2’, etc in the description under the Offers based on the different type of Offers returned. This is further defined in the disclosure list similar to the Baggage info. Please find below the reference mentioned.

FareType label under Offer:

<Offer OfferID="OF-bdcb747e-5cc2-4622-ab3f-66e3a15f844a" Owner="BA" RequestedDateInd="true">
  <PaymentTimeLimitDateTime>2020-04-10T23:59:59.000Z</PaymentTimeLimitDateTime>
  <TotalPrice>
    <SimpleCurrencyPrice Code="GBP">5189.46</SimpleCurrencyPrice>
  </TotalPrice>
  <DescriptionReferences>FareType1</DescriptionReferences>
</Offer>

FareType defined in DisclosureList:

<Disclosures ListKey="FareType1">
   <Description>
     <Text>Negotiated</Text>
   </Description>
</Disclosures>


URL Service URL


AirShopping

https://test.api.ba.com/selling-distribution/sandbox/AirShopping/17.2/V1

To be able to access this URL you will need to register for the Sandbox Environment. Click here to register.

Samples for Return Fare Type Labels in Response

Response