Versions Compared

Key

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

This Scenario covers SSR , XBAG and Seat Addition for Onward and Return Flight.

Info

In this Sample, ServiceListRQ was triggered with Onward and Return Flight segments together. Hence the OfferItems for the Onward and Return segments are under single Offers.

But the SeatAvailabilityRQ was triggered for Onward and Return Flight Separately, hence the seat OfferItem for the Onward and Return Flights are given in separate Offers.

Note

OfferID and OfferItemID always should be from a same Offer of ServiceListRS/SeatAvailabilityRS.

OfferPrice RQ

Code Block
languagexml
<soapenv:Envelope
    xmlns:ibs = "http://www.ibsplc.com/iFlyRes/simpleTypes/2017.2"
    xmlns:ns = "http://www.iata.org/IATA/EDIST/2017.2"
    xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Header/>
    <soapenv:Body>
        <ns:OfferPriceRQ Version = "17.2">
            <ns:PointOfSale>
                <ns:Location>
                    <ns:CountryCode>DE</ns:CountryCode>
                    <ns:CityCode>AYT</ns:CityCode>
                </ns:Location>
            </ns:PointOfSale>
            <ns:Document>
                <ns:Name>NDC</ns:Name>
                <ns:ReferenceVersion>17.2</ns:ReferenceVersion>
            </ns:Document>
            <ns:Party>
                <ns:Sender>
                    <ns:AgentUserSender>
                        <ns:Name>CHANNEL NAME</ns:Name>
                        <ns:AgentUserID>CHANNEL CODE</ns:AgentUserID>
                    </ns:AgentUserSender>
                </ns:Sender>
                <ns:Recipient>
                    <ns:ORA_Recipient>
                        <ns:AirlineID>AIRLINE CODE</ns:AirlineID>
                        <ns:Name>AIRLINE NAME</ns:Name>
                    </ns:ORA_Recipient>
                </ns:Recipient>
            </ns:Party>
            <ns:Parameters>
                <ns:CurrCodes>
                    <ns:FiledInCurrency>
                        <ns:CurrCode>EUR</ns:CurrCode>
                    </ns:FiledInCurrency>
                </ns:CurrCodes>
            </ns:Parameters>
            <ns:Query>
                <ns:Offer

                    OfferID = "OF5-eJxlzEsKgzAURuEVKfeRm9wMg1go.ECbgo7.-e-C2EEp9AzP4ONIxuosSimgnPWxF3Akl5Aj3eHY2hCU51IxvneMw7qs8wmVZNnxqigwsFiv0vHXYw1oWCM-npvTj6eY-jxVy3J7ExTZ.5hAF7-dKXM_"

                    Owner = "V1"

                    ResponseID = "One">
                    <ns:OfferItem OfferItemID = "OF5_OI1-eJxlzEsKgzAURuEVKfeRm9wMg1go.ECbgo7.-e-C2EEp9AzP4ONIxuosSimgnPWxF3Akl5Aj3eHY2hCU51IxvneMw7qs8wmVZNnxqigwsFiv0vHXYw1oWCM-npvTj6eY-jxVy3J7ExTZ.5hAF7-dKXM_">
                        <ns:PassengerRefs>V1_PAX.1605138123033 V1_PAX.1605138123038</ns:PassengerRefs>
                    </ns:OfferItem>
                    <ns:OfferItem OfferItemID = "OF5_OI2-eJxlzEsKgzAURuEVKfeRm9wMg1go.ECbgo7.-e-C2EEp9AzP4ONIxuosSimgnPWxF3Akl5Aj3eHY2hCU51IxvneMw7qs8wmVZNnxqigwsFiv0vHXYw1oWCM-npvTj6eY-jxVy3J7ExTZ.5hAF7-dKXM_">
                        <ns:PassengerRefs>V1_PAX.1605138123039</ns:PassengerRefs>
                    </ns:OfferItem>
                    <ns:OfferItem OfferItemID = "OF5_OI3-eJxlzEsKgzAURuEVKfeRm9wMg1go.ECbgo7.-e-C2EEp9AzP4ONIxuosSimgnPWxF3Akl5Aj3eHY2hCU51IxvneMw7qs8wmVZNnxqigwsFiv0vHXYw1oWCM-npvTj6eY-jxVy3J7ExTZ.5hAF7-dKXM_">
                        <ns:PassengerRefs>V1_PAX.1605138123036</ns:PassengerRefs>
                    </ns:OfferItem>
                </ns:Offer>
                <ns:Offer

                    OfferID = "OO-eJxlzEsKgzAURuEVKfeRm9wMg1go.ECbgo7.-e-C2EEp9AzP4ONIxuosSimgnPWxF3Akl5Aj3eHY2hCU51IxvneMw7qs8wmVZNnxqigwsFiv0vHXYw1oWCM-npvTj6eY-jxVy3J7ExTZ.5hAF7-dKXM_"

                    Owner = "V1"

                    ResponseID = "One">
                    <ns:OfferItem OfferItemID = "OO337-eJw1ykkKgDAQBdETKd2dwWTZTiA4YBJBV--.tzAurOWj2JNjE1hstBFjv60gzWj4d0OdhT5lToqKoY6evnCfFQS67AXTlTANx35sD4x0LgbkAoUDi2uNgF5X2RrI">
                        <ns:PassengerRefs>V1_PAX.1605138123033</ns:PassengerRefs>
                    </ns:OfferItem>
                    <ns:OfferItem OfferItemID = "OO337-eJw1ykkKgDAQBdETKd2dwWTZTiA4YBJBV--.tzAurOWj2JNjE1hstBFjv60gzWj4d0OdhT5lToqKoY6evnCfFQS67AXTlTANx35sD4x0LgbkAoUDi2uNgF5X2RrI">
                        <ns:PassengerRefs>V1_PAX.1605138123038</ns:PassengerRefs>
                    </ns:OfferItem>
                    <ns:OfferItem OfferItemID = "OO337-eJw1ykkKgDAQBdETKd2dwWTZTiA4YBJBV--.tzAurOWj2JNjE1hstBFjv60gzWj4d0OdhT5lToqKoY6evnCfFQS67AXTlTANx35sD4x0LgbkAoUDi2uNgF5X2RrI">
                        <ns:PassengerRefs>V1_PAX.1605138123039</ns:PassengerRefs>
                    </ns:OfferItem>
                    <ns:OfferItem OfferItemID = "OO296-eJw1yEEKgCAQBdATFU6jNi6tDAJNUoNa-fvfogh6y0dWGWKhQTvtsEwpQvmKjv5nYo21eH83vCliRH1wHW8w4rY3hLMgzHnP6QYzGzegNkQwnPR2hHoAPkAasg__">
                        <ns:PassengerRefs>V1_PAX.1605138123033</ns:PassengerRefs>
                    </ns:OfferItem>
                    <ns:OfferItem OfferItemID = "OO296-eJw1yEEKgCAQBdATFU6jNi6tDAJNUoNa-fvfogh6y0dWGWKhQTvtsEwpQvmKjv5nYo21eH83vCliRH1wHW8w4rY3hLMgzHnP6QYzGzegNkQwnPR2hHoAPkAasg__">
                        <ns:PassengerRefs>V1_PAX.1605138123038</ns:PassengerRefs>
                    </ns:OfferItem>
                    <ns:OfferItem OfferItemID = "OO296-eJw1yEEKgCAQBdATFU6jNi6tDAJNUoNa-fvfogh6y0dWGWKhQTvtsEwpQvmKjv5nYo21eH83vCliRH1wHW8w4rY3hLMgzHnP6QYzGzegNkQwnPR2hHoAPkAasg__">
                        <ns:PassengerRefs>V1_PAX.1605138123039</ns:PassengerRefs>
                    </ns:OfferItem>
                </ns:Offer>
                <ns:Offer

                    OfferID = "OO-eJxlzEsKgzAURuEVKfeRm9wMg1go.ECbgo7.-e-C2EEp9AzP4ONIxuosSimgnPWxF3Akl5Aj3eHY2hCU51IxvneMw7qs8wmVZNnxqigwsFiv0vHXYw1oWCM-npvTj6eY-jxVy3J7ExTZ.5hAF7-dKXM_"

                    Owner = "V1"

                    ResponseID = "One">
                    <ns:OfferItem OfferItemID = "BO280-eJw1ykEOQDAQRuETkZlpp63lEMQCQQWr--63oAtv.eVxIGWXWHwTIu7WRlB3oeLfHUUPe-KwGz5MZaQS7u0DgU1LRn-u6Lt1WecHTqI2CUeGQcGitRPQC1sNGtE_">
                        <ns:PassengerRefs>V1_PAX.1605138123033</ns:PassengerRefs>
                    </ns:OfferItem>
                    <ns:OfferItem OfferItemID = "BO282-eJw1ykEOQDAQRuETkZlpp63lEMQCQQWr--63oAtv.eVxIGWXWHwTIu7WRlB3oeLfHUUPe-KwGz5MZaQS7u0DgU1LRn-u6Lt1WecHTqI2CUeGQcGitRPQC1sNGtE_">
                        <ns:PassengerRefs>V1_PAX.1605138123038</ns:PassengerRefs>
                    </ns:OfferItem>
                    <ns:OfferItem OfferItemID = "BO286-eJw1ykEOQDAQRuETkZlpp63lEMQCQQWr--63oAtv.eVxIGWXWHwTIu7WRlB3oeLfHUUPe-KwGz5MZaQS7u0DgU1LRn-u6Lt1WecHTqI2CUeGQcGitRPQC1sNGtE_">
                        <ns:PassengerRefs>V1_PAX.1605138123039</ns:PassengerRefs>
                    </ns:OfferItem>
                    <ns:OfferItem OfferItemID = "BO288-eJw1zEEKgCAQRuETFU6jNi4tKgIrMiNd-fe-RRL0lt-ikVWGWKjTzvbIg1.gxgcN-c7EGnP0viRUFDGivpDPCoyw7gnTHTGNx35sBcxsXIcrIYDhpK1j9QJBaxq7">
                        <ns:PassengerRefs>V1_PAX.1605138123033</ns:PassengerRefs>
                    </ns:OfferItem>
                    <ns:OfferItem OfferItemID = "BO290-eJw1zEEKgCAQRuETFU6jNi4tKgIrMiNd-fe-RRL0lt-ikVWGWKjTzvbIg1.gxgcN-c7EGnP0viRUFDGivpDPCoyw7gnTHTGNx35sBcxsXIcrIYDhpK1j9QJBaxq7">
                        <ns:PassengerRefs>V1_PAX.1605138123038</ns:PassengerRefs>
                    </ns:OfferItem>
                    <ns:OfferItem OfferItemID = "BO294-eJw1zEEKgCAQRuETFU6jNi4tKgIrMiNd-fe-RRL0lt-ikVWGWKjTzvbIg1.gxgcN-c7EGnP0viRUFDGivpDPCoyw7gnTHTGNx35sBcxsXIcrIYDhpK1j9QJBaxq7">
                        <ns:PassengerRefs>V1_PAX.1605138123039</ns:PassengerRefs>
                    </ns:OfferItem>
                </ns:Offer>
                <ns:Offer

                    OfferID = "SO-eJxlzEsKgzAURuEVKfeRm9wMg1go.ECbgo7.-e-C2EEp9AzP4ONIxuosSimgnPWxF3Akl5Aj3eHY2hCU51IxvneMw7qs8wmVZNnxqigwsFiv0vHXYw1oWCM-npvTj6eY-jxVy3J7ExTZ.5hAF7-dKXM_"

                    Owner = "V1"

                    ResponseID = "tx-01-01-1-af5f14fb-cdc6">
                    <ns:OfferItem OfferItemID = "SO1_OI2-eJwVyDsOgCAQBcAr7S4fodwYTCyEiJhI9S5A7Ly-OuWwJ8cmsBiaLLS3pSrYUxAbPf1w7V8IdM0N6axIc8ll6zAyuRhwNCgc7mcM0AsYLhWG">
                        <ns:PassengerRefs>V1_PAX.1605138123033</ns:PassengerRefs>
                        <ns:SeatSelection>
                            <ns:Row>11</ns:Row>
                            <ns:Column>D</ns:Column>
                        </ns:SeatSelection>
                    </ns:OfferItem>
                    <ns:OfferItem OfferItemID = "SO1_OI2-eJwVyDsOgCAQBcAr7S4fodwYTCyEiJhI9S5A7Ly-OuWwJ8cmsBiaLLS3pSrYUxAbPf1w7V8IdM0N6axIc8ll6zAyuRhwNCgc7mcM0AsYLhWG">
                        <ns:PassengerRefs>V1_PAX.1605138123038</ns:PassengerRefs>
                        <ns:SeatSelection>
                            <ns:Row>11</ns:Row>
                            <ns:Column>E</ns:Column>
                        </ns:SeatSelection>
                    </ns:OfferItem>
                    <ns:OfferItem OfferItemID = "SO1_OI2-eJwVyDsOgCAQBcAr7S4fodwYTCyEiJhI9S5A7Ly-OuWwJ8cmsBiaLLS3pSrYUxAbPf1w7V8IdM0N6axIc8ll6zAyuRhwNCgc7mcM0AsYLhWG">
                        <ns:PassengerRefs>V1_PAX.1605138123039</ns:PassengerRefs>
                        <ns:SeatSelection>
                            <ns:Row>11</ns:Row>
                            <ns:Column>F</ns:Column>
                        </ns:SeatSelection>
                    </ns:OfferItem>
                </ns:Offer
                    
                     
                <ns:Offer

                    OfferID = "SO-eJxlzEsKgzAURuEVKfeRm9wMg1go.ECbgo7.-e-C2EEp9AzP4ONIxuosSimgnPWxF3Akl5Aj3eHY2hCU51IxvneMw7qs8wmVZNnxqigwsFiv0vHXYw1oWCM-npvTj6eY-jxVy3J7ExTZ.5hAF7-dKXM_"

                    Owner = "V1"

                    ResponseID = "tx-01-01-1-af5f14fb-cdc6">
                    <ns:OfferItem OfferItemID = "SO1_OI2-eJwdyEEKgCAQBdArzfhTbClhEJSSGeTqX0Dadf.it3zqxCq8GigGziWEVqlOvLdefrz2L8B1SZXxLIxTTnlrBGBHw6NyJXg-vVNeGMQVjw__">
                        <ns:PassengerRefs>V1_PAX.1605138123033</ns:PassengerRefs>
                        <ns:SeatSelection>
                            <ns:Row>2</ns:Row>
                            <ns:Column>A</ns:Column>
                        </ns:SeatSelection>
                    </ns:OfferItem>
                    <ns:OfferItem OfferItemID = "SO1_OI2-eJwdyEEKgCAQBdArzfhTbClhEJSSGeTqX0Dadf.it3zqxCq8GigGziWEVqlOvLdefrz2L8B1SZXxLIxTTnlrBGBHw6NyJXg-vVNeGMQVjw__">
                        <ns:PassengerRefs>V1_PAX.1605138123039</ns:PassengerRefs>
                        <ns:SeatSelection>
                            <ns:Row>2</ns:Row>
                            <ns:Column>B</ns:Column>
                        </ns:SeatSelection>
                    </ns:OfferItem>
                    <ns:OfferItem OfferItemID = "SO1_OI2-eJwdyEEKgCAQBdArzfhTbClhEJSSGeTqX0Dadf.it3zqxCq8GigGziWEVqlOvLdefrz2L8B1SZXxLIxTTnlrBGBHw6NyJXg-vVNeGMQVjw__">
                        <ns:PassengerRefs>V1_PAX.1605138123038</ns:PassengerRefs>
                        <ns:SeatSelection>
                            <ns:Row>2</ns:Row>
                            <ns:Column>C</ns:Column>
                        </ns:SeatSelection>
                    </ns:OfferItem>
                </ns:Offer>
            </ns:Query>
            <ns:DataLists>
                <ns:PassengerList>
                    <ns:Passenger PassengerID = "V1_PAX.1605138123033">
                        <ns:PTC>ADT</ns:PTC>
                    </ns:Passenger>
                    <ns:Passenger PassengerID = "V1_PAX.1605138123038">
                        <ns:PTC>ADT</ns:PTC>
                    </ns:Passenger>
                    <ns:Passenger PassengerID = "V1_PAX.1605138123039">
                        <ns:PTC>CHD</ns:PTC>
                    </ns:Passenger>
                    <ns:Passenger PassengerID = "V1_PAX.1605138123036">
                        <ns:PTC>INF</ns:PTC>
                    </ns:Passenger>
                </ns:PassengerList>
            </ns:DataLists>
        </ns:OfferPriceRQ>
    </soapenv:Body>
</soapenv:Envelope>

...