Versions Compared

Key

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

...

<Query>

XML Example for the following elements

Following examples includes the Offers for Flight Fare Offers, Seat Offers , SSR Offers and Extra Baggage Offers.

Code Block
languagexml
<ns:Query>
    <ns:Offer ResponseID="ID-Fb--rdQS6HFd4AHC9" Owner="AIRLINE CODE" OfferID="OF1-eJxdzEEKgzAQBdATKfmTyWSydKHgplKNYFb--rdQS6HFd4AHC9GKGDRb4rQOQ6tE8pTNNNx4vAkFl-lVOe4rGyPcxLlVLgRDb7nD78mRV3JVn8cR-e-RxyP6fYQqvRaGE581JcM_">
        <ns:OfferItem OfferItemID="OF1_OI1-eJxdzEEKgzAQBdATKfmTyWSydKHgplKNYFb--rdQS6HFd4AHC9GKGDRb4rQOQ6tE8pTNNNx4vAkFl-lVOe4rGyPcxLlVLgRDb7nD78mRV3JVn8cR-e-RxyP6fYQqvRaGE581JcM_">
            <ns:PassengerRefs>V1_PAX.1 V1_PAX.4</ns:PassengerRefs>
        </ns:OfferItem>
        <ns:OfferItem OfferItemID="OF1_OI2-eJxdzEEKgzAQBdATKfmTyWSydKHgplKNYFb--rdQS6HFd4AHC9GKGDRb4rQOQ6tE8pTNNNx4vAkFl-lVOe4rGyPcxLlVLgRDb7nD78mRV3JVn8cR-e-RxyP6fYQqvRaGE581JcM_">
            <ns:PassengerRefs>V1_PAX.2</ns:PassengerRefs>
        </ns:OfferItem>
        <ns:OfferItem OfferItemID="OF1_OI3-eJxdzEEKgzAQBdATKfmTyWSydKHgplKNYFb--rdQS6HFd4AHC9GKGDRb4rQOQ6tE8pTNNNx4vAkFl-lVOe4rGyPcxLlVLgRDb7nD78mRV3JVn8cR-e-RxyP6fYQqvRaGE581JcM_">
            <ns:PassengerRefs>V1_PAX.3</ns:PassengerRefs>
        </ns:OfferItem>
    </ns:Offer>
    <ns:Offer OfferID="SO-eJx9zkEKwjAUBNATWfKn-cnPMtYWXNhijWBWc-9bmCBSdeEsB.Yx4kUQJQ7inTCVPG.JojGYKVwLH1di8EznJXO6b5zGdVkvhT2CRuMtsy4YtOtxkA8uslrpdGycBYXtnAAs4yy-niE0rxDsTTv35RkrVh..PKvNfs-5f17CG6R7AvtjPfI_"  Owner="AIRLINE CODE" ResponseID="ID-Fb--rdQS6HFd4AHC9">
        <ns:OfferItem OfferItemID="SO1_OI8-eJwVyDEOgCAMBdAbmbZAKSMibkpUTGT697.F.sbHyiyJk2clQ17mPDo4JIv2zQ-PAfGkGGVl1PtELW1v24CTaBJxdWSBwFmYCPQCSpYVDA__">
            <ns:PassengerRefs>V1_PAX.1</ns:PassengerRefs>
            <ns:SeatSelection>
                <ns:Row>4</ns:Row>
                <ns:Column>A</ns:Column>
            </ns:SeatSelection>
        </ns:OfferItem>
        <ns:OfferItem OfferItemID="SO1_OI11-eJwVyDEOgCAMBdAbmbZAKSMibkpUTGT697.F.sbHyiyJk2clQ17mPDo4JIv2zQ-PAfGkGGVl1PtELW1v24CTaBJxdWSBwFmYCPQCSpYVDA__">
            <ns:PassengerRefs>V1_PAX.2</ns:PassengerRefs>
            <ns:SeatSelection>
                <ns:Row>7</ns:Row>
                <ns:Column>A</ns:Column>
            </ns:SeatSelection>
        </ns:OfferItem>
        <ns:OfferItem OfferItemID="SO1_OI12-eJwVyDEOgCAMBdAbmbZAKSMibkpUTGT697.F.sbHyiyJk2clQ17mPDo4JIv2zQ-PAfGkGGVl1PtELW1v24CTaBJxdWSBwFmYCPQCSpYVDA__">
            <ns:PassengerRefs>V1_PAX.4</ns:PassengerRefs>
            <ns:SeatSelection>
                <ns:Row>8</ns:Row>
                <ns:Column>A</ns:Column>
            </ns:SeatSelection>
        </ns:OfferItem>
    </ns:Offer>
    <ns:Offer OfferID = "OO-eJxlzEsKgzAURuEVKfeRm9wMg1go.ECbgo7.-e-C2EEp9AzP4ONIxuosSimgnPWxF3Akl5Aj3eHY2hCU51IxvneMw7qs8wmVZNnxqigwsFiv0vHXYw1oWCM-npvTj6eY-jxVy3J7ExTZ.5hAF7-dKXM_" Owner="AIRLINE CODE" ResponseID = "ID-Fb--rdQS6HFd4AHC9">
        <ns:OfferItem OfferItemID = "OO337-eJw1ykkKgDAQBdETKd2dwWTZTiA4YBJBV--.tzAurOWj2JNjE1hstBFjv60gzWj4d0OdhT5lToqKoY6evnCfFQS67AXTlTANx35sD4x0LgbkAoUDi2uNgF5X2RrI">
            <ns:PassengerRefs>V1_PAX.1</ns:PassengerRefs>
        </ns:OfferItem>
        <ns:OfferItem OfferItemID = "OO337-eJw1ykkKgDAQBdETKd2dwWTZTiA4YBJBV--.tzAurOWj2JNjE1hstBFjv60gzWj4d0OdhT5lToqKoY6evnCfFQS67AXTlTANx35sD4x0LgbkAoUDi2uNgF5X2RrI">
            <ns:PassengerRefs>V1_PAX.2</ns:PassengerRefs>
        </ns:OfferItem>
        <ns:OfferItem OfferItemID = "OO337-eJw1ykkKgDAQBdETKd2dwWTZTiA4YBJBV--.tzAurOWj2JNjE1hstBFjv60gzWj4d0OdhT5lToqKoY6evnCfFQS67AXTlTANx35sD4x0LgbkAoUDi2uNgF5X2RrI">
            <ns:PassengerRefs>V1_PAX.3</ns:PassengerRefs>
        </ns:OfferItem>
        <ns:OfferItem OfferItemID = "BO280-eJw1ykEOQDAQRuETkZlpp63lEMQCQQWr--63oAtv.eVxIGWXWHwTIu7WRlB3oeLfHUUPe-KwGz5MZaQS7u0DgU1LRn-u6Lt1WecHTqI2CUeGQcGitRPQC1sNGtE_">
            <ns:PassengerRefs>V1_PAX.1</ns:PassengerRefs>
        </ns:OfferItem>
        <ns:OfferItem OfferItemID = "BO282-eJw1ykEOQDAQRuETkZlpp63lEMQCQQWr--63oAtv.eVxIGWXWHwTIu7WRlB3oeLfHUUPe-KwGz5MZaQS7u0DgU1LRn-u6Lt1WecHTqI2CUeGQcGitRPQC1sNGtE_">
            <ns:PassengerRefs>V1_PAX.2</ns:PassengerRefs>
        </ns:OfferItem>
        <ns:OfferItem OfferItemID = "BO286-eJw1ykEOQDAQRuETkZlpp63lEMQCQQWr--63oAtv.eVxIGWXWHwTIu7WRlB3oeLfHUUPe-KwGz5MZaQS7u0DgU1LRn-u6Lt1WecHTqI2CUeGQcGitRPQC1sNGtE_">
            <ns:PassengerRefs>V1_PAX.3</ns:PassengerRefs>
        </ns:OfferItem>
    </ns:Offer>
