<Query>XML Example for the following elementsFollowing examples includes the Offers for Flight Fare Offers, Seat Offers , SSR Offers and Extra Baggage Offers. Flight Fare Offers OfferItemID starts with “OF”, which is selected from AirShoppingRS. Seat Offers OfferItemID starts with “SO”, which is selected from SeatAvailabilityRS. SSR Offers OfferItemID starts with “OO”, which is selected from ServiceListRS. Extra Baggage Offers OfferItemID starts with “BO”, which is selected from ServiceListRS.
Code Block |
---|
| <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:Offer>
<ns:Offer OfferID = "OO-eJxlzEsKgzAURuEVKfeRm9wMg1go.ECbgo7.-e-C2EEp9AzP4ONIxuosSimgnPWxF3Akl5Aj3eHY2hCU51IxvneMw7qs8wmVZNnxqigwsFiv0vHXYw1oWCM-npvTj6eY-jxVy3J7ExTZ.5hAF7-dKXM_" Owner="AIRLINE CODE" 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 |
Offer | To get a price quote using long sell, the client should use this tag to provide details. | 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 | M |
OfferItemType | Offer item type | M |
ResponseID (Attribute) | This is the ResponseID returned in AirShoppingRS | M |
OrderItem | This will contain the OfferItem associated with Offer returned in AirShoppingRS/SeatAvailabilityRS/ServiceListRS . | M |
OfferItemID | The client should pass the OfferItemID that is returned in AirShoppingRS/SeatAvailabilityRS/ServiceListRS for 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 | M |
Row | Row Number of the Selected Seat | M |
Column | Column Number of the selected Seat | M |
<DataLists> |
XML | Elements | Details | Mandatory/Optional |
Code Block |
---|
| <PassengerList> |
| PassengerList | Passenger data list definition/details. | 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> |
|
Code Block |
---|
| <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 |
---|
| <ns:PTC>INF</ns:PTC> |
| PTC | Type code applying to the Passenger which typically drives pricing (e.g. ADT, CHD, etc). | O |