The OfferPrice request is used to price specified services that were returned in the AirShopping message response. This version mainly required /IATA_OfferPriceRQ/Request/DataLists elements to perform a valid request, the DataLists element structure is similar to the AirShopping response message.
The main DataLists elements are:
DataLists/OriginDestList/OriginDest: Contains the origin/destination data list definition
DataLists/PaxJourneyList/PaxJourney: Contains the journey data list definition
DataLists/PaxSegmentList/PaxSegment: Contains the segment data list definition
DataLists/ServiceDefinitionList: Contains the Service Definition data list definition
Supported Scenarios
Ancillaries (with cache): Depending on configuration, OfferPrice can also be used to gather information about ancillaries for selected offer.
Non-ancillaries (with cache): Old flow without ancillaries added.
OfferPriceRQ Structure
<ndc:IATA_OfferPriceRQ xmlns:ndc="http://www.iata.org/IATA/2015/00/2018.2/IATA_OfferPriceRQ"> <ndc:Party> <ndc:Sender> Sender information </ndc:Sender> </ndc:Party> <ndc:PayloadAttributes> Payload attributes like version </ndc:PayloadAttributes> <ndc:PointOfSale> Point of sale information </ndc:PointOfSale> <ndc:Request> <ndc:DataLists> Datalist information like passenger information </ndc:DataLists> <ndc:OfferPriceParameters> Parameters for the offerPrice like the currency </ndc:OfferPriceParameters> <ndc:PricedOffer> <ndc:CreateOrderItem> Data for create the offer </ndc:CreateOrderItem> <ndc:SelectedOffer> Selected offer from the list. </ndc:SelectedOffer> </ndc:PricedOffer> </ndc:Request></ndc:IATA_OfferPriceRQ>OfferPriceRS is to mapping is using injector. At the end, both messages are aggregated.
OfferPriceRS Structure
<OfferPriceRS> <PayloadAttributes> IATA standard payload attributes. </PayloadAttributes> <Response> <DataLists> <OriginDestList> OriginDestination data list definition with the PaxJourney refIDs. </OriginDestList> <PaxJourneyList> PaxJourney data list definition with the duration and the PaxSegment refIDs. </PaxJourneyList> <PaxList> Passenger data list definition. </PaxList> <PaxSegmentList> PaxSegment data list definition with the flight detailed information. </PaxSegmentList> <PriceClassList> Price Class data list definition. </PriceClassList> <ServiceDefinitionList> Service Definition data list definition, where holds the Special Service List. </ServiceDefinitionList> </DataLists> <PricedOffer> <JourneyOverview> Summary of proposed Journey information in the context of this specific Offer. </JourneyOverview> <PTC_OfferParameters> Passenger Type summary information for an offer. </PTC_OfferParameters> <OfferItem> <OfferItemID>OFFIT-FLT-1</OfferItemID> (Example) <MandatoryInd>true</MandatoryInd> <FareDetail> Placeholder for Fare Detail structure. </FareDetail> <Service> The instance of a specific flight as it has been offered. </Service> <Price> The amount of money expected, required, or given in payment for something. </Price> </OfferItem> <OfferItem> <OfferItemID>OFFIT-SSR-1-baggage</OfferItemID> (Example) <MandatoryInd>false</MandatoryInd> <Service> The instance of a specific Service Definition as it has been offered. </Service> <Price> The amount of money expected, required, or given in payment for something. </Price> </OfferItem> </PricedOffer> <ShoppingResponse> Associated response ID from a prior shopping response. </ShoppingResponse> </Response></OfferPriceRS>Ancillaries
Depending on configuration on NDC Module site (for each sender party and NDC version number), OfferPrice request can be used to get details about ancillaries for selected offer. In that case, additional requests for ancillaries will be generated. To make this possible, OfferPrice request needs to contain information about a fare in FlightItem for PricedOffer. Returned data will be integrated into OfferPrice response.
FareDetail Structure in OfferPriceRQ
<ndc:PricedOffer> ... <ndc:FlightItem> ... <ndc:FareDetail> <ndc:FareComponent> Fare Component information <ndc:FareBasisCode> Fare basis code </ndc:FareBasisCode> <ndc:PaxSegmentRefID> Reference to a Segment ID </ndc:PaxSegmentRefID> </ndc:FareComponent> <ndc:FarePriceType> Price applied to a Fare Detail <ndc:FarePriceTypeCode> Code to indicate if price is a filed, net or sell amount </ndc:FarePriceTypeCode> <ndc:Price> <ndc:BaseAmount CurCode= Code for currency > Fare base amount</ndc:BaseAmount> <ndc:TaxSummary> <ndc:Tax> <ndc:Amount CurCode= Code for currency > Tax amount </ndc:Amount> <ndc:TaxCode> IATA TTBS Tax Code </ndc:TaxCode> </ndc:Tax> <ndc:TotalTaxAmount CurCode= Code for currency > Total of all applicable tax amounts </ndc:TotalTaxAmount> </ndc:TaxSummary> <ndc:TotalAmount CurCode= Code for currency > Total price </ndc:TotalAmount> </ndc:Price> </ndc:FarePriceType> <ndc:PaxRefID> Reference to a Passenger ID </ndc:PaxRefID> </ndc:FareDetail> ... </ndc:FlightItem> ...</ndc:PricedOffer>FareDetail Structure in OfferPriceRS
<ndc:Response>...<ndc:PricedOffer> ... <ndc:OfferItem> ... <ndc:FareDetail> <ndc:FareComponent> A portion of an itinerary between two consecutive fare construction points. If the journey has only one fare component, the points of origin and destination are the only fare construction points <ndc:FareBasisCode> Fare basis code. Example: Y26 </ndc:FareBasisCode> <ndc:PaxSegmentRefID> Reference to a Pax Segment ID. </ndc:PaxSegmentRefID> </ndc:FareComponent> <ndc:PaxRefID> Reference to a Passenger ID </ndc:PaxRefID> </ndc:FareDetail> ... </ndc:OfferItem> ...</ndc:PricedOffer>...<ndc:Response>