</ns:Query>

Elements

Details

Mandatory/Optional

Offer

To get a price quote using long sell, the client should use this tag to provide details.

Note

OfferItem returned from an AirShoppingRS always be in a single separate Offer.

Tip

Ancillary and Seat Offer should be repeated based on the SeatAvailabilityRQ and ServiceListRQ trigger.

ie, OfferItem returned in a single SeatAvailabilityRS/ServiceListRS will be in a single Offer. If the SeatAvailabilityRQ/ServiceListRQ is again triggered for a same itinerary, then selected OfferItem should be placed in a separate Offer.

M

Owner (Attribute)

Should be always set to Airline Code

M

OfferID (Attribute)

This is the OfferID returned in AirShoppingRS/SeatAvailabilityRS/ServiceListRS for the offer the customer wishes to book the flight or choose the seat.

Info

OfferID (Attribute)

  • OfferID (Attribute) corresponds to Flight Fare Offer details will be passed from the AirShoppingRS.

  • OfferID (Attribute) corresponds to Seat Map Offer details will be passed from the SeatAvailabilityRS.

  • OfferID (Attribute) corresponds to Ancillaries and Baggage Offer details will be passed from ServiceListRS

M

ResponseID (Attribute)

ResponseID value

Info

This response ID will be available in AirShoppingRS in future release.

