Versions Compared

Key

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

...

<Query>

XML Example for the following elements

Code Block
languagexml
<ns:Query>
    <ns:Offer ResponseID="ID-Fb--rdQS6HFd4AHC9" Owner="V1" 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="V1" 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 = "V1" 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:Offer>
<ns:Offer OfferID = "OO-eJxlzEsKgzAURuEVKfeRm9wMg1go.ECbgo7.-e-C2EEp9AzP4ONIxuosSimgnPWxF3Akl5Aj3eHY2hCU51IxvneMw7qs8wmVZNnxqigwsFiv0vHXYw1oWCM-npvTj6eY-jxVy3J7ExTZ.5hAF7-dKXM_" Owner = "V1" ResponseID = "ID-Fb--rdQS6HFd4AHC9">
    <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

Code Block
<Offer>

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

M

Code Block
Owner (Attribute)

Should be always set to Airline Code

M

Code Block
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

M

Code Block
<OfferItemType>

Offer item type

M

Code Block
ResponseID (Attribute)

This is the ResponseID returned in AirShoppingRS

M

Code Block
<OrderItem>

This will contain the OfferItem associated with Offer returned in AirShoppingRS/SeatAvailabilityRS/ServiceListRS .

M

Code Block
<OfferItemID>

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

M

Code Block
<PassengerRefs>

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

M

Code Block
<SeatSelection>

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

M

Code Block
<Row>

Row Number of the Selected Seat

M

Code Block
<Column>

Column Number of the selected Seat

M

<DataLists>

XML

Elements

Details

Mandatory/Optional

Code Block
<PassengerList>
Code Block
<PassengerList>

List of all passengers with Passenger type code (PTC)

M

Code Block
<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>

...