FlightPrice
Attachments:
Introduction
The FlightPrice Webservice provides Travel Agents with the ability to price exact offer from AirShoppingRS for all passengers types in the search query in case fare Family pricing. It is optional to call FlightPrice service for Lowest available pricing option in AirShoppingRQ. FlightPrice service returns price quote for the selected offer, fight details, base amount, tax breakdown and product attributes.
FlightPrice Webservice
Limitations (This list is not exhaustive):
- Itinerary with only children passengers and with only infant passengers will not be priced
- Cabin Upsell option is not returned
This web service is called with the following inputs:
- Shopping response ID
- Offer ID
- Offer item ID for homogeneous passenger type in the initial search query
- Offer item ID "Not Used" for non-homogeneous passenger type in the initial search query
The output data this service returns include:
- Priced passengers type and quantity
- Offer ID
- Offer price per passenger type with the total price, the base amount, applicable tax details
- Checked baggage information
- Flight details such as Flight Number, Flight schedule information, Equipment, Cabin, etc.
Access
In order to access API, you will need to pass the following two headers for each call.
Authentication and authorization stand on the protocol layer using basic HTTP authentication. Given username and password with separator “:” MUST be base64-encoded and passed as HTTP header “Authorization”. This header is mandatory for all requests. For example, if "TestLogin" set as the username and "TestPass" set as the password, then the field's value is base64-encoding of TestLogin: TestPass, or QWxhZGRpbjpPcGVuU2VzYW1l. Then the Authorization header will appear as Authorization: Basic QWxhZGRpbjpPcGVuU2VzYW1l
- Header 'Content-Type: text/xml'
FlightPriceRQ structure
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.iata.org/IATA/EDIST/2017.1 ../FlightPriceRQ.xsd"> <Body> <FlightPriceRQ Version="17.1" PrimaryLangID="EN" xmlns="http://www.iata.org/IATA/EDIST/2017.1"> <Document> <Name>PS</Name> </Document> <Party> <Sender> <TravelAgencySender> <Name>TravelAgent</Name> <PseudoCity>IEVPS28ND</PseudoCity> <AgencyID>TA123</AgencyID> </TravelAgencySender> </Sender> </Party> <ShoppingResponseID> <ResponseID>d8a36b93-c95a-4d52-947d-3a9641916a63</ResponseID> </ShoppingResponseID> <Query> <Offers> <Offer> <OfferID Owner="PS">31973263-320b-4261-8f4e-6e13c32563f6</OfferID> <OfferItemIDs> <OfferItemID Owner="PS">31973263-320b-4261-8f4e-6e13c32563f6-PAX1</OfferItemID> </OfferItemIDs> </Offer> </Offers> </Query> </FlightPriceRQ> </Body> </Envelope>
FlightPriceRQ fields description
M = Mandatory; O = Optional; C = Conditional
Field name | Description | M/O/C | Example |
---|---|---|---|
FlightPriceRQ | Attributes: Version - Specify NDC schema message version. Always pass 17.1 PrimaryLangID - Specifies the agent’s preferred language. Service response will be returned in this language. IF not specified default language = EN | M O | <FlightPriceRQ Version="17.1" PrimaryLangID="EN" xmlns="http://www.iata.org/IATA/EDIST/2017.1"> |
↳ Document | NDC Message Document information. | M | |
↳ Name | Document name will be always "PS" | M | < Document > < Name >PS</ Name > </ Document > |
↳ Party | NDC Message/ Transaction Party(s) information. Note that information about parties is intended for business use, it is not intended for transaction authentication and routing of the message. | M | |
↳ Sender | Message Sender information. | M | |
↳ TravelAgencySender | SELLER: Travel Agency | M | |
↳ Name | Name of the travel agency | M | Smith Travel |
↳ PseudoCity | Pseudo City code./ Office ID | M | IEVPS00ZZ |
↳ AgencyID | Unique Agency Seller ID. | O | SASELLER1 |
↳ ShoppingResponseID | A collection of shopping session (message response) IDs, including the unique (master) Shopping Response ID, Offer IDs, Offer Item IDs and Service IDs. | O | |
↳ ResponseID | Unique shopping session response ID. | M | <ResponseID>a4775059-0c64-4f5e-858b-d0b89c8397c8</ResponseID> |
↳ Query | Core Flight Pricing query parameters. | M | |
↳ Offers | Airline Offers. | M | |
↳ Offer | Offer Details. | M | |
↳ OfferID | Globally unique Offer instance ID. | M | <OfferID Owner="PS">527c5fd0-9118-4d52-bcae-0b46cac3e364</OfferID> |
↳ OfferItemIDs | Offer items. | M | |
↳ OfferItemID | The airline-assigned unique Offer Item ID. | M | <OfferItemID Owner="PS">31bc358b-36e2-42f0-91a5-4685e2b380c4</OfferItemID> |
FlightPriceRS structure
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.iata.org/IATA/EDIST/2017.1 FlightPriceRS.xsd"> <Header/> <Body> <FlightPriceRS xmlns:ns2="http://www.iata.org/IATA/EDIST/2017.1" PrimaryLangID="EN" Version="17.1"> <Document> <Name>PS</Name> </Document> <Success/> <ShoppingResponseID> <ResponseID>8d770413-c10b-4dbc-9bb9-3b1d1d5c7598</ResponseID> </ShoppingResponseID> <PricedFlightOffers> <PricedFlightOffer> <Parameters> <TotalItemQuantity>4</TotalItemQuantity> <PTC_Priced> <Requested Quantity="1">CHD</Requested> <Priced Quantity="1">CHD</Priced> </PTC_Priced> <PTC_Priced> <Requested Quantity="1">INF</Requested> <Priced Quantity="1">INF</Priced> </PTC_Priced> <PTC_Priced> <Requested Quantity="2">ADT</Requested> <Priced Quantity="2">ADT</Priced> </PTC_Priced> </Parameters> <OfferID Owner="PS">66ef5fd8-f0b3-4015-97c9-4e691ac34dcb</OfferID> <OfferPrice OfferItemID="66ef5fd8-f0b3-4015-97c9-4e691ac34dcb-PAX1"> <RequestedDate> <PriceDetail> <TotalAmount> <SimpleCurrencyPrice Code="USD">1325.45</SimpleCurrencyPrice> </TotalAmount> <BaseAmount Code="USD">1075.00</BaseAmount> <Taxes> <Total Code="USD">250.45</Total> <Breakdown> <Tax> <Amount Code="USD">7.00</Amount> <TaxCode>XY</TaxCode> </Tax> <Tax> <Amount Code="USD">19.00</Amount> <TaxCode>YK</TaxCode> </Tax> <Tax> <Amount Code="USD">5.60</Amount> <TaxCode>AY</TaxCode> </Tax> <Tax> <Amount Code="USD">160.00</Amount> <TaxCode>YR</TaxCode> </Tax> <Tax> <Amount Code="USD">3.96</Amount> <TaxCode>XA</TaxCode> </Tax> <Tax> <Amount Code="USD">5.89</Amount> <TaxCode>YC</TaxCode> </Tax> <Tax> <Amount Code="USD">7.30</Amount> <TaxCode>UA</TaxCode> </Tax> <Tax> <Amount Code="USD">37.20</Amount> <TaxCode>US</TaxCode> </Tax> <Tax> <Amount Code="USD">4.50</Amount> <TaxCode>XF</TaxCode> </Tax> </Breakdown> </Taxes> <SegmentReferences>SEG1 SEG2 SEG3 SEG4</SegmentReferences> </PriceDetail> <Associations> <AssociatedPassenger> <PassengerReferences>PAX1</PassengerReferences> </AssociatedPassenger> </Associations> </RequestedDate> <FareDetail> <FareComponent> <SegmentReference>SEG1</SegmentReference> <FareBasis> <FareBasisCode> <Code>SL02FFU5</Code> </FareBasisCode> <RBD>S</RBD> </FareBasis> <FareRules> <Penalty> <ApplicableFeeRemarks> <Remark>REFUND:Refund allowed</Remark> <Remark>CHANGES:Unlimited changes</Remark> </ApplicableFeeRemarks> </Penalty> </FareRules> </FareComponent> <FareComponent> <SegmentReference>SEG2</SegmentReference> <FareBasis> <FareBasisCode> <Code>SL02FFU5</Code> </FareBasisCode> <RBD>S</RBD> </FareBasis> <FareRules> <Penalty> <ApplicableFeeRemarks> <Remark>REFUND:Refund allowed</Remark> <Remark>CHANGES:Unlimited changes</Remark> </ApplicableFeeRemarks> </Penalty> </FareRules> </FareComponent> <FareComponent> <SegmentReference>SEG3</SegmentReference> <FareBasis> <FareBasisCode> <Code>SL02FFU5</Code> </FareBasisCode> <RBD>S</RBD> </FareBasis> <FareRules> <Penalty> <ApplicableFeeRemarks> <Remark>REFUND:Refund allowed</Remark> <Remark>CHANGES:Unlimited changes</Remark> </ApplicableFeeRemarks> </Penalty> </FareRules> </FareComponent> <FareComponent> <SegmentReference>SEG4</SegmentReference> <FareBasis> <FareBasisCode> <Code>SL02FFU5</Code> </FareBasisCode> <RBD>S</RBD> </FareBasis> <FareRules> <Penalty> <ApplicableFeeRemarks> <Remark>REFUND:Refund allowed</Remark> <Remark>CHANGES:Unlimited changes</Remark> </ApplicableFeeRemarks> </Penalty> </FareRules> </FareComponent> </FareDetail> </OfferPrice> <OfferPrice OfferItemID="66ef5fd8-f0b3-4015-97c9-4e691ac34dcb-PAX2"> <RequestedDate> <PriceDetail> <TotalAmount> <SimpleCurrencyPrice Code="USD">1325.45</SimpleCurrencyPrice> </TotalAmount> <BaseAmount Code="USD">1075.00</BaseAmount> <Taxes> <Total Code="USD">250.45</Total> <Breakdown> <Tax> <Amount Code="USD">7.00</Amount> <TaxCode>XY</TaxCode> </Tax> <Tax> <Amount Code="USD">19.00</Amount> <TaxCode>YK</TaxCode> </Tax> <Tax> <Amount Code="USD">5.60</Amount> <TaxCode>AY</TaxCode> </Tax> <Tax> <Amount Code="USD">160.00</Amount> <TaxCode>YR</TaxCode> </Tax> <Tax> <Amount Code="USD">3.96</Amount> <TaxCode>XA</TaxCode> </Tax> <Tax> <Amount Code="USD">5.89</Amount> <TaxCode>YC</TaxCode> </Tax> <Tax> <Amount Code="USD">7.30</Amount> <TaxCode>UA</TaxCode> </Tax> <Tax> <Amount Code="USD">37.20</Amount> <TaxCode>US</TaxCode> </Tax> <Tax> <Amount Code="USD">4.50</Amount> <TaxCode>XF</TaxCode> </Tax> </Breakdown> </Taxes> <SegmentReferences>SEG1 SEG2 SEG3 SEG4</SegmentReferences> </PriceDetail> <Associations> <AssociatedPassenger> <PassengerReferences>PAX2</PassengerReferences> </AssociatedPassenger> </Associations> </RequestedDate> <FareDetail> <FareComponent> <SegmentReference>SEG1</SegmentReference> <FareBasis> <FareBasisCode> <Code>SL02FFU5</Code> </FareBasisCode> <RBD>S</RBD> </FareBasis> <FareRules> <Penalty> <ApplicableFeeRemarks> <Remark>REFUND:Refund allowed</Remark> <Remark>CHANGES:Unlimited changes</Remark> </ApplicableFeeRemarks> </Penalty> </FareRules> </FareComponent> <FareComponent> <SegmentReference>SEG2</SegmentReference> <FareBasis> <FareBasisCode> <Code>SL02FFU5</Code> </FareBasisCode> <RBD>S</RBD> </FareBasis> <FareRules> <Penalty> <ApplicableFeeRemarks> <Remark>REFUND:Refund allowed</Remark> <Remark>CHANGES:Unlimited changes</Remark> </ApplicableFeeRemarks> </Penalty> </FareRules> </FareComponent> <FareComponent> <SegmentReference>SEG3</SegmentReference> <FareBasis> <FareBasisCode> <Code>SL02FFU5</Code> </FareBasisCode> <RBD>S</RBD> </FareBasis> <FareRules> <Penalty> <ApplicableFeeRemarks> <Remark>REFUND:Refund allowed</Remark> <Remark>CHANGES:Unlimited changes</Remark> </ApplicableFeeRemarks> </Penalty> </FareRules> </FareComponent> <FareComponent> <SegmentReference>SEG4</SegmentReference> <FareBasis> <FareBasisCode> <Code>SL02FFU5</Code> </FareBasisCode> <RBD>S</RBD> </FareBasis> <FareRules> <Penalty> <ApplicableFeeRemarks> <Remark>REFUND:Refund allowed</Remark> <Remark>CHANGES:Unlimited changes</Remark> </ApplicableFeeRemarks> </Penalty> </FareRules> </FareComponent> </FareDetail> </OfferPrice> <OfferPrice OfferItemID="66ef5fd8-f0b3-4015-97c9-4e691ac34dcb-PAX3"> <RequestedDate> <PriceDetail> <TotalAmount> <SimpleCurrencyPrice Code="USD">169.45</SimpleCurrencyPrice> </TotalAmount> <BaseAmount Code="USD">108.00</BaseAmount> <Taxes> <Total Code="USD">61.45</Total> <Breakdown> <Tax> <Amount Code="USD">7.00</Amount> <TaxCode>XY</TaxCode> </Tax> <Tax> <Amount Code="USD">5.60</Amount> <TaxCode>AY</TaxCode> </Tax> <Tax> <Amount Code="USD">3.96</Amount> <TaxCode>XA</TaxCode> </Tax> <Tax> <Amount Code="USD">5.89</Amount> <TaxCode>YC</TaxCode> </Tax> <Tax> <Amount Code="USD">1.80</Amount> <TaxCode>UA</TaxCode> </Tax> <Tax> <Amount Code="USD">37.20</Amount> <TaxCode>US</TaxCode> </Tax> </Breakdown> </Taxes> <SegmentReferences>SEG1 SEG2 SEG3 SEG4</SegmentReferences> </PriceDetail> <Associations> <AssociatedPassenger> <PassengerReferences>PAX3</PassengerReferences> </AssociatedPassenger> </Associations> </RequestedDate> <FareDetail> <FareComponent> <SegmentReference>SEG1</SegmentReference> <FareBasis> <FareBasisCode> <Code>SL02FFU5</Code> </FareBasisCode> <RBD>S</RBD> </FareBasis> <FareRules> <Penalty> <ApplicableFeeRemarks> <Remark>REFUND:Refund allowed</Remark> <Remark>CHANGES:Unlimited changes</Remark> </ApplicableFeeRemarks> </Penalty> </FareRules> </FareComponent> <FareComponent> <SegmentReference>SEG2</SegmentReference> <FareBasis> <FareBasisCode> <Code>SL02FFU5</Code> </FareBasisCode> <RBD>S</RBD> </FareBasis> <FareRules> <Penalty> <ApplicableFeeRemarks> <Remark>REFUND:Refund allowed</Remark> <Remark>CHANGES:Unlimited changes</Remark> </ApplicableFeeRemarks> </Penalty> </FareRules> </FareComponent> <FareComponent> <SegmentReference>SEG3</SegmentReference> <FareBasis> <FareBasisCode> <Code>SL02FFU5</Code> </FareBasisCode> <RBD>S</RBD> </FareBasis> <FareRules> <Penalty> <ApplicableFeeRemarks> <Remark>REFUND:Refund allowed</Remark> <Remark>CHANGES:Unlimited changes</Remark> </ApplicableFeeRemarks> </Penalty> </FareRules> </FareComponent> <FareComponent> <SegmentReference>SEG4</SegmentReference> <FareBasis> <FareBasisCode> <Code>SL02FFU5</Code> </FareBasisCode> <RBD>S</RBD> </FareBasis> <FareRules> <Penalty> <ApplicableFeeRemarks> <Remark>REFUND:Refund allowed</Remark> <Remark>CHANGES:Unlimited changes</Remark> </ApplicableFeeRemarks> </Penalty> </FareRules> </FareComponent> </FareDetail> </OfferPrice> <OfferPrice OfferItemID="66ef5fd8-f0b3-4015-97c9-4e691ac34dcb-PAX4"> <RequestedDate> <PriceDetail> <TotalAmount> <SimpleCurrencyPrice Code="USD">1056.45</SimpleCurrencyPrice> </TotalAmount> <BaseAmount Code="USD">806.00</BaseAmount> <Taxes> <Total Code="USD">250.45</Total> <Breakdown> <Tax> <Amount Code="USD">7.00</Amount> <TaxCode>XY</TaxCode> </Tax> <Tax> <Amount Code="USD">19.00</Amount> <TaxCode>YK</TaxCode> </Tax> <Tax> <Amount Code="USD">5.60</Amount> <TaxCode>AY</TaxCode> </Tax> <Tax> <Amount Code="USD">160.00</Amount> <TaxCode>YR</TaxCode> </Tax> <Tax> <Amount Code="USD">3.96</Amount> <TaxCode>XA</TaxCode> </Tax> <Tax> <Amount Code="USD">5.89</Amount> <TaxCode>YC</TaxCode> </Tax> <Tax> <Amount Code="USD">7.30</Amount> <TaxCode>UA</TaxCode> </Tax> <Tax> <Amount Code="USD">37.20</Amount> <TaxCode>US</TaxCode> </Tax> <Tax> <Amount Code="USD">4.50</Amount> <TaxCode>XF</TaxCode> </Tax> </Breakdown> </Taxes> <SegmentReferences>SEG1 SEG2 SEG3 SEG4</SegmentReferences> </PriceDetail> <Associations> <AssociatedPassenger> <PassengerReferences>PAX4</PassengerReferences> </AssociatedPassenger> </Associations> </RequestedDate> <FareDetail> <FareComponent> <SegmentReference>SEG1</SegmentReference> <FareBasis> <FareBasisCode> <Code>SL02FFU5</Code> </FareBasisCode> <RBD>S</RBD> </FareBasis> <FareRules> <Penalty> <ApplicableFeeRemarks> <Remark>REFUND:Refund allowed</Remark> <Remark>CHANGES:Unlimited changes</Remark> </ApplicableFeeRemarks> </Penalty> </FareRules> </FareComponent> <FareComponent> <SegmentReference>SEG2</SegmentReference> <FareBasis> <FareBasisCode> <Code>SL02FFU5</Code> </FareBasisCode> <RBD>S</RBD> </FareBasis> <FareRules> <Penalty> <ApplicableFeeRemarks> <Remark>REFUND:Refund allowed</Remark> <Remark>CHANGES:Unlimited changes</Remark> </ApplicableFeeRemarks> </Penalty> </FareRules> </FareComponent> <FareComponent> <SegmentReference>SEG3</SegmentReference> <FareBasis> <FareBasisCode> <Code>SL02FFU5</Code> </FareBasisCode> <RBD>S</RBD> </FareBasis> <FareRules> <Penalty> <ApplicableFeeRemarks> <Remark>REFUND:Refund allowed</Remark> <Remark>CHANGES:Unlimited changes</Remark> </ApplicableFeeRemarks> </Penalty> </FareRules> </FareComponent> <FareComponent> <SegmentReference>SEG4</SegmentReference> <FareBasis> <FareBasisCode> <Code>SL02FFU5</Code> </FareBasisCode> <RBD>S</RBD> </FareBasis> <FareRules> <Penalty> <ApplicableFeeRemarks> <Remark>REFUND:Refund allowed</Remark> <Remark>CHANGES:Unlimited changes</Remark> </ApplicableFeeRemarks> </Penalty> </FareRules> </FareComponent> </FareDetail> </OfferPrice> <TimeLimits> <OfferExpiration DateTime="2019-12-02T12:37:14.736Z" Timestamp="2019-12-02T12:37:14.736Z"/> </TimeLimits> </PricedFlightOffer> </PricedFlightOffers> <DataLists> <CheckedBagAllowanceList> <CheckedBagAllowance ListKey="CB1" refs="PC1"> <PieceAllowance refs="PAX1 PAX2"> <ApplicableParty>Traveler</ApplicableParty> <TotalQuantity>2</TotalQuantity> <PieceMeasurements Quantity="2"> <PieceWeightAllowance> <MaximumWeight> <Value>23</Value> <UOM>Kilogram</UOM> </MaximumWeight> </PieceWeightAllowance> </PieceMeasurements> </PieceAllowance> </CheckedBagAllowance> <CheckedBagAllowance ListKey="CB2" refs="PC2"> <PieceAllowance refs="PAX1 PAX2"> <ApplicableParty>Traveler</ApplicableParty> <TotalQuantity>2</TotalQuantity> <PieceMeasurements Quantity="2"> <PieceWeightAllowance> <MaximumWeight> <Value>23</Value> <UOM>Kilogram</UOM> </MaximumWeight> </PieceWeightAllowance> </PieceMeasurements> </PieceAllowance> </CheckedBagAllowance> <CheckedBagAllowance ListKey="CB3" refs="PC3"> <PieceAllowance refs="PAX1 PAX2"> <ApplicableParty>Traveler</ApplicableParty> <TotalQuantity>2</TotalQuantity> <PieceMeasurements Quantity="2"> <PieceWeightAllowance> <MaximumWeight> <Value>23</Value> <UOM>Kilogram</UOM> </MaximumWeight> </PieceWeightAllowance> </PieceMeasurements> </PieceAllowance> </CheckedBagAllowance> <CheckedBagAllowance ListKey="CB4" refs="PC4"> <PieceAllowance refs="PAX1 PAX2"> <ApplicableParty>Traveler</ApplicableParty> <TotalQuantity>2</TotalQuantity> <PieceMeasurements Quantity="2"> <PieceWeightAllowance> <MaximumWeight> <Value>23</Value> <UOM>Kilogram</UOM> </MaximumWeight> </PieceWeightAllowance> </PieceMeasurements> </PieceAllowance> </CheckedBagAllowance> <CheckedBagAllowance ListKey="CB5" refs="PC1"> <PieceAllowance refs="PAX1 PAX2"> <ApplicableParty>Traveler</ApplicableParty> <TotalQuantity>2</TotalQuantity> <PieceMeasurements Quantity="2"> <PieceWeightAllowance> <MaximumWeight> <Value>23</Value> <UOM>Kilogram</UOM> </MaximumWeight> </PieceWeightAllowance> </PieceMeasurements> </PieceAllowance> </CheckedBagAllowance> <CheckedBagAllowance ListKey="CB6" refs="PC2"> <PieceAllowance refs="PAX1 PAX2"> <ApplicableParty>Traveler</ApplicableParty> <TotalQuantity>2</TotalQuantity> <PieceMeasurements Quantity="2"> <PieceWeightAllowance> <MaximumWeight> <Value>23</Value> <UOM>Kilogram</UOM> </MaximumWeight> </PieceWeightAllowance> </PieceMeasurements> </PieceAllowance> </CheckedBagAllowance> <CheckedBagAllowance ListKey="CB7" refs="PC3"> <PieceAllowance refs="PAX1 PAX2"> <ApplicableParty>Traveler</ApplicableParty> <TotalQuantity>2</TotalQuantity> <PieceMeasurements Quantity="2"> <PieceWeightAllowance> <MaximumWeight> <Value>23</Value> <UOM>Kilogram</UOM> </MaximumWeight> </PieceWeightAllowance> </PieceMeasurements> </PieceAllowance> </CheckedBagAllowance> <CheckedBagAllowance ListKey="CB8" refs="PC4"> <PieceAllowance refs="PAX1 PAX2"> <ApplicableParty>Traveler</ApplicableParty> <TotalQuantity>2</TotalQuantity> <PieceMeasurements Quantity="2"> <PieceWeightAllowance> <MaximumWeight> <Value>23</Value> <UOM>Kilogram</UOM> </MaximumWeight> </PieceWeightAllowance> </PieceMeasurements> </PieceAllowance> </CheckedBagAllowance> <CheckedBagAllowance ListKey="CB9" refs="PC1"> <PieceAllowance refs="PAX3"> <ApplicableParty>Traveler</ApplicableParty> <TotalQuantity>2</TotalQuantity> <PieceMeasurements Quantity="2"> <PieceWeightAllowance> <MaximumWeight> <Value>10</Value> <UOM>Kilogram</UOM> </MaximumWeight> </PieceWeightAllowance> </PieceMeasurements> </PieceAllowance> </CheckedBagAllowance> <CheckedBagAllowance ListKey="CB10" refs="PC2"> <PieceAllowance refs="PAX3"> <ApplicableParty>Traveler</ApplicableParty> <TotalQuantity>2</TotalQuantity> <PieceMeasurements Quantity="2"> <PieceWeightAllowance> <MaximumWeight> <Value>10</Value> <UOM>Kilogram</UOM> </MaximumWeight> </PieceWeightAllowance> </PieceMeasurements> </PieceAllowance> </CheckedBagAllowance> <CheckedBagAllowance ListKey="CB11" refs="PC3"> <PieceAllowance refs="PAX3"> <ApplicableParty>Traveler</ApplicableParty> <TotalQuantity>2</TotalQuantity> <PieceMeasurements Quantity="2"> <PieceWeightAllowance> <MaximumWeight> <Value>10</Value> <UOM>Kilogram</UOM> </MaximumWeight> </PieceWeightAllowance> </PieceMeasurements> </PieceAllowance> </CheckedBagAllowance> <CheckedBagAllowance ListKey="CB12" refs="PC4"> <PieceAllowance refs="PAX3"> <ApplicableParty>Traveler</ApplicableParty> <TotalQuantity>2</TotalQuantity> <PieceMeasurements Quantity="2"> <PieceWeightAllowance> <MaximumWeight> <Value>10</Value> <UOM>Kilogram</UOM> </MaximumWeight> </PieceWeightAllowance> </PieceMeasurements> </PieceAllowance> </CheckedBagAllowance> <CheckedBagAllowance ListKey="CB13" refs="PC1"> <PieceAllowance refs="PAX4"> <ApplicableParty>Traveler</ApplicableParty> <TotalQuantity>2</TotalQuantity> <PieceMeasurements Quantity="2"> <PieceWeightAllowance> <MaximumWeight> <Value>23</Value> <UOM>Kilogram</UOM> </MaximumWeight> </PieceWeightAllowance> </PieceMeasurements> </PieceAllowance> </CheckedBagAllowance> <CheckedBagAllowance ListKey="CB14" refs="PC2"> <PieceAllowance refs="PAX4"> <ApplicableParty>Traveler</ApplicableParty> <TotalQuantity>2</TotalQuantity> <PieceMeasurements Quantity="2"> <PieceWeightAllowance> <MaximumWeight> <Value>23</Value> <UOM>Kilogram</UOM> </MaximumWeight> </PieceWeightAllowance> </PieceMeasurements> </PieceAllowance> </CheckedBagAllowance> <CheckedBagAllowance ListKey="CB15" refs="PC3"> <PieceAllowance refs="PAX4"> <ApplicableParty>Traveler</ApplicableParty> <TotalQuantity>2</TotalQuantity> <PieceMeasurements Quantity="2"> <PieceWeightAllowance> <MaximumWeight> <Value>23</Value> <UOM>Kilogram</UOM> </MaximumWeight> </PieceWeightAllowance> </PieceMeasurements> </PieceAllowance> </CheckedBagAllowance> <CheckedBagAllowance ListKey="CB16" refs="PC4"> <PieceAllowance refs="PAX4"> <ApplicableParty>Traveler</ApplicableParty> <TotalQuantity>2</TotalQuantity> <PieceMeasurements Quantity="2"> <PieceWeightAllowance> <MaximumWeight> <Value>23</Value> <UOM>Kilogram</UOM> </MaximumWeight> </PieceWeightAllowance> </PieceMeasurements> </PieceAllowance> </CheckedBagAllowance> </CheckedBagAllowanceList> <FlightSegmentList> <FlightSegment SegmentKey="SEG1"> <Departure> <AirportCode>LWO</AirportCode> <Date>2019-12-10</Date> <Time>07:00</Time> <Terminal/> </Departure> <Arrival> <AirportCode>KBP</AirportCode> <Date>2019-12-10</Date> <Time>08:10</Time> <Terminal> <Name>D</Name> </Terminal> </Arrival> <MarketingCarrier> <AirlineID>PS</AirlineID> <FlightNumber>34</FlightNumber> </MarketingCarrier> <OperatingCarrier> <AirlineID>PS</AirlineID> </OperatingCarrier> <Equipment> <AircraftCode>738</AircraftCode> </Equipment> <FlightDetail> <FlightDuration> <Value>P0Y0M0DT1H10M0.000S</Value> </FlightDuration> <Stops> <StopQuantity>0</StopQuantity> </Stops> </FlightDetail> </FlightSegment> <FlightSegment SegmentKey="SEG2"> <Departure> <AirportCode>KBP</AirportCode> <Date>2019-12-10</Date> <Time>09:50</Time> <Terminal> <Name>D</Name> </Terminal> </Departure> <Arrival> <AirportCode>JFK</AirportCode> <Date>2019-12-10</Date> <Time>12:55</Time> <Terminal> <Name>7</Name> </Terminal> </Arrival> <MarketingCarrier> <AirlineID>PS</AirlineID> <FlightNumber>231</FlightNumber> </MarketingCarrier> <OperatingCarrier> <AirlineID>PS</AirlineID> </OperatingCarrier> <Equipment> <AircraftCode>777</AircraftCode> </Equipment> <FlightDetail> <FlightDuration> <Value>P0Y0M0DT10H5M0.000S</Value> </FlightDuration> <Stops> <StopQuantity>0</StopQuantity> </Stops> </FlightDetail> </FlightSegment> <FlightSegment SegmentKey="SEG3"> <Departure> <AirportCode>JFK</AirportCode> <Date>2019-12-25</Date> <Time>15:00</Time> <Terminal> <Name>7</Name> </Terminal> </Departure> <Arrival> <AirportCode>KBP</AirportCode> <Date>2019-12-26</Date> <Time>06:50</Time> <Terminal> <Name>D</Name> </Terminal> </Arrival> <MarketingCarrier> <AirlineID>PS</AirlineID> <FlightNumber>232</FlightNumber> </MarketingCarrier> <OperatingCarrier> <AirlineID>PS</AirlineID> </OperatingCarrier> <Equipment> <AircraftCode>777</AircraftCode> </Equipment> <FlightDetail> <FlightDuration> <Value>P0Y0M0DT8H50M0.000S</Value> </FlightDuration> <Stops> <StopQuantity>0</StopQuantity> </Stops> </FlightDetail> </FlightSegment> <FlightSegment SegmentKey="SEG4"> <Departure> <AirportCode>KBP</AirportCode> <Date>2019-12-26</Date> <Time>14:35</Time> <Terminal> <Name>D</Name> </Terminal> </Departure> <Arrival> <AirportCode>LWO</AirportCode> <Date>2019-12-26</Date> <Time>15:45</Time> <Terminal/> </Arrival> <MarketingCarrier> <AirlineID>PS</AirlineID> <FlightNumber>35</FlightNumber> </MarketingCarrier> <OperatingCarrier> <AirlineID>PS</AirlineID> </OperatingCarrier> <Equipment> <AircraftCode>738</AircraftCode> </Equipment> <FlightDetail> <FlightDuration> <Value>P0Y0M0DT1H10M0.000S</Value> </FlightDuration> <Stops> <StopQuantity>0</StopQuantity> </Stops> </FlightDetail> </FlightSegment> </FlightSegmentList> <FlightList> <Flight FlightKey="FL1"> <Journey> <Time>P0Y0M0DT12H55M0.000S</Time> </Journey> <SegmentReferences>SEG1 SEG2</SegmentReferences> </Flight> <Flight FlightKey="FL2"> <Journey> <Time>P0Y0M0DT17H45M0.000S</Time> </Journey> <SegmentReferences>SEG3 SEG4</SegmentReferences> </Flight> </FlightList> <OriginDestinationList> <OriginDestination OriginDestinationKey="OD1"> <DepartureCode>LWO</DepartureCode> <ArrivalCode>JFK</ArrivalCode> <FlightReferences>FL1</FlightReferences> </OriginDestination> <OriginDestination OriginDestinationKey="OD2"> <DepartureCode>JFK</DepartureCode> <ArrivalCode>LWO</ArrivalCode> <FlightReferences>FL2</FlightReferences> </OriginDestination> </OriginDestinationList> <PriceClassList> <PriceClass ObjectKey="PC1"> <Name>Economy</Name> <FareBasisCode> <Code>SL02FFU5</Code> </FareBasisCode> <ClassOfService> <Code>Y</Code> <MarketingName>ECONOMY STANDARD</MarketingName> </ClassOfService> </PriceClass> <PriceClass ObjectKey="PC2"> <Name>Economy</Name> <FareBasisCode> <Code>SL02FFU5</Code> </FareBasisCode> <ClassOfService> <Code>Y</Code> <MarketingName>ECONOMY STANDARD</MarketingName> </ClassOfService> </PriceClass> <PriceClass ObjectKey="PC3"> <Name>Economy</Name> <FareBasisCode> <Code>SL02FFU5</Code> </FareBasisCode> <ClassOfService> <Code>Y</Code> <MarketingName>ECONOMY STANDARD</MarketingName> </ClassOfService> </PriceClass> <PriceClass ObjectKey="PC4"> <Name>Economy</Name> <FareBasisCode> <Code>SL02FFU5</Code> </FareBasisCode> <ClassOfService> <Code>Y</Code> <MarketingName>ECONOMY STANDARD</MarketingName> </ClassOfService> </PriceClass> </PriceClassList> <PassengerList> <Passenger PassengerID="PAX1"> <PTC>ADT</PTC> </Passenger> <Passenger PassengerID="PAX2"> <PTC>ADT</PTC> </Passenger> <Passenger PassengerID="PAX3"> <PTC>INF</PTC> </Passenger> <Passenger PassengerID="PAX4"> <PTC>CHD</PTC> </Passenger> </PassengerList> </DataLists> </FlightPriceRS> </Body> </Envelope>
FlightPriceRS fields description
Field name | Description | M/O/C | Example |
---|---|---|---|
FlightPriceRS | Attributes:Version - Specify NDC schema message version. Always pass 17.1PrimaryLangID - Specifies the agent’s preferred language. Service response will be returned in this language. IF not specified default language = EN | M | <FlightPriceRS Version="17.1" PrimaryLangID="EN" xmlns="http://www.iata.org/IATA/EDIST/2017.1"> |
↳ Document | NDC Message Document information. | M | |
↳ Name | Will be returned as “PS” | M | < Document > < Name >PS</ Name > </ Document > |
↳ Success | The presence of the empty Success element explicitly indicates that the message succeeded | M | <Success/> |
↳ ShoppingResponseID | A collection of shopping session (message response) IDs, including the unique (master) Shopping Response ID, Offer IDs, Offer Item IDs and Service IDs. | O | |
↳ ResponseID | Unique shopping session response ID. | M | <ResponseID>a4775059-0c64-4f5e-858b-d0b89c8397c8</ResponseID> |
↳ PricedFlightOffers | Offers based on the original FlightPriceRQ | O | |
↳ PricedFlightOffer | M | ||
↳ Parameters | Offer-wide parameters, including Total Offer Quantity; Passenger Pricing | O | |
↳ TotalItemQuantity | Total Offer Items in this Offer. | O | <TotalItemQuantity>4</TotalItemQuantity> |
↳ PTC_Priced | Requested and Priced PTC (passenger type code) and associated Traveler quantity. | O | |
↳ Requested | Requested passenger type code for pricing.Attributes:
| O | <Requested Quantity="2">ADT</Requested> |
↳ Priced | Actual passenger type code used for for pricing. Attributes:
| O | <Priced Quantity="2">ADT</Priced> |
↳ OfferID | Globally unique Offer instance ID.Attributes:
| M | <OfferID Owner="PS">95061374-fac4-415b-a4d1-2906a9b8a42b</OfferID> |
↳ OfferPrice | Fare Offer and Lead Calendar Pricing information.Attributes:
| M | <OfferPrice OfferItemID="95061374-fac4-415b-a4d1-2906a9b8a42b-PAX2"> |
↳ RequestedDate | Fare Price for the Requested Date. | M | |
↳ PriceDetail | Price Detail, including total amount, base fare amount and other details. | M | |
↳ TotalAmount | Total price amount. | O | |
↳ SimpleCurrencyPrice | A (simple) CURRENCYAttribute: Code - Currency code | M | SimpleCurrencyPrice Code="USD">325.82</SimpleCurrencyPrice> |
↳ BaseAmount | Total Base Fare Amount. | M | <BaseAmount Code="USD">275.00</BaseAmount> |
↳ Taxes | Ticket Tax/fee/charge details | O | |
↳ Total | Sub-total of all applicable taxesAttribute: Code - Currency code | O | <Total Code="USD">50.82</Total> |
↳ Breakdown | A collection of detailed taxes. | O | |
↳ Tax | Tax breakdown detail. | M | |
↳ Amount | Amount. Attribute: Code - Currency code | M | <Amount Code="USD">19.00</Amount> |
↳ TaxCode | Tax Code. | O | <TaxCode>YK</TaxCode> |
↳ SegmentReferences | Association to multiple Flight Segment instance(s). | M | <SegmentReferences>SEG1 SEG2 SEG3 SEG4</SegmentReferences> |
↳ Associations | Fare Offer Associations. | O | |
↳ AssociatedPassenger | Associated Passengers. | O | |
↳ PassengerReferences | Association to multiple Passenger instance(s). | M | <PassengerReferences>PAX2</PassengerReferences> |
↳ FareDetail | Fare Detail, including Fare Component and Fare Rules | O | |
↳ FareComponent | Fare Component information with Price Breakdown. Attribute: Ref - Object associations between this and any object instance. Reference to PriceClass | M | <FareComponent refs="PC1"> |
↳ SegmentReference | Association to one Flight Segment instance. | O | <SegmentReference>SEG1</SegmentReference> |
↳ FareBasis | Fare Basis information. | O | |
↳ FareBasisCode | Fare Basis Code with optional application. | O | |
↳ Code | Fare basis code. | M | <Code>MH02LLU2</Code> |
↳ RBD | Reservation Booking Designator | O | <RBD>M</RBD> |
↳ FareRules | Fare Rules. | O | |
↳ Penalty | Penalty Information | O | |
↳ ApplicableFeeRemarks | Applicable Fee Remark(s). | O | |
↳ Remark | Remark Text. | M | <Remark>CHANGES: Changes not allowed</Remark> |
↳ TimeLimits | Offer-Level Time Limits | M | |
↳ OfferExpiration | Offer Expiration Time Limit value. Default value = 15 min Attributes:
| O | <OfferExpiration DateTime="2019-06-26T12:46:50.000" Timestamp="2019-06-26T09:46:50.000Z"/> |
↳ Associations | Priced Flight Offer Association(s), | M | |
↳ AssociatedPassenger | Associated Passengers. | O | |
↳ PassengerReferences | M | <PassengerReferences>PAX1 PAX2 PAX3 PAX4</PassengerReferences> | |
↳ ApplicableFlight | Applicable Flight(s). | O | |
↳ FlightReferences | Association to multiple Flight instance(s). Note: Flight Slice On and Off Board Points may also be specified. | O | <FlightReferences>FL1</FlightReferences> |
↳ PriceClass | Associated Price Class information. | O | |
↳ PriceClassReference | Association to one Price Class instance. | M | PriceClassReference>PC1</PriceClassReference> |
↳ DataLists | Data Lists(s). | ||
↳ CheckedBagAllowanceList | Checked Baggage Allowance. | O | |
↳ CheckedBagAllowance | Checked Bag Allowance detail.Attribute:
| M | <CheckedBagAllowance ListKey="CB0" refs="PC1"> |
↳ PieceAllowance | Defines the maximum number of each allowable baggage type.Attribute:
| O | <PieceAllowance refs="PAX2 PAX4 PAX1"> |
↳ ApplicableParty | Baggage weight restriction application. | M | <ApplicableParty>Traveler</ApplicableParty> |
↳ TotalQuantity | Maximum pieces. | M | <TotalQuantity>0</TotalQuantity> |
↳ PieceMeasurements | Provides information on per piece weight and dimensions. | M | <PieceMeasurements Quantity="0"> |
↳ PieceWeightAllowance | BAGGAGE WEIGHT allowance per baggage piece. | O | |
↳ MaximumWeight | Maximum weight value and unit of measure. | M | |
↳ Value | BAGGAGE WEIGHT allowance per baggage piece. | M | <Value>23</Value> |
↳ UOM | Baggage weight unit of measure. | M | <UOM>Kilogram</UOM> |
↳ FlightSegmentList | List of Flight Segments | O | |
↳ FlightSegment | Attributes: SegmentKey - A globally unique identifier for this Flight Segment instance. | M | <FlightSegment SegmentKey="SEG1"> |
↳ Departure | Departure (origin) Airport, Date and Time information. | M | |
↳ AirportCode | Airport or city code. Use a three-letter location identifier assigned according to the IATA Resolution 763. Refer to IATA Airline Coding Directory. Example: TPA | M | <AirportCode>KBP</AirportCode> |
↳ Date | Departure date. Encoding Scheme: ISO 8601 Date Format (YYYY-MM-DD) | M | <Date>2019-07-20Z</Date> |
↳ Time | Departure time. Encoding Scheme: ISO 8601 Military/ 24 Hour Format (HH:MM) | O | <Time>07:35</Time> |
↳ Terminal | Airport terminal name. Refer to IATA SSIM Appendix D for terminal codes and terminal names. | O | |
↳ Name | Terminal name or ID. | O | <Name>D</Name> |
↳ Arrival | Arrival (destination) Airport, Date and Time information. | M | |
↳ AirportCode | Airport or city code. Use a three-letter location identifier assigned according to the IATA Resolution 763. Refer to IATA Airline Coding Directory | M | <AirportCode>ODS</AirportCode> |
↳ Date | Departure date. Encoding Scheme: ISO 8601 Date Format (YYYY-MM-DD) | M | <Date>2019-07-20Z</Date> |
↳ Time | Departure time. Encoding Scheme: ISO 8601 Military/ 24 Hour Format (HH:MM) | O | <Time>08:35</Time> |
↳ ChangeOfDay | A number of days between arrival and departure. | O | 1 - means PAX arrives on the next day after departure day |
↳ Terminal | Airport terminal name. Refer to IATA SSIM Appendix D for terminal codes and terminal names. | O | |
↳ Name | Terminal name or ID. | O | <Name>1</Name> |
↳ MarketingCarrier | Marketing Carrier information. | M | |
↳ AirlineID | A two-character alpha-numeric code assigned according to the IATA Resolution 762 | M | <AirlineID>PS</AirlineID> |
↳ FlightNumber | Flight Number. | <FlightNumber>55</FlightNumber> | |
↳ OperatingCarrier | Operating Carrier Information. Operating Carrier is the carrier that operates a flight with a reference to its own prime flight number. Note: Operating Carrier may be different from a Marketing Carrier(s) if the flight is actually marketed by another carrier(s) within a codeshare agreement. | O | |
↳ AirlineID | A two-character alpha-numeric code assigned according to the IATA Resolution 762 | O | <AirlineID>PS</AirlineID> |
↳ Equipment | Aircraft Equipment | O | |
↳ AircraftCode | Equipment Code. | M | <AircraftCode>738</AircraftCode> |
↳ FlightDetail | Flight Details. | O | |
↳ FlightDuration | Flight Duration with application. | O | |
↳ Value | Flight Segment Duration. | M | <Value>PT1H00M</Value> |
↳ Stops | Flight Stop Quantity and Location(s). | O | |
↳ StopQuantity | Stop Quantity. | O | <StopQuantity>0</StopQuantity> |
↳ FlightList | List of Flight elements. | O | |
↳ Flight | Journey information describing the travel between an airport/city where travel commences and an airport/city where travel ultimately terminates. A journey may be comprised of one or more segments. Note: This node will be renamed to journey in future releases.Attributes: FlightKey - A globally unique identifier for this Flight Segment instance. | M | <Flight FlightKey="FL1"> |
↳ Journey | Flight journey information. | O | |
↳ Time | Total Journey Time. Note: Total journey time includes the combined air time, connection time and/ or stop information for all specified flight segments. | O | <Time>P0Y0M0DT6H5M0.000S</Time> |
↳ SegmentReferences | Association to multiple Flight Segment instance(s) in the FlightSegment | M | <SegmentReferences>SEG4 SEG1</SegmentReferences> |
↳ OriginDestinationList | List of Origin/Destination elements. | O | |
↳ OriginDestination | Attributes: OriginDestinationKey. A globally unique identifier for this Origin Destination instance. | <OriginDestination OriginDestinationKey="OD1"> | |
↳ DepartureCode | Departure Airport Location code. Encoding Scheme: IATA/ A4A (three characters) Airport or City Code | M | LWO |
↳ ArrivalCode | Airport or city code. Use a three-letter location identifier assigned according to the IATA Resolution 763. Refer to IATA Airline Coding Directory | M | NYC |
↳ FlightReferences | Association to multiple Flight instance(s) in the FlightList | O | <FlightReferences>Flight 1</FlightReferences> |
↳ OriginDestinationList | List of Origin/Destination elements. | O | |
↳ OriginDestination | Attributes: OriginDestinationKey. A globally unique identifier for this Origin Destination instance. | <OriginDestination OriginDestinationKey="OD1"> | |
↳ DepartureCode | Departure Airport Location code. Encoding Scheme: IATA/ A4A (three character) Airport or City Code | M | <DepartureCode>BCN</DepartureCode> |
↳ ArrivalCode | Airport or a city code. Use a three letter location identifier assigned according to the IATA Resolution 763. Refer to IATA Airline Coding Directory | M | <ArrivalCode>ODS</ArrivalCode> |
↳ FlightReferences | Association to multiple Flight instance(s) in the FlightList | O | <FlightReferences>FL1</FlightReferences> |
↳ PriceClassList | Price Class List. | O | |
↳ PriceClass | Attributes: Object globally unique Instance ID. | M | <PriceClass ObjectKey="PC1"> |
↳ Name | Price class name. | M | <Name>ECONOMY</Name> |
↳ FareBasisCode | Fare Basis Code with the optional application. | O | |
↳ Code | Fare basis code. | M | <Code>X002LLU1</Code> |
↳ ClassOfService | Class of Service | O | |
↳ Code | Class of Service Code. Supported values:
| M | <Code>Y</Code> |
↳ MarketingName | Cabin Class Name. | O | <MarketingName>Economy Lite</MarketingName> |
↳ PassengerList | O | ||
↳ Passenger | Attributes: PassengerIDUniquely identifies a Passenger within the context of one message. | M | <Passenger PassengerID="PAX2"> |
↳ PTC | Type code applying to the Passenger which typically drives pricing Supported PRC: ADT, CHD, INF, YTH, YCD | O | <PTC>ADT</PTC> |
FlightPrice Error/Validation Checks
PADIS Error Code | PADIS Error Text | Cases |
---|---|---|
System errors | ||
911 | Unable to process - system error / Invalid query | Invalid query |
486 | Unknown | The equivalent of -1 error |
304 | System Temporarily unavailable | The system is not available/HOST problem |
916 | EDIFACT version not supported | Not supported NDC service version. |
Agent authorization errors | ||
368 | Not authorized | Wrong agent authentication key. Agent is inactive |
79A | Invalid office identification | OID is missing or incorrect |
Query errors | ||
719 | No fares available | No fares on the requested PAX types |
911 | Unable to process - system error / Invalid ResponseID | Invalid ResponseID |
486 | Unknown - Can't find search product by id | Invalid OfferID |
911 | Unable to process - system error / ResponseID does not match OfferID | ResponseID does not match OfferID |
293 | Unable to Sell Due to Sales Limit being Reached | Offer limit has been expired |
900 | Inactivity Timeout Value Exceeded |
© 2021 SOLRING HOLDINGS LIMITED. All rights reserved.