Now dummy response value can be set in this attribute field.

Example: "tx-08-201-f7e19798-c640-48e4"

M

OfferItem

OfferItem selected by the Passenger for inclusion in the requested Order.

M

OfferItemID (Attribute)

The client should pass the OfferItemID that is returned in AirShoppingRS/SeatAvailabilityRS/ServiceListRS for the selected offer

Info

OfferItemID (Attribute)

  • OfferItemID (Attribute) corresponds to Flight Fare Offer details will be passed from the AirShoppingRS of the selected offer.

  • OfferItemID (Attribute) corresponds to Seat Map Offer details will be passed from the SeatAvailabilityRS of the selected offer.

  • OfferItemID (Attribute) corresponds to Ancillaries and Baggage Offer details will be passed from ServiceListRS of the selected offer.

M

PassengerRefs

Should be a reference to Passenger (s) for the selected OfferItemID

M

SeatSelection

Should be a given if the passenger wish to select seats in the Selected Offer

O

Row

Row Number of the Selected Seat

M

Column

Column Number of the selected Seat

M

<DataLists>

XML

Elements

Details

Mandatory/Optional

Code Block
languagexml
<PassengerList>

PassengerList

Passenger data list definition/details.

M

Code Block
languagexml
<ns:PassengerList>
    <ns:Passenger PassengerID = "V1_PAX.1">
        <ns:PTC>ADT</ns:PTC>
    </ns:Passenger>
    <ns:Passenger PassengerID = "V1_PAX.2">
        <ns:PTC>ADT</ns:PTC>
    </ns:Passenger>
    <ns:Passenger PassengerID = "V1_PAX.3">
        <ns:PTC>CHD</ns:PTC>
    </ns:Passenger>
    <ns:Passenger PassengerID = "V1_PAX.4">
        <ns:PTC>CHD</ns:PTC>
    </ns:Passenger>
     <ns:Passenger PassengerID = "V1_PAX.5">
        <ns:PTC>INF</ns:PTC>
    </ns:Passenger>
</ns:PassengerList>

Code Block
languagexml
<ns:Passenger PassengerID = "V1_PAX.1">

Passenger

Any person except members of the crew carried or to be carried with the consent of the carrier, on board of any transport vehicle such as aircraft, train, bus, ship.

M

Code Block
languagexml
<ns:Passenger PassengerID = "V1_PAX.1">

PassengerID

Uniquely identifies a Passenger within the context of one message.

Example:

V1_PAX.1, V1_PAX.2 ,V1_PAX.3

M

Code Block
languagexml
<ns:PTC>INF</ns:PTC>

PTC

Type code applying to the Passenger which typically drives pricing.

Example: ADT, CHD, INF

M

...