OfferPrice API

POST

/offerPrices

The OfferPrice transaction set may return two different sets of content. Based on request attributes, the response may initially provide additional à la carte ancillary services that are applicable and available for the selected Offer. If no ancillary services are available, the message returns a final pricing. If ancillary services are available, the modified pricing request includes selected services and returns a final pricing that includes service(s) selection.

General information

Promotions and special fares

Promotions

To get promotions via the API you have to add a promotion qualifier..

<Qualifier>
    <PromotionQualifiers>
        <Code>Promotion code</Code>
    </PromotionQualifiers>
</Qualifier>
Special fares

Corporate agreement codes can be provided by adding a special fare qualifier:

<Qualifier>
    <SpecialFareQualifiers>
        <AirlineID>DY</AirlineID>
        <Account>Your agreement code</Account>
    </SpecialFareQualifiers>
</Qualifier>

Special cases

  • Passengers travelling from United Kingdom younger than 16 years are subject to tax exemption (APD tax). When that is the case, it is mandatory to specify passenger birth date for all passengers:

<Individual>
    <Birthdate>1974-12-12</Birthdate>
    <NameTitle>MR</NameTitle>
    <GivenName>lSVxq</GivenName>
    <Surname>hianqTest</Surname>
</Individual>

API flow

API flow

Examples

This section shows how the API can be used.

One-way

1. Request: AirShoppingRQ
HTTP Request
[show]
2. Response: AirShoppingRS
HTTP Response
[show]
3. Request: OfferPriceRQ
HTTP Request
[show]
4. Response: OfferPriceRS
HTTP Response
[show]

Round-trip

1. Request: AirShoppingRQ
HTTP Request
[show]
2. Response: AirShoppingRS
HTTP Response
[show]
3. Request: OfferPriceRQ
HTTP Request
[show]
4. Response: OfferPriceRS
HTTP Response
[show]