Overview

An example of end-to-end scenario based on on operation flow and user story


Operation flow

searchFlightsJourney → book (Flight) → Read → reprice without PNR → reprice with PNR → demandTickets (ETK) 

User story

S7 Agent wants to buy one way flight from Irkutsk (IKT) to Phuket (HKT) for one adult traveler. He chooses transfer itinerary S7+PG flight.

Scenario

The general process for buying a trip such as this is:

  1. Initial search for flight solutions: S7 Agent executes a searchFlightsJourney operation with itinerary criteria and passenger types count;

  2. Book a reservation: S7 Agent executes a book operation with passenger details and itinerary info of chosen solution from search results;

  3. Read a reservation: S7 Agent executes a read operation with S7 PNR locator number;
  4. Request for informative reservation pricing: S7 Agent executes a reprice operation with itinerary info of chosen solution;

  5. Request for reservation pricing: S7 Agent executes a reprice operation with itinerary info of chosen solution;

  6. Issue tickets for all passenger: S7 Agent executes a demandTickets operation with reservation reference and pricing details.

Table of contents:


Before you can send a request to S7 Agent API, you must get an SSL certificate and configure your software.

Step 1: Initial search for flight solutions

S7 Agent executes a searchFlightsJourney operation with itinerary criteria and passenger types count


AirShoppingRQ
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    <Header/>
    <Body>
        <AirShoppingRQ xmlns="http://www.iata.org/IATA/EDIST" Version="1.0">
            <Document/>
            <Party>
                <Sender>
                    <AgentUserSender>
                        <PseudoCity>S7AGN8224</PseudoCity>
                        <AgentUserID>test</AgentUserID>
                    </AgentUserSender>
                </Sender>
            </Party>
            <Parameters>
                <CurrCodes>
                    <CurrCode>RUB</CurrCode>
                </CurrCodes>
            </Parameters>
            <Travelers>
                <Traveler>
                    <AnonymousTraveler>
                        <PTC Quantity="1">ADT</PTC>
                    </AnonymousTraveler>
                </Traveler>
            </Travelers>
            <CoreQuery>
                <OriginDestinations>
                    <OriginDestination>
                        <Departure>
                            <AirportCode>MSQ</AirportCode>
                            <Date>2023-06-21</Date>
                        </Departure>
                        <Arrival>
                            <AirportCode>OVB</AirportCode>
                        </Arrival>
                    </OriginDestination>
                </OriginDestinations>
            </CoreQuery>
        </AirShoppingRQ>
    </Body>
</Envelope>


AirShoppingRS
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:Envelope xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns3="http://www.iata.org/IATA/EDIST">
    <ns2:Body>
        <ns3:AirShoppingRS Version="2.000">
            <ns3:Document>
                <ns3:Name>1.0</ns3:Name>
            </ns3:Document>
            <ns3:Success/>
            <ns3:AirShoppingProcessing/>
            <ns3:OffersGroup>
                <ns3:AirlineOffers>
                    <ns3:Owner>S7</ns3:Owner>
                    <ns3:AirlineOffer>
                        <ns3:OfferID Owner="S7">OF1</ns3:OfferID>
                        <ns3:TotalPrice>
                            <ns3:DetailCurrencyPrice>
                                <ns3:Total Code="RUB">55691</ns3:Total>
                                <ns3:Details>
                                    <ns3:Detail>
                                        <ns3:SubTotal Code="RUB">55080</ns3:SubTotal>
                                        <ns3:Application>Fare</ns3:Application>
                                    </ns3:Detail>
                                    <ns3:Detail>
                                        <ns3:SubTotal Code="EUR">540</ns3:SubTotal>
                                        <ns3:Application>Fare</ns3:Application>
                                    </ns3:Detail>
                                </ns3:Details>
                                <ns3:Taxes>
                                    <ns3:Total Code="RUB">611</ns3:Total>
                                </ns3:Taxes>
                            </ns3:DetailCurrencyPrice>
                        </ns3:TotalPrice>
                        <ns3:Disclosure>
                            <ns3:Description>
                                <ns3:Text>STANDARD ECONOMY</ns3:Text>
                            </ns3:Description>
                        </ns3:Disclosure>
                        <ns3:PricedOffer>
                            <ns3:OfferPrice OfferItemID="OF1SL1">
                                <ns3:RequestedDate>
                                    <ns3:PriceDetail>
                                        <ns3:TotalAmount>
                                            <ns3:DetailCurrencyPrice>
                                                <ns3:Total Code="RUB">55691</ns3:Total>
                                                <ns3:Taxes>
                                                    <ns3:Total Code="RUB">611</ns3:Total>
                                                </ns3:Taxes>
                                            </ns3:DetailCurrencyPrice>
                                        </ns3:TotalAmount>
                                        <ns3:BaseAmount Code="RUB">55080</ns3:BaseAmount>
                                    </ns3:PriceDetail>
                                    <ns3:Associations>
                                        <ns3:OtherAssociation>
                                            <ns3:OtherAssociation>
                                                <ns3:Type>SEG1 IKT-BKK</ns3:Type>
                                                <ns3:ReferenceValue>Meal_H</ns3:ReferenceValue>
                                            </ns3:OtherAssociation>
                                        </ns3:OtherAssociation>
                                    </ns3:Associations>
                                    <ns3:Associations>
                                        <ns3:AssociatedTraveler>
                                            <ns3:TravelerReferences>SH1</ns3:TravelerReferences>
                                        </ns3:AssociatedTraveler>
                                        <ns3:ApplicableFlight>
                                            <ns3:OriginDestinationReferences>OD1</ns3:OriginDestinationReferences>
                                            <ns3:FlightSegmentReference ref="SEG1">
                                                <ns3:Cabin>
                                                    <ns3:CabinDesignator>Y</ns3:CabinDesignator>
                                                    <ns3:MarketingName>STANDARD ECONOMY</ns3:MarketingName>
                                                </ns3:Cabin>
                                            </ns3:FlightSegmentReference>
                                            <ns3:FlightSegmentReference ref="SEG1">
                                                <ns3:ClassOfService>
                                                    <ns3:Code SeatsLeft="9">K</ns3:Code>
                                                    <ns3:MarketingName>KPGBKKY0</ns3:MarketingName>
                                                </ns3:ClassOfService>
                                                <ns3:BagDetailAssociation>
                                                    <ns3:CheckedBagReferences>BG1</ns3:CheckedBagReferences>
                                                    <ns3:CarryOnReferences>CO1</ns3:CarryOnReferences>
                                                </ns3:BagDetailAssociation>
                                            </ns3:FlightSegmentReference>
                                            <ns3:FlightSegmentReference ref="SEG2">
                                                <ns3:Cabin>
                                                    <ns3:CabinDesignator>Y</ns3:CabinDesignator>
                                                    <ns3:MarketingName>STANDARD ECONOMY</ns3:MarketingName>
                                                </ns3:Cabin>
                                            </ns3:FlightSegmentReference>
                                            <ns3:FlightSegmentReference ref="SEG2">
                                                <ns3:ClassOfService>
                                                    <ns3:Code SeatsLeft="4">Y</ns3:Code>
                                                    <ns3:MarketingName>KPGBKKY0</ns3:MarketingName>
                                                </ns3:ClassOfService>
                                                <ns3:BagDetailAssociation>
                                                    <ns3:CheckedBagReferences>BG2</ns3:CheckedBagReferences>
                                                    <ns3:CarryOnReferences>CO2</ns3:CarryOnReferences>
                                                </ns3:BagDetailAssociation>
                                            </ns3:FlightSegmentReference>
                                        </ns3:ApplicableFlight>
                                        <ns3:OtherAssociation>
                                            <ns3:OtherAssociation>
                                                <ns3:Type>KPGBKKY0</ns3:Type>
                                                <ns3:ReferenceValue>PL1</ns3:ReferenceValue>
                                            </ns3:OtherAssociation>
                                            <ns3:OtherAssociation>
                                                <ns3:Type>KPGBKKY0</ns3:Type>
                                                <ns3:ReferenceValue>PL1</ns3:ReferenceValue>
                                            </ns3:OtherAssociation>
                                        </ns3:OtherAssociation>
                                    </ns3:Associations>
                                </ns3:RequestedDate>
                                <ns3:FareDetail>
                                    <ns3:FareComponent refs="SH1" ObjectKey="FC1">
                                        <ns3:Parameters Quantity="1"/>
                                        <ns3:PriceBreakdown>
                                            <ns3:Price>
                                                <ns3:BaseAmount Code="RUB">55080</ns3:BaseAmount>
                                                <ns3:Taxes>
                                                    <ns3:Total Code="RUB">611</ns3:Total>
                                                    <ns3:Breakdown>
                                                        <ns3:Tax>
                                                            <ns3:Amount Code="RUB">205</ns3:Amount>
                                                            <ns3:TaxCode>RI</ns3:TaxCode>
                                                            <ns3:Description>Terminal Use Charge</ns3:Description>
                                                        </ns3:Tax>
                                                        <ns3:Tax>
                                                            <ns3:Amount Code="RUB">95</ns3:Amount>
                                                            <ns3:TaxCode>E7</ns3:TaxCode>
                                                            <ns3:Description>Surcharge</ns3:Description>
                                                        </ns3:Tax>
                                                        <ns3:Tax>
                                                            <ns3:Amount Code="RUB">41</ns3:Amount>
                                                            <ns3:TaxCode>G8</ns3:TaxCode>
                                                            <ns3:Description>Surcharge</ns3:Description>
                                                        </ns3:Tax>
                                                        <ns3:Tax>
                                                            <ns3:Amount Code="RUB">270</ns3:Amount>
                                                            <ns3:TaxCode>TS</ns3:TaxCode>
                                                            <ns3:Description>Surcharge</ns3:Description>
                                                        </ns3:Tax>
                                                    </ns3:Breakdown>
                                                </ns3:Taxes>
                                            </ns3:Price>
                                        </ns3:PriceBreakdown>
                                    </ns3:FareComponent>
                                </ns3:FareDetail>
                            </ns3:OfferPrice>
                        </ns3:PricedOffer>
                    </ns3:AirlineOffer>
                </ns3:AirlineOffers>
                <ns3:AirlineOffers>
                    <ns3:Owner>S7</ns3:Owner>
                    <ns3:AirlineOffer>
                        <ns3:OfferID Owner="S7">OF1</ns3:OfferID>
                        <ns3:TotalPrice>
                            <ns3:DetailCurrencyPrice>
                                <ns3:Total Code="RUB">55691</ns3:Total>
                                <ns3:Details>
                                    <ns3:Detail>
                                        <ns3:SubTotal Code="RUB">55080</ns3:SubTotal>
                                        <ns3:Application>Fare</ns3:Application>
                                    </ns3:Detail>
                                    <ns3:Detail>
                                        <ns3:SubTotal Code="EUR">540</ns3:SubTotal>
                                        <ns3:Application>Fare</ns3:Application>
                                    </ns3:Detail>
                                </ns3:Details>
                                <ns3:Taxes>
                                    <ns3:Total Code="RUB">611</ns3:Total>
                                </ns3:Taxes>
                            </ns3:DetailCurrencyPrice>
                        </ns3:TotalPrice>
                        <ns3:Disclosure>
                            <ns3:Description>
                                <ns3:Text>STANDARD ECONOMY</ns3:Text>
                            </ns3:Description>
                        </ns3:Disclosure>
                        <ns3:PricedOffer>
                            <ns3:OfferPrice OfferItemID="OF1SL1">
                                <ns3:RequestedDate>
                                    <ns3:PriceDetail>
                                        <ns3:TotalAmount>
                                            <ns3:DetailCurrencyPrice>
                                                <ns3:Total Code="RUB">55691</ns3:Total>
                                                <ns3:Taxes>
                                                    <ns3:Total Code="RUB">611</ns3:Total>
                                                </ns3:Taxes>
                                            </ns3:DetailCurrencyPrice>
                                        </ns3:TotalAmount>
                                        <ns3:BaseAmount Code="RUB">55080</ns3:BaseAmount>
                                    </ns3:PriceDetail>
                                    <ns3:Associations>
                                        <ns3:OtherAssociation>
                                            <ns3:OtherAssociation>
                                                <ns3:Type>SEG3 IKT-BKK</ns3:Type>
                                                <ns3:ReferenceValue>Meal_H</ns3:ReferenceValue>
                                            </ns3:OtherAssociation>
                                        </ns3:OtherAssociation>
                                    </ns3:Associations>
                                    <ns3:Associations>
                                        <ns3:AssociatedTraveler>
                                            <ns3:TravelerReferences>SH1</ns3:TravelerReferences>
                                        </ns3:AssociatedTraveler>
                                        <ns3:ApplicableFlight>
                                            <ns3:OriginDestinationReferences>OD2</ns3:OriginDestinationReferences>
                                            <ns3:FlightSegmentReference ref="SEG3">
                                                <ns3:Cabin>
                                                    <ns3:CabinDesignator>Y</ns3:CabinDesignator>
                                                    <ns3:MarketingName>STANDARD ECONOMY</ns3:MarketingName>
                                                </ns3:Cabin>
                                            </ns3:FlightSegmentReference>
                                            <ns3:FlightSegmentReference ref="SEG3">
                                                <ns3:ClassOfService>
                                                    <ns3:Code SeatsLeft="9">K</ns3:Code>
                                                    <ns3:MarketingName>KPGBKKY0</ns3:MarketingName>
                                                </ns3:ClassOfService>
                                                <ns3:BagDetailAssociation>
                                                    <ns3:CheckedBagReferences>BG1</ns3:CheckedBagReferences>
                                                    <ns3:CarryOnReferences>CO1</ns3:CarryOnReferences>
                                                </ns3:BagDetailAssociation>
                                            </ns3:FlightSegmentReference>
                                            <ns3:FlightSegmentReference ref="SEG4">
                                                <ns3:Cabin>
                                                    <ns3:CabinDesignator>Y</ns3:CabinDesignator>
                                                    <ns3:MarketingName>STANDARD ECONOMY</ns3:MarketingName>
                                                </ns3:Cabin>
                                            </ns3:FlightSegmentReference>
                                            <ns3:FlightSegmentReference ref="SEG4">
                                                <ns3:ClassOfService>
                                                    <ns3:Code SeatsLeft="4">Y</ns3:Code>
                                                    <ns3:MarketingName>KPGBKKY0</ns3:MarketingName>
                                                </ns3:ClassOfService>
                                                <ns3:BagDetailAssociation>
                                                    <ns3:CheckedBagReferences>BG2</ns3:CheckedBagReferences>
                                                    <ns3:CarryOnReferences>CO2</ns3:CarryOnReferences>
                                                </ns3:BagDetailAssociation>
                                            </ns3:FlightSegmentReference>
                                        </ns3:ApplicableFlight>
                                        <ns3:OtherAssociation>
                                            <ns3:OtherAssociation>
                                                <ns3:Type>KPGBKKY0</ns3:Type>
                                                <ns3:ReferenceValue>PL1</ns3:ReferenceValue>
                                            </ns3:OtherAssociation>
                                            <ns3:OtherAssociation>
                                                <ns3:Type>KPGBKKY0</ns3:Type>
                                                <ns3:ReferenceValue>PL1</ns3:ReferenceValue>
                                            </ns3:OtherAssociation>
                                        </ns3:OtherAssociation>
                                    </ns3:Associations>
                                </ns3:RequestedDate>
                                <ns3:FareDetail>
                                    <ns3:FareComponent refs="SH1" ObjectKey="FC2">
                                        <ns3:Parameters Quantity="1"/>
                                        <ns3:PriceBreakdown>
                                            <ns3:Price>
                                                <ns3:BaseAmount Code="RUB">55080</ns3:BaseAmount>
                                                <ns3:Taxes>
                                                    <ns3:Total Code="RUB">611</ns3:Total>
                                                    <ns3:Breakdown>
                                                        <ns3:Tax>
                                                            <ns3:Amount Code="RUB">205</ns3:Amount>
                                                            <ns3:TaxCode>RI</ns3:TaxCode>
                                                            <ns3:Description>Terminal Use Charge</ns3:Description>
                                                        </ns3:Tax>
                                                        <ns3:Tax>
                                                            <ns3:Amount Code="RUB">95</ns3:Amount>
                                                            <ns3:TaxCode>E7</ns3:TaxCode>
                                                            <ns3:Description>Surcharge</ns3:Description>
                                                        </ns3:Tax>
                                                        <ns3:Tax>
                                                            <ns3:Amount Code="RUB">41</ns3:Amount>
                                                            <ns3:TaxCode>G8</ns3:TaxCode>
                                                            <ns3:Description>Surcharge</ns3:Description>
                                                        </ns3:Tax>
                                                        <ns3:Tax>
                                                            <ns3:Amount Code="RUB">270</ns3:Amount>
                                                            <ns3:TaxCode>TS</ns3:TaxCode>
                                                            <ns3:Description>Surcharge</ns3:Description>
                                                        </ns3:Tax>
                                                    </ns3:Breakdown>
                                                </ns3:Taxes>
                                            </ns3:Price>
                                        </ns3:PriceBreakdown>
                                    </ns3:FareComponent>
                                </ns3:FareDetail>
                            </ns3:OfferPrice>
                        </ns3:PricedOffer>
                    </ns3:AirlineOffer>
                </ns3:AirlineOffers>
            </ns3:OffersGroup>
            <ns3:DataLists>
                <ns3:AnonymousTravelerList>
                    <ns3:AnonymousTraveler ObjectKey="SH1">
                        <ns3:PTC Quantity="1">ADT</ns3:PTC>
                    </ns3:AnonymousTraveler>
                </ns3:AnonymousTravelerList>
                <ns3:CarryOnAllowanceList>
                    <ns3:CarryOnAllowance ListKey="CO1">
                        <ns3:AllowanceDescription>
                            <ns3:ApplicableParty>Traveler</ns3:ApplicableParty>
                            <ns3:Descriptions>
                                <ns3:Description>
                                    <ns3:Text>10KG</ns3:Text>
                                </ns3:Description>
                            </ns3:Descriptions>
                        </ns3:AllowanceDescription>
                    </ns3:CarryOnAllowance>
                    <ns3:CarryOnAllowance ListKey="CO2">
                        <ns3:AllowanceDescription>
                            <ns3:ApplicableParty>Traveler</ns3:ApplicableParty>
                            <ns3:Descriptions>
                                <ns3:Description>
                                    <ns3:Text>7KG</ns3:Text>
                                </ns3:Description>
                            </ns3:Descriptions>
                        </ns3:AllowanceDescription>
                    </ns3:CarryOnAllowance>
                </ns3:CarryOnAllowanceList>
                <ns3:CheckedBagAllowanceList>
                    <ns3:CheckedBagAllowance ListKey="BG1">
                        <ns3:AllowanceDescription>
                            <ns3:ApplicableParty>Traveler</ns3:ApplicableParty>
                            <ns3:ApplicableBag>1PC</ns3:ApplicableBag>
                            <ns3:Descriptions>
                                <ns3:Description>
                                    <ns3:Text>temporarily unknown service</ns3:Text>
                                </ns3:Description>
                                <ns3:Description>
                                    <ns3:Text>Fishing Equipment</ns3:Text>
                                </ns3:Description>
                                <ns3:Description>
                                    <ns3:Text>Golf Equipment</ns3:Text>
                                </ns3:Description>
                                <ns3:Description>
                                    <ns3:Text>Skiing Equipment</ns3:Text>
                                </ns3:Description>
                                <ns3:Description>
                                    <ns3:Text>Bicycle</ns3:Text>
                                </ns3:Description>
                                <ns3:Description>
                                    <ns3:Text>Hockey Equipment</ns3:Text>
                                </ns3:Description>
                                <ns3:Description>
                                    <ns3:Text>Stroller/Pushchair</ns3:Text>
                                </ns3:Description>
                                <ns3:Description>
                                    <ns3:Text>Sporting Equipment</ns3:Text>
                                </ns3:Description>
                                <ns3:Description>
                                    <ns3:Text>23 KG</ns3:Text>
                                </ns3:Description>
                                <ns3:Description>
                                    <ns3:Text>Up to 50 lb/23 kg</ns3:Text>
                                </ns3:Description>
                                <ns3:Description>
                                    <ns3:Text>Max Length Up to 79 in/200 cm</ns3:Text>
                                </ns3:Description>
                            </ns3:Descriptions>
                        </ns3:AllowanceDescription>
                    </ns3:CheckedBagAllowance>
                    <ns3:CheckedBagAllowance ListKey="BG2">
                        <ns3:AllowanceDescription>
                            <ns3:ApplicableParty>Traveler</ns3:ApplicableParty>
                            <ns3:ApplicableBag>1PC</ns3:ApplicableBag>
                            <ns3:Descriptions>
                                <ns3:Description>
                                    <ns3:Text>20 KG</ns3:Text>
                                </ns3:Description>
                                <ns3:Description>
                                    <ns3:Text>Up to 44 lb/20 kg</ns3:Text>
                                </ns3:Description>
                            </ns3:Descriptions>
                        </ns3:AllowanceDescription>
                    </ns3:CheckedBagAllowance>
                </ns3:CheckedBagAllowanceList>
                <ns3:FlightSegmentList>
                    <ns3:FlightSegment SegmentKey="SEG1">
                        <ns3:Departure>
                            <ns3:AirportCode>IKT</ns3:AirportCode>
                            <ns3:Date>2023-11-01</ns3:Date>
                            <ns3:Time>10:10</ns3:Time>
                        </ns3:Departure>
                        <ns3:Arrival>
                            <ns3:AirportCode>BKK</ns3:AirportCode>
                            <ns3:Date>2023-11-01</ns3:Date>
                            <ns3:Time>15:30</ns3:Time>
                        </ns3:Arrival>
                        <ns3:MarketingCarrier>
                            <ns3:AirlineID>S7</ns3:AirlineID>
                            <ns3:FlightNumber>6309</ns3:FlightNumber>
                        </ns3:MarketingCarrier>
                        <ns3:OperatingCarrier>
                            <ns3:AirlineID>S7</ns3:AirlineID>
                            <ns3:FlightNumber>6309</ns3:FlightNumber>
                        </ns3:OperatingCarrier>
                        <ns3:Equipment>
                            <ns3:AircraftCode>73H</ns3:AircraftCode>
                            <ns3:AirlineEquipCode>Boeing 737-800</ns3:AirlineEquipCode>
                        </ns3:Equipment>
                        <ns3:FlightDetail>
                            <ns3:FlightDistance>
                                <ns3:Value>2667</ns3:Value>
                                <ns3:UOM>Miles</ns3:UOM>
                            </ns3:FlightDistance>
                            <ns3:FlightDuration>
                                <ns3:Value>PT6H20M</ns3:Value>
                            </ns3:FlightDuration>
                        </ns3:FlightDetail>
                    </ns3:FlightSegment>
                    <ns3:FlightSegment SegmentKey="SEG2">
                        <ns3:Departure>
                            <ns3:AirportCode>BKK</ns3:AirportCode>
                            <ns3:Date>2023-11-01</ns3:Date>
                            <ns3:Time>19:40</ns3:Time>
                        </ns3:Departure>
                        <ns3:Arrival>
                            <ns3:AirportCode>HKT</ns3:AirportCode>
                            <ns3:Date>2023-11-01</ns3:Date>
                            <ns3:Time>21:10</ns3:Time>
                            <ns3:Terminal>
                                <ns3:Name>D</ns3:Name>
                            </ns3:Terminal>
                        </ns3:Arrival>
                        <ns3:MarketingCarrier>
                            <ns3:AirlineID>PG</ns3:AirlineID>
                            <ns3:FlightNumber>279</ns3:FlightNumber>
                        </ns3:MarketingCarrier>
                        <ns3:OperatingCarrier>
                            <ns3:AirlineID>PG</ns3:AirlineID>
                            <ns3:FlightNumber>279</ns3:FlightNumber>
                        </ns3:OperatingCarrier>
                        <ns3:Equipment>
                            <ns3:AircraftCode>320</ns3:AircraftCode>
                            <ns3:AirlineEquipCode>Airbus A320</ns3:AirlineEquipCode>
                        </ns3:Equipment>
                        <ns3:FlightDetail>
                            <ns3:FlightDistance>
                                <ns3:Value>424</ns3:Value>
                                <ns3:UOM>Miles</ns3:UOM>
                            </ns3:FlightDistance>
                            <ns3:FlightDuration>
                                <ns3:Value>PT1H30M</ns3:Value>
                            </ns3:FlightDuration>
                        </ns3:FlightDetail>
                    </ns3:FlightSegment>
                    <ns3:FlightSegment SegmentKey="SEG3">
                        <ns3:Departure>
                            <ns3:AirportCode>IKT</ns3:AirportCode>
                            <ns3:Date>2023-11-01</ns3:Date>
                            <ns3:Time>05:05</ns3:Time>
                        </ns3:Departure>
                        <ns3:Arrival>
                            <ns3:AirportCode>BKK</ns3:AirportCode>
                            <ns3:Date>2023-11-01</ns3:Date>
                            <ns3:Time>10:25</ns3:Time>
                        </ns3:Arrival>
                        <ns3:MarketingCarrier>
                            <ns3:AirlineID>S7</ns3:AirlineID>
                            <ns3:FlightNumber>6307</ns3:FlightNumber>
                        </ns3:MarketingCarrier>
                        <ns3:OperatingCarrier>
                            <ns3:AirlineID>S7</ns3:AirlineID>
                            <ns3:FlightNumber>6307</ns3:FlightNumber>
                        </ns3:OperatingCarrier>
                        <ns3:Equipment>
                            <ns3:AircraftCode>73H</ns3:AircraftCode>
                            <ns3:AirlineEquipCode>Boeing 737-800</ns3:AirlineEquipCode>
                        </ns3:Equipment>
                        <ns3:FlightDetail>
                            <ns3:FlightDistance>
                                <ns3:Value>2667</ns3:Value>
                                <ns3:UOM>Miles</ns3:UOM>
                            </ns3:FlightDistance>
                            <ns3:FlightDuration>
                                <ns3:Value>PT6H20M</ns3:Value>
                            </ns3:FlightDuration>
                        </ns3:FlightDetail>
                    </ns3:FlightSegment>
                    <ns3:FlightSegment SegmentKey="SEG4">
                        <ns3:Departure>
                            <ns3:AirportCode>BKK</ns3:AirportCode>
                            <ns3:Date>2023-11-01</ns3:Date>
                            <ns3:Time>17:30</ns3:Time>
                        </ns3:Departure>
                        <ns3:Arrival>
                            <ns3:AirportCode>HKT</ns3:AirportCode>
                            <ns3:Date>2023-11-01</ns3:Date>
                            <ns3:Time>19:00</ns3:Time>
                            <ns3:Terminal>
                                <ns3:Name>D</ns3:Name>
                            </ns3:Terminal>
                        </ns3:Arrival>
                        <ns3:MarketingCarrier>
                            <ns3:AirlineID>PG</ns3:AirlineID>
                            <ns3:FlightNumber>277</ns3:FlightNumber>
                        </ns3:MarketingCarrier>
                        <ns3:OperatingCarrier>
                            <ns3:AirlineID>PG</ns3:AirlineID>
                            <ns3:FlightNumber>277</ns3:FlightNumber>
                        </ns3:OperatingCarrier>
                        <ns3:Equipment>
                            <ns3:AircraftCode>320</ns3:AircraftCode>
                            <ns3:AirlineEquipCode>Airbus A320</ns3:AirlineEquipCode>
                        </ns3:Equipment>
                        <ns3:FlightDetail>
                            <ns3:FlightDistance>
                                <ns3:Value>424</ns3:Value>
                                <ns3:UOM>Miles</ns3:UOM>
                            </ns3:FlightDistance>
                            <ns3:FlightDuration>
                                <ns3:Value>PT1H30M</ns3:Value>
                            </ns3:FlightDuration>
                        </ns3:FlightDetail>
                    </ns3:FlightSegment>
                </ns3:FlightSegmentList>
                <ns3:OriginDestinationList>
                    <ns3:OriginDestination OriginDestinationKey="OD1">
                        <ns3:DepartureCode>IKT</ns3:DepartureCode>
                        <ns3:ArrivalCode>HKT</ns3:ArrivalCode>
                        <ns3:FlightReferences>SEG1 SEG2</ns3:FlightReferences>
                    </ns3:OriginDestination>
                    <ns3:OriginDestination OriginDestinationKey="OD2">
                        <ns3:DepartureCode>IKT</ns3:DepartureCode>
                        <ns3:ArrivalCode>HKT</ns3:ArrivalCode>
                        <ns3:FlightReferences>SEG3 SEG4</ns3:FlightReferences>
                    </ns3:OriginDestination>
                </ns3:OriginDestinationList>
                <ns3:PenaltyList>
                    <ns3:Penalty ObjectKey="PL1">
                        <ns3:Details>
                            <ns3:Detail>
                                <ns3:Type>BEFORE-DEPARTURE</ns3:Type>
                                <ns3:Application>
                                    <ns3:Code>changePenalty</ns3:Code>
                                </ns3:Application>
                                <ns3:Amounts>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="EUR">45</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MinimumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="EUR">45</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MaximumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                </ns3:Amounts>
                            </ns3:Detail>
                            <ns3:Detail>
                                <ns3:Type>BEFORE-DEPARTURE</ns3:Type>
                                <ns3:Application>
                                    <ns3:Code>cancellationAndRefundPenalty</ns3:Code>
                                </ns3:Application>
                                <ns3:Amounts>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="EUR">55</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MinimumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                    <ns3:Amount>
                                        <ns3:CurrencyAmountValue Code="EUR">55</ns3:CurrencyAmountValue>
                                        <ns3:AmountApplication>MaximumPenaltyAmount</ns3:AmountApplication>
                                    </ns3:Amount>
                                </ns3:Amounts>
                            </ns3:Detail>
                        </ns3:Details>
                    </ns3:Penalty>
                </ns3:PenaltyList>
                <ns3:ServiceList>
                    <ns3:Service ObjectKey="Meal_H">
                        <ns3:ServiceID Owner="Any">H</ns3:ServiceID>
                        <ns3:Name>Meal</ns3:Name>
                        <ns3:Descriptions>
                            <ns3:Description>
                                <ns3:Text>Hot meal</ns3:Text>
                            </ns3:Description>
                        </ns3:Descriptions>
                    </ns3:Service>
                </ns3:ServiceList>
            </ns3:DataLists>
            <ns3:Metadata>
                <ns3:Other>
                    <ns3:OtherMetadata>
                        <ns3:CurrencyMetadatas>
                            <ns3:CurrencyMetadata MetadataKey="RUB">
                                <ns3:Application>Sale currency</ns3:Application>
                                <ns3:Decimals>2</ns3:Decimals>
                            </ns3:CurrencyMetadata>
                            <ns3:CurrencyMetadata MetadataKey="EUR">
                                <ns3:Application>102</ns3:Application>
                                <ns3:Decimals>2</ns3:Decimals>
                                <ns3:Name>Conversion rate from EUR to RUB</ns3:Name>
                            </ns3:CurrencyMetadata>
                        </ns3:CurrencyMetadatas>
                    </ns3:OtherMetadata>
                </ns3:Other>
            </ns3:Metadata>
        </ns3:AirShoppingRS>
    </ns2:Body>
</ns2:Envelope>

Received solutions divided by fare family and mostly includes 4 sub solutions (Basic Economy, Flex Economy, Basic Business, Flex Business) for each itinerary solution.

Step 2: Book a reservation

S7 Agent executes a book operation with passenger details and itinerary info of chosen solution from search results.

<DetailedFlightItem> block consists of journey information, where each slice is described by the <OriginDestination> element.

<OriginDestination>  block takes from appropriate AirShoppingRS


(lightbulb) Segments (Flight) must be devided into slices (OriginDestination):

  • one OriginDestination for One Way trip;

  • two for Round Trip and more for MultiCity;

  • for Transfer Trip all segments included in one slice have to be pass in one OriginDestination;

  • for Transfer Trip segments with stopover between have to be divided into two OriginDestination.



Envelope/Body/AirShoppingRS/DataLists/FlightSegmentList

and <ClassOfService> (RBD) from


Envelope/Body/AirShoppingRS/OffersGroup/AirlineOffers/AirlineOffer/PricedOffer/OfferPrice/RequestedDate/Associations/ApplicableFlight/FlightSegmentReference/ClassOfService/Code


OrderCreateRQ
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    <Header/>
    <Body>
        <OrderCreateRQ Version="1.0" xmlns="http://www.iata.org/IATA/EDIST">
            <Document>
                <Name>1.0</Name>
            </Document>
             <Party>
                <Sender>
                    <AgentUserSender>
                        <PseudoCity>S7AGN8224</PseudoCity>
                        <AgentUserID>test</AgentUserID>
                    </AgentUserSender>
                </Sender>
            </Party>
            <Query>
                <Passengers>
                    <Passenger ObjectKey="SH1">
                        <PTC>ADT</PTC>
                        <Age>
                            <BirthDate>1985-05-03</BirthDate>
                        </Age>
                        <Name>
                            <Surname>Marko</Surname>
                            <Given>Cain</Given>
                            <Title>MR</Title>
                        </Name>
                        <Contacts>
                            <Contact>
                                <EmailContact>
                                    <Address>y.komarova@s7.ru</Address>
                                </EmailContact>
                                <PhoneContact>
                                    <Number CountryCode="7" AreaCode="926">3856999</Number>
                                </PhoneContact>
                            </Contact>
                        </Contacts>
                        <Gender>Male</Gender>
                        <PassengerIDInfo>
                            <PassengerDocument>
                                <Type>PP</Type>
                                <ID>1111111111</ID>
                                <BirthCountry>RU</BirthCountry>
                                <DateOfIssue>2013-10-22</DateOfIssue>
                                <DateOfExpiration>2023-10-22</DateOfExpiration>
                                <CountryOfResidence>RU</CountryOfResidence>
                            </PassengerDocument>
                        </PassengerIDInfo>
                    </Passenger>
                </Passengers>
                <OrderItems>
                    <ShoppingResponse>
                        <Owner>S7</Owner>
                        <ResponseID>UNKNOWN</ResponseID>
                        <Offers>
                            <Offer>
                                <OfferID Owner="S7">UNKNOWN</OfferID>
                                <OfferItems>
                                    <OfferItem>
                                        <OfferItemID Owner="S7">UNKNOWN</OfferItemID>
                                        <Passengers>
                                            <PassengerReference>SH1</PassengerReference>
                                        </Passengers>
                                        <ApplicableFlight>
                                            <FlightReferences>FL1 FL2</FlightReferences>
                                        </ApplicableFlight>
                                    </OfferItem>
                                </OfferItems>
                            </Offer>
                        </Offers>
                    </ShoppingResponse>
                    <OfferItem>
                        <OfferItemID Owner="S7">UNKNOWN</OfferItemID>
                        <OfferItemType>
                            <DetailedFlightItem>
                                <OriginDestination>
                                    <Flight>
                                        <SegmentKey>FL1</SegmentKey>
                                        <Departure>
                                            <AirportCode>MSQ</AirportCode>
                                            <Date>2023-06-21</Date>
                                            <Time>12:50</Time>
                                        </Departure>
                                        <Arrival>
                                            <AirportCode>DME</AirportCode>
                                            <Date>2023-06-21</Date>
                                            <Time>14:15</Time>
                                        </Arrival>
                                        <MarketingCarrier>
                                            <AirlineID>B2</AirlineID>
                                            <FlightNumber>951</FlightNumber>
                                        </MarketingCarrier>
                                        <OperatingCarrier>
                                            <AirlineID>B2</AirlineID>
                                            <FlightNumber>951</FlightNumber>
                                        </OperatingCarrier>
                                        <ClassOfService>
                                            <Code>W</Code>
                                        </ClassOfService>
                                    </Flight>
                                    <Flight>
                                        <SegmentKey>FL2</SegmentKey>
                                        <Departure>
                                            <AirportCode>DME</AirportCode>
                                            <Date>2023-06-21</Date>
                                            <Time>17:10</Time>
                                        </Departure>
                                        <Arrival>
                                            <AirportCode>OVB</AirportCode>
                                            <Date>2023-06-22</Date>
                                            <Time>01:15</Time>
                                        </Arrival>
                                        <MarketingCarrier>
                                            <AirlineID>S7</AirlineID>
                                            <FlightNumber>2509</FlightNumber>
                                        </MarketingCarrier>
                                        <OperatingCarrier>
                                            <AirlineID>S7</AirlineID>
                                            <FlightNumber>2509</FlightNumber>
                                        </OperatingCarrier>
                                        <ClassOfService>
                                            <Code>Q</Code>
                                        </ClassOfService>
                                    </Flight>
                                </OriginDestination>
                            </DetailedFlightItem>
                        </OfferItemType>
                    </OfferItem>
                </OrderItems>
            </Query>
        </OrderCreateRQ>
    </Body>
</Envelope>


OrderViewRS
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:Envelope xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns3="http://www.iata.org/IATA/EDIST">
    <ns2:Body>
        <ns3:OrderViewRS Version="">
            <ns3:Document>
                <ns3:Name>1.0</ns3:Name>
            </ns3:Document>
            <ns3:Success/>
            <ns3:Response>
                <ns3:OrderViewProcessing/>
                <ns3:Passengers>
                    <ns3:Passenger ObjectKey="SH4">
                        <ns3:PTC Quantity="1">ADT</ns3:PTC>
                        <ns3:Age>
                            <ns3:BirthDate>1985-05-03</ns3:BirthDate>
                        </ns3:Age>
                        <ns3:Name>
                            <ns3:Surname>MARKO</ns3:Surname>
                            <ns3:Given>CAIN</ns3:Given>
                            <ns3:Title>MR</ns3:Title>
                            <ns3:Middle/>
                        </ns3:Name>
                        <ns3:Contacts>
                            <ns3:Contact>
                                <ns3:EmailContact>
                                    <ns3:Address>y.komarova@s7.ru</ns3:Address>
                                </ns3:EmailContact>
                                <ns3:PhoneContact>
                                    <ns3:Number CountryCode="7">1111111111</ns3:Number>
                                </ns3:PhoneContact>
                            </ns3:Contact>
                        </ns3:Contacts>
                        <ns3:Gender>Male</ns3:Gender>
                        <ns3:PassengerIDInfo>
                            <ns3:PassengerDocument>
                                <ns3:Type>PP</ns3:Type>
                                <ns3:ID>1111111111</ns3:ID>
                                <ns3:BirthCountry>RU</ns3:BirthCountry>
                                <ns3:DateOfExpiration>2023-10-22</ns3:DateOfExpiration>
                                <ns3:CountryOfResidence>RU</ns3:CountryOfResidence>
                            </ns3:PassengerDocument>
                        </ns3:PassengerIDInfo>
                    </ns3:Passenger>
                </ns3:Passengers>
                <ns3:Order>
                    <ns3:OrderID Owner="S7">1</ns3:OrderID>
                    <ns3:BookingReferences>
                        <ns3:BookingReference>
                            <ns3:ID>LXKSLB</ns3:ID>
                            <ns3:AirlineID>S7</ns3:AirlineID>
                        </ns3:BookingReference>
                        <ns3:BookingReference>
                            <ns3:Type>
                                <ns3:Definition>FL2</ns3:Definition>
                            </ns3:Type>
                            <ns3:ID>WAITING</ns3:ID>
                            <ns3:AirlineID>PG</ns3:AirlineID>
                        </ns3:BookingReference>
                    </ns3:BookingReferences>
                    <ns3:TimeLimits>
                        <ns3:PaymentTimeLimit DateTime="2023-09-17T13:22:00"/>
                    </ns3:TimeLimits>
                    <ns3:OrderItems>
                        <ns3:OrderItem>
                            <ns3:FlightItem>
                                <ns3:OriginDestination>
                                    <ns3:Flight>
                                        <ns3:SegmentKey>FL1</ns3:SegmentKey>
                                        <ns3:Status>
                                            <ns3:StatusCode>
                                                <ns3:Code>HK</ns3:Code>
                                            </ns3:StatusCode>
                                        </ns3:Status>
                                        <ns3:Departure>
                                            <ns3:AirportCode>IKT</ns3:AirportCode>
                                            <ns3:Date>2023-11-01</ns3:Date>
                                            <ns3:Time>10:10</ns3:Time>
                                        </ns3:Departure>
                                        <ns3:Arrival>
                                            <ns3:AirportCode>BKK</ns3:AirportCode>
                                            <ns3:Date>2023-11-01</ns3:Date>
                                            <ns3:Time>15:30</ns3:Time>
                                        </ns3:Arrival>
                                        <ns3:MarketingCarrier>
                                            <ns3:AirlineID>S7</ns3:AirlineID>
                                            <ns3:FlightNumber>6309</ns3:FlightNumber>
                                        </ns3:MarketingCarrier>
                                        <ns3:OperatingCarrier>
                                            <ns3:AirlineID>S7</ns3:AirlineID>
                                            <ns3:FlightNumber>6309</ns3:FlightNumber>
                                        </ns3:OperatingCarrier>
                                        <ns3:CabinType>
                                            <ns3:Code>Y</ns3:Code>
                                        </ns3:CabinType>
                                        <ns3:ClassOfService>
                                            <ns3:Code>K</ns3:Code>
                                        </ns3:ClassOfService>
                                    </ns3:Flight>
                                    <ns3:Flight>
                                        <ns3:SegmentKey>FL2</ns3:SegmentKey>
                                        <ns3:Status>
                                            <ns3:StatusCode>
                                                <ns3:Code>HN</ns3:Code>
                                            </ns3:StatusCode>
                                        </ns3:Status>
                                        <ns3:Departure>
                                            <ns3:AirportCode>BKK</ns3:AirportCode>
                                            <ns3:Date>2023-11-01</ns3:Date>
                                            <ns3:Time>19:40</ns3:Time>
                                        </ns3:Departure>
                                        <ns3:Arrival>
                                            <ns3:AirportCode>HKT</ns3:AirportCode>
                                            <ns3:Date>2023-11-01</ns3:Date>
                                            <ns3:Time>21:10</ns3:Time>
                                        </ns3:Arrival>
                                        <ns3:MarketingCarrier>
                                            <ns3:AirlineID>PG</ns3:AirlineID>
                                            <ns3:FlightNumber>279</ns3:FlightNumber>
                                        </ns3:MarketingCarrier>
                                        <ns3:OperatingCarrier>
                                            <ns3:AirlineID>PG</ns3:AirlineID>
                                            <ns3:FlightNumber>279</ns3:FlightNumber>
                                        </ns3:OperatingCarrier>
                                        <ns3:ClassOfService>
                                            <ns3:Code>Y</ns3:Code>
                                        </ns3:ClassOfService>
                                    </ns3:Flight>
                                </ns3:OriginDestination>
                            </ns3:FlightItem>
                            <ns3:Associations>
                                <ns3:Passengers>
                                    <ns3:PassengerReferences>SH4</ns3:PassengerReferences>
                                </ns3:Passengers>
                            </ns3:Associations>
                        </ns3:OrderItem>
                    </ns3:OrderItems>
                </ns3:Order>
                <ns3:Metadata>
                    <ns3:Other>
                        <ns3:OtherMetadata>
                            <ns3:CountryMetadatas>
                                <ns3:CountryMetadata MetadataKey="CM1">
                                    <ns3:AugmentationPoint>
                                        <ns3:AugPoint Owner="OVB">
                                            <ns4:value xmlns:ns4="##other" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
                                        </ns3:AugPoint>
                                    </ns3:AugmentationPoint>
                                </ns3:CountryMetadata>
                            </ns3:CountryMetadatas>
                        </ns3:OtherMetadata>
                    </ns3:Other>
                </ns3:Metadata>
            </ns3:Response>
        </ns3:OrderViewRS>
    </ns2:Body>
</ns2:Envelope>

Partner PNR

Service assigns two PNR locator (BookingReference) for order with interline flight (Marketing and Operating carrier is not S7) 

BookingReferences
<ns3:BookingReferences>
    <ns3:BookingReference>
        <ns3:ID>LXKSLB</ns3:ID>
        <ns3:AirlineID>S7</ns3:AirlineID>
    </ns3:BookingReference>
    <ns3:BookingReference>
        <ns3:Type>
            <ns3:Definition>FL2</ns3:Definition>
        </ns3:Type>
        <ns3:ID>WAITING</ns3:ID>
        <ns3:AirlineID>PG</ns3:AirlineID>
    </ns3:BookingReference>
</ns3:BookingReferences>


Second BookingReference with value 'WAITING' means that partner airline has not assigned the PNR value yet
Please complete Read operation to update order status

Besides you receive partner segment status 'HN' if partner BookingReference not assigned yet



Step 3: Request for read reservation

S7 Agent executes a read operation with S7 PNR locator number

OrderRetrieveRQ
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    <Header />
    <Body>
        <OrderRetrieveRQ Version="1.0" xmlns="http://www.iata.org/IATA/EDIST">
            <Document />
            <Party>
                <Sender>
                    <AgentUserSender>
                        <PseudoCity>S7AGN8224</PseudoCity>
                        <AgentUserID>test</AgentUserID>
                    </AgentUserSender>
                </Sender>
            </Party>
            <Query>
                <Filters>
                    <BookingReferences>
                        <BookingReference>
                            <ID>LXKSLB</ID>
                            <AirlineID>S7</AirlineID>
                        </BookingReference>
                    </BookingReferences>
                </Filters>
            </Query>
        </OrderRetrieveRQ>
    </Body>
</Envelope>
OrderViewRS
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:Envelope xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns3="http://www.iata.org/IATA/EDIST">
    <ns2:Body>
        <ns3:OrderViewRS Version="">
            <ns3:Document>
                <ns3:Name>1.0</ns3:Name>
            </ns3:Document>
            <ns3:Success/>
            <ns3:Response>
                <ns3:OrderViewProcessing/>
                <ns3:Passengers>
                    <ns3:Passenger ObjectKey="SH4">
                        <ns3:PTC Quantity="1">ADT</ns3:PTC>
                        <ns3:Age>
                            <ns3:BirthDate>1985-05-03</ns3:BirthDate>
                        </ns3:Age>
                        <ns3:Name>
                            <ns3:Surname>MARKO</ns3:Surname>
                            <ns3:Given>CAIN</ns3:Given>
                            <ns3:Title>MR</ns3:Title>
                            <ns3:Middle/>
                        </ns3:Name>
                        <ns3:Contacts>
                            <ns3:Contact>
                                <ns3:EmailContact>
                                    <ns3:Address>y.komarova@s7.ru</ns3:Address>
                                </ns3:EmailContact>
                                <ns3:PhoneContact>
                                    <ns3:Number>71111111111</ns3:Number>
                                </ns3:PhoneContact>
                            </ns3:Contact>
                        </ns3:Contacts>
                        <ns3:Gender>Male</ns3:Gender>
                        <ns3:PassengerIDInfo>
                            <ns3:PassengerDocument>
                                <ns3:Type>PP</ns3:Type>
                                <ns3:ID>1111111111</ns3:ID>
                                <ns3:DateOfExpiration>2023-10-22</ns3:DateOfExpiration>
                                <ns3:CountryOfResidence>RU</ns3:CountryOfResidence>
                            </ns3:PassengerDocument>
                        </ns3:PassengerIDInfo>
                    </ns3:Passenger>
                </ns3:Passengers>
                <ns3:Order>
                    <ns3:OrderID Owner="S7">1</ns3:OrderID>
                    <ns3:BookingReferences>
                        <ns3:BookingReference>
                            <ns3:ID>LXKSLB</ns3:ID>
                            <ns3:AirlineID>S7</ns3:AirlineID>
                        </ns3:BookingReference>
                        <ns3:BookingReference>
                            <ns3:Type>
                                <ns3:Definition>FL2</ns3:Definition>
                            </ns3:Type>
                            <ns3:ID>L3BDOK</ns3:ID>
                            <ns3:AirlineID>PG</ns3:AirlineID>
                        </ns3:BookingReference>
                    </ns3:BookingReferences>
                    <ns3:TimeLimits>
                        <ns3:PaymentTimeLimit DateTime="2023-09-17T13:22:00"/>
                    </ns3:TimeLimits>
                    <ns3:OrderItems>
                        <ns3:OrderItem>
                            <ns3:FlightItem>
                                <ns3:OriginDestination>
                                    <ns3:Flight>
                                        <ns3:SegmentKey>FL1</ns3:SegmentKey>
                                        <ns3:Status>
                                            <ns3:StatusCode>
                                                <ns3:Code>HK</ns3:Code>
                                            </ns3:StatusCode>
                                        </ns3:Status>
                                        <ns3:Departure>
                                            <ns3:AirportCode>IKT</ns3:AirportCode>
                                            <ns3:Date>2023-11-01</ns3:Date>
                                            <ns3:Time>10:10</ns3:Time>
                                        </ns3:Departure>
                                        <ns3:Arrival>
                                            <ns3:AirportCode>BKK</ns3:AirportCode>
                                            <ns3:Date>2023-11-01</ns3:Date>
                                            <ns3:Time>15:30</ns3:Time>
                                        </ns3:Arrival>
                                        <ns3:MarketingCarrier>
                                            <ns3:AirlineID>S7</ns3:AirlineID>
                                            <ns3:FlightNumber>6309</ns3:FlightNumber>
                                        </ns3:MarketingCarrier>
                                        <ns3:OperatingCarrier>
                                            <ns3:AirlineID>S7</ns3:AirlineID>
                                            <ns3:FlightNumber>6309</ns3:FlightNumber>
                                        </ns3:OperatingCarrier>
                                        <ns3:CabinType>
                                            <ns3:Code>Y</ns3:Code>
                                        </ns3:CabinType>
                                        <ns3:ClassOfService>
                                            <ns3:Code>K</ns3:Code>
                                        </ns3:ClassOfService>
                                    </ns3:Flight>
                                    <ns3:Flight>
                                        <ns3:SegmentKey>FL2</ns3:SegmentKey>
                                        <ns3:Status>
                                            <ns3:StatusCode>
                                                <ns3:Code>HK</ns3:Code>
                                            </ns3:StatusCode>
                                        </ns3:Status>
                                        <ns3:Departure>
                                            <ns3:AirportCode>BKK</ns3:AirportCode>
                                            <ns3:Date>2023-11-01</ns3:Date>
                                            <ns3:Time>19:40</ns3:Time>
                                        </ns3:Departure>
                                        <ns3:Arrival>
                                            <ns3:AirportCode>HKT</ns3:AirportCode>
                                            <ns3:Date>2023-11-01</ns3:Date>
                                            <ns3:Time>21:10</ns3:Time>
                                        </ns3:Arrival>
                                        <ns3:MarketingCarrier>
                                            <ns3:AirlineID>PG</ns3:AirlineID>
                                            <ns3:FlightNumber>279</ns3:FlightNumber>
                                        </ns3:MarketingCarrier>
                                        <ns3:OperatingCarrier>
                                            <ns3:AirlineID>PG</ns3:AirlineID>
                                            <ns3:FlightNumber>279</ns3:FlightNumber>
                                        </ns3:OperatingCarrier>
                                        <ns3:ClassOfService>
                                            <ns3:Code>Y</ns3:Code>
                                        </ns3:ClassOfService>
                                    </ns3:Flight>
                                </ns3:OriginDestination>
                            </ns3:FlightItem>
                            <ns3:Associations>
                                <ns3:Passengers>
                                    <ns3:PassengerReferences>SH4</ns3:PassengerReferences>
                                </ns3:Passengers>
                            </ns3:Associations>
                        </ns3:OrderItem>
                    </ns3:OrderItems>
                </ns3:Order>
                <ns3:Metadata>
                    <ns3:Other>
                        <ns3:OtherMetadata>
                            <ns3:CountryMetadatas>
                                <ns3:CountryMetadata MetadataKey="CM1">
                                    <ns3:AugmentationPoint>
                                        <ns3:AugPoint Owner="OVB">
                                            <ns4:value xmlns:ns4="##other" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
                                        </ns3:AugPoint>
                                    </ns3:AugmentationPoint>
                                </ns3:CountryMetadata>
                            </ns3:CountryMetadatas>
                        </ns3:OtherMetadata>
                    </ns3:Other>
                </ns3:Metadata>
            </ns3:Response>
        </ns3:OrderViewRS>
    </ns2:Body>
</ns2:Envelope>

Partner PNR

Service assigns two PNR locator (BookingReference) for order with interline flight (Marketing and Operating carrier is not S7) 

BookingReferences
<ns3:BookingReferences>
    <ns3:BookingReference>
        <ns3:ID>LXKSLB</ns3:ID>
        <ns3:AirlineID>S7</ns3:AirlineID>
    </ns3:BookingReference>
    <ns3:BookingReference>
        <ns3:Type>
            <ns3:Definition>FL2</ns3:Definition>
        </ns3:Type>
        <ns3:ID>L3BDOK</ns3:ID>
        <ns3:AirlineID>PG</ns3:AirlineID>
    </ns3:BookingReference>
</ns3:BookingReferences>


Second BookingReference has a link on partner segment
BookingReference/Type/Definition - FL2

You need to provide partner PNR locator to passenger


Step 4: Request for informative pricing

S7 Agent executes a reprice operation with itinerary info of chosen solution

All information must be taken from AirShoppingRS:

  • itinerary details (airport codes and dates for origin and departure, airline code and flight number);

(lightbulb) <FlightItem> block must fill in like in OrderCreateRQ. Each slice is described by the <OriginDestination> element.

  • passenger types (PTC);

  • fare details (RBD and fare code).

ItinReshopRQ
<Envelope
	xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    <Header />
    <Body>
        <ItinReshopRQ Version=""
			xmlns="http://www.iata.org/IATA/EDIST">
            <Document />
            <Party>
                <Sender>
                    <AgentUserSender>
                        <PseudoCity>S7AGN8224</PseudoCity>
                        <AgentUserID>test</AgentUserID>
                    </AgentUserSender>
                </Sender>
            </Party>
            <Query>
                <Reshop>
                    <Actions>
                        <ActionType />
                        <BookingReferences>
                            <BookingReference>
                                <ID>LXKSLB</ID>
                                <AirlineID>S7</AirlineID>
                            </BookingReference>
                        </BookingReferences>
                        <OrderItems>
                            <OrderItem>
                                <FlightItem>
                                    <OriginDestination>
                                        <Flight>
                                            <SegmentKey>FL1</SegmentKey>
                                            <Departure>
                                                <AirportCode>IKT</AirportCode>
                                                <Date>2023-11-01</Date>
                                                <Time>10:10</Time>
                                            </Departure>
                                            <Arrival>
                                                <AirportCode>BKK</AirportCode>
                                                <Date>2023-11-01</Date>
                                                <Time>15:30</Time>
                                            </Arrival>
                                            <MarketingCarrier>
                                                <AirlineID>S7</AirlineID>
                                                <FlightNumber>6309</FlightNumber>
                                            </MarketingCarrier>
                                            <OperatingCarrier>
                                                <AirlineID>S7</AirlineID>
                                                <FlightNumber>6309</FlightNumber>
                                            </OperatingCarrier>
                                        </Flight>
                                        <Flight>
                                            <SegmentKey>FL2</SegmentKey>
                                            <Departure>
                                                <AirportCode>BKK</AirportCode>
                                                <Date>2023-11-01</Date>
                                                <Time>19:40</Time>
                                            </Departure>
                                            <Arrival>
                                                <AirportCode>HKT</AirportCode>
                                                <Date>2023-11-01</Date>
                                                <Time>21:10</Time>
                                                <Terminal>
                                                    <Name>D</Name>
                                                </Terminal>
                                            </Arrival>
                                            <MarketingCarrier>
                                                <AirlineID>PG</AirlineID>
                                                <FlightNumber>279</FlightNumber>
                                            </MarketingCarrier>
                                            <OperatingCarrier>
                                                <AirlineID>PG</AirlineID>
                                                <FlightNumber>279</FlightNumber>
                                            </OperatingCarrier>
                                        </Flight>
                                    </OriginDestination>
                                    <FareDetail>
                                        <FareComponent refs="FL1">
                                            <FareBasis>
                                                <FareBasisCode>
                                                    <Code>KPGBKKY0</Code>
                                                </FareBasisCode>
                                                <RBD>K</RBD>
                                            </FareBasis>
                                        </FareComponent>
                                        <FareComponent refs="FL2">
                                            <FareBasis>
                                                <FareBasisCode>
                                                    <Code>KPGBKKY0</Code>
                                                </FareBasisCode>
                                                <RBD>Y</RBD>
                                            </FareBasis>
                                        </FareComponent>
                                    </FareDetail>
                                </FlightItem>
                                <Associations>
                                    <Passengers>
                                        <PassengerReferences>SH4</PassengerReferences>
                                    </Passengers>
                                </Associations>
                            </OrderItem>
                        </OrderItems>
                        <Passengers>
                            <Passenger ObjectKey="SH4">
                                <PTC Quantity="1">ADT</PTC>
                                <Name>
                                    <Surname />
                                </Name>
                            </Passenger>
                        </Passengers>
                    </Actions>
                </Reshop>
            </Query>
        </ItinReshopRQ>
    </Body>
</Envelope>
ItinReshopRS
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:Envelope xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns3="http://www.iata.org/IATA/EDIST">
    <ns2:Body>
        <ns3:ItinReshopRS Version="">
            <ns3:Document>
                <ns3:Name>1.0</ns3:Name>
            </ns3:Document>
            <ns3:Success/>
            <ns3:Response>
                <ns3:ItinReshopProcessing/>
                <ns3:Passengers>
                    <ns3:Passenger ObjectKey="SH4">
                        <ns3:PTC Quantity="1">ADT</ns3:PTC>
                        <ns3:Name>
                            <ns3:Surname>Anonymous</ns3:Surname>
                        </ns3:Name>
                    </ns3:Passenger>
                </ns3:Passengers>
                <ns3:Order>
                    <ns3:OrderID Owner="S7">Order</ns3:OrderID>
                    <ns3:BookingReferences>
                        <ns3:BookingReference>
                            <ns3:ID>LXKSLB</ns3:ID>
                            <ns3:AirlineID>S7</ns3:AirlineID>
                        </ns3:BookingReference>
                    </ns3:BookingReferences>
                    <ns3:OrderItems>
                        <ns3:OrderItem>
                            <ns3:OrderItemID Owner="S7">NONE</ns3:OrderItemID>
                        </ns3:OrderItem>
                    </ns3:OrderItems>
                </ns3:Order>
                <ns3:ReShopOffers>
                    <ns3:ReShopOffer ObjectKey="RO1">
                        <ns3:OfferID Owner="S7">Offer</ns3:OfferID>
                        <ns3:TotalPrice>
                            <ns3:DetailCurrencyPrice>
                                <ns3:Total Code="RUB">55691.0</ns3:Total>
                                <ns3:Details>
                                    <ns3:Detail>
                                        <ns3:SubTotal Code="RUB">55080.0</ns3:SubTotal>
                                        <ns3:Application>fare</ns3:Application>
                                    </ns3:Detail>
                                </ns3:Details>
                                <ns3:Taxes>
                                    <ns3:Total Code="RUB">611.0</ns3:Total>
                                </ns3:Taxes>
                                <ns3:Fees>
                                    <ns3:Total Code="RUB">0</ns3:Total>
                                </ns3:Fees>
                            </ns3:DetailCurrencyPrice>
                        </ns3:TotalPrice>
                        <ns3:ReShopPricedOffer>
                            <ns3:OfferPrice>
                                <ns3:RequestedDate>
                                    <ns3:PriceDetail>
                                        <ns3:TotalAmount>
                                            <ns3:DetailCurrencyPrice>
                                                <ns3:Total Code="RUB">55691.0</ns3:Total>
                                                <ns3:Details>
                                                    <ns3:Detail>
                                                        <ns3:SubTotal Code="RUB">55080.0</ns3:SubTotal>
                                                        <ns3:Application>fare</ns3:Application>
                                                    </ns3:Detail>
                                                </ns3:Details>
                                                <ns3:Taxes>
                                                    <ns3:Total Code="RUB">611.0</ns3:Total>
                                                </ns3:Taxes>
                                                <ns3:Fees>
                                                    <ns3:Total Code="RUB">0</ns3:Total>
                                                </ns3:Fees>
                                            </ns3:DetailCurrencyPrice>
                                        </ns3:TotalAmount>
                                        <ns3:BaseAmount Code="RUB">55080.0</ns3:BaseAmount>
                                        <ns3:FareFiledIn>
                                            <ns3:BaseAmount Code="EUR">540.0</ns3:BaseAmount>
                                            <ns3:ExchangeRate>102.0</ns3:ExchangeRate>
                                        </ns3:FareFiledIn>
                                        <ns3:Surcharges>
                                            <ns3:Surcharge>
                                                <ns3:Total Code="RUB">0</ns3:Total>
                                            </ns3:Surcharge>
                                        </ns3:Surcharges>
                                        <ns3:Taxes>
                                            <ns3:Total Code="RUB">611.0</ns3:Total>
                                            <ns3:Breakdown>
                                                <ns3:Tax>
                                                    <ns3:Amount Code="RUB">95.0</ns3:Amount>
                                                    <ns3:TaxCode>E7</ns3:TaxCode>
                                                </ns3:Tax>
                                                <ns3:Tax>
                                                    <ns3:Amount Code="RUB">41.0</ns3:Amount>
                                                    <ns3:TaxCode>G8</ns3:TaxCode>
                                                </ns3:Tax>
                                                <ns3:Tax>
                                                    <ns3:Amount Code="RUB">205.0</ns3:Amount>
                                                    <ns3:TaxCode>RI</ns3:TaxCode>
                                                </ns3:Tax>
                                                <ns3:Tax>
                                                    <ns3:Amount Code="RUB">270.0</ns3:Amount>
                                                    <ns3:TaxCode>TS</ns3:TaxCode>
                                                </ns3:Tax>
                                            </ns3:Breakdown>
                                        </ns3:Taxes>
                                    </ns3:PriceDetail>
                                    <ns3:Associations>
                                        <ns3:AssociatedTraveler>
                                            <ns3:TravelerReferences>SH4</ns3:TravelerReferences>
                                        </ns3:AssociatedTraveler>
                                        <ns3:OfferDetailAssociation>
                                            <ns3:OfferTermReferences>T1 T2</ns3:OfferTermReferences>
                                        </ns3:OfferDetailAssociation>
                                    </ns3:Associations>
                                </ns3:RequestedDate>
                                <ns3:FareDetail>
                                    <ns3:FareComponent>
                                        <ns3:SegmentReference>SEG1</ns3:SegmentReference>
                                        <ns3:FareBasis>
                                            <ns3:FareBasisCode>
                                                <ns3:Code>KPGBKKY0</ns3:Code>
                                            </ns3:FareBasisCode>
                                            <ns3:RBD>K</ns3:RBD>
                                        </ns3:FareBasis>
                                        <ns3:FareRules>
                                            <ns3:Ticketing>
                                                <ns3:Endorsements>
                                                    <ns3:Endorsement>ENDO</ns3:Endorsement>
                                                </ns3:Endorsements>
                                            </ns3:Ticketing>
                                            <ns3:Remarks>
                                                <ns3:Remark>UnstructuredFareCalc</ns3:Remark>
                                            </ns3:Remarks>
                                        </ns3:FareRules>
                                    </ns3:FareComponent>
                                    <ns3:FareComponent>
                                        <ns3:SegmentReference>SEG2</ns3:SegmentReference>
                                        <ns3:FareBasis>
                                            <ns3:FareBasisCode>
                                                <ns3:Code>KPGBKKY0</ns3:Code>
                                            </ns3:FareBasisCode>
                                            <ns3:RBD>Y</ns3:RBD>
                                        </ns3:FareBasis>
                                        <ns3:FareRules>
                                            <ns3:Ticketing>
                                                <ns3:Endorsements>
                                                    <ns3:Endorsement>ENDO</ns3:Endorsement>
                                                </ns3:Endorsements>
                                            </ns3:Ticketing>
                                            <ns3:Remarks>
                                                <ns3:Remark>UnstructuredFareCalc</ns3:Remark>
                                            </ns3:Remarks>
                                        </ns3:FareRules>
                                    </ns3:FareComponent>
                                </ns3:FareDetail>
                            </ns3:OfferPrice>
                        </ns3:ReShopPricedOffer>
                    </ns3:ReShopOffer>
                </ns3:ReShopOffers>
                <ns3:DataList>
                    <ns3:FlightSegmentList>
                        <ns3:FlightSegment SegmentKey="SEG1">
                            <ns3:Departure>
                                <ns3:AirportCode>IKT</ns3:AirportCode>
                                <ns3:Date>2023-11-01</ns3:Date>
                                <ns3:Time>10:10</ns3:Time>
                            </ns3:Departure>
                            <ns3:Arrival>
                                <ns3:AirportCode>BKK</ns3:AirportCode>
                                <ns3:Date>2023-11-01</ns3:Date>
                                <ns3:Time>15:30</ns3:Time>
                            </ns3:Arrival>
                            <ns3:MarketingCarrier>
                                <ns3:AirlineID>S7</ns3:AirlineID>
                                <ns3:FlightNumber>6309</ns3:FlightNumber>
                            </ns3:MarketingCarrier>
                            <ns3:OperatingCarrier>
                                <ns3:AirlineID>S7</ns3:AirlineID>
                                <ns3:FlightNumber>6309</ns3:FlightNumber>
                            </ns3:OperatingCarrier>
                        </ns3:FlightSegment>
                        <ns3:FlightSegment SegmentKey="SEG2">
                            <ns3:Departure>
                                <ns3:AirportCode>BKK</ns3:AirportCode>
                                <ns3:Date>2023-11-01</ns3:Date>
                                <ns3:Time>19:40</ns3:Time>
                            </ns3:Departure>
                            <ns3:Arrival>
                                <ns3:AirportCode>HKT</ns3:AirportCode>
                                <ns3:Date>2023-11-01</ns3:Date>
                                <ns3:Time>21:10</ns3:Time>
                            </ns3:Arrival>
                            <ns3:MarketingCarrier>
                                <ns3:AirlineID>PG</ns3:AirlineID>
                                <ns3:FlightNumber>279</ns3:FlightNumber>
                            </ns3:MarketingCarrier>
                            <ns3:OperatingCarrier>
                                <ns3:AirlineID>PG</ns3:AirlineID>
                                <ns3:FlightNumber>279</ns3:FlightNumber>
                            </ns3:OperatingCarrier>
                        </ns3:FlightSegment>
                    </ns3:FlightSegmentList>
                    <ns3:OriginDestinationList>
                        <ns3:OriginDestination OriginDestinationKey="OD1">
                            <ns3:DepartureCode>IKT</ns3:DepartureCode>
                            <ns3:ArrivalCode>HKT</ns3:ArrivalCode>
                            <ns3:FlightReferences>SEG1 SEG2</ns3:FlightReferences>
                        </ns3:OriginDestination>
                    </ns3:OriginDestinationList>
                    <ns3:TermsList ListKey="TL1">
                        <ns3:Term refs="SEG1" ObjectKey="T1">
                            <ns3:AvailablePeriod>
                                <ns3:Earliest/>
                                <ns3:Latest/>
                            </ns3:AvailablePeriod>
                        </ns3:Term>
                        <ns3:Term refs="SEG2" ObjectKey="T2">
                            <ns3:AvailablePeriod>
                                <ns3:Earliest/>
                                <ns3:Latest/>
                            </ns3:AvailablePeriod>
                        </ns3:Term>
                    </ns3:TermsList>
                </ns3:DataList>
            </ns3:Response>
        </ns3:ItinReshopRS>
    </ns2:Body>
</ns2:Envelope>

Step 5: Request for reservation pricing

S7 Agent executes a reprice operation with itinerary info of chosen solution

All information must be taken from AirShoppingRS:

  • itinerary details (airport codes and dates for origin and departure, airline code and flight number);

(lightbulb) <FlightItem> block must fill in like in OrderCreateRQ. Each slice is described by the <OriginDestination> element.

  • passenger types (PTC);

  • fare details (RBD and fare code).

ItinReshopRQ
<Envelope
	xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    <Header />
    <Body>
        <ItinReshopRQ Version=""
			xmlns="http://www.iata.org/IATA/EDIST">
            <Document />
            <Party>
                <Sender>
                    <AgentUserSender>
                        <PseudoCity>S7AGN8224</PseudoCity>
                        <AgentUserID>test</AgentUserID>
                    </AgentUserSender>
                </Sender>
            </Party>
            <Query>
                <Reshop>
                    <Actions>
                        <ActionType />
                        <BookingReferences>
                            <BookingReference>
                                <ID>LXKSLB</ID>
                                <AirlineID>S7</AirlineID>
                            </BookingReference>
                        </BookingReferences>
                        <OrderItems>
                            <OrderItem>
                                <FlightItem>
                                    <OriginDestination>
                                        <Flight>
                                            <SegmentKey>FL1</SegmentKey>
                                            <Departure>
                                                <AirportCode>IKT</AirportCode>
                                                <Date>2023-11-01</Date>
                                                <Time>10:10</Time>
                                            </Departure>
                                            <Arrival>
                                                <AirportCode>BKK</AirportCode>
                                                <Date>2023-11-01</Date>
                                                <Time>15:30</Time>
                                            </Arrival>
                                            <MarketingCarrier>
                                                <AirlineID>S7</AirlineID>
                                                <FlightNumber>6309</FlightNumber>
                                            </MarketingCarrier>
                                            <OperatingCarrier>
                                                <AirlineID>S7</AirlineID>
                                                <FlightNumber>6309</FlightNumber>
                                            </OperatingCarrier>
                                        </Flight>
                                        <Flight>
                                            <SegmentKey>FL2</SegmentKey>
                                            <Departure>
                                                <AirportCode>BKK</AirportCode>
                                                <Date>2023-11-01</Date>
                                                <Time>19:40</Time>
                                            </Departure>
                                            <Arrival>
                                                <AirportCode>HKT</AirportCode>
                                                <Date>2023-11-01</Date>
                                                <Time>21:10</Time>
                                                <Terminal>
                                                    <Name>D</Name>
                                                </Terminal>
                                            </Arrival>
                                            <MarketingCarrier>
                                                <AirlineID>PG</AirlineID>
                                                <FlightNumber>279</FlightNumber>
                                            </MarketingCarrier>
                                            <OperatingCarrier>
                                                <AirlineID>PG</AirlineID>
                                                <FlightNumber>279</FlightNumber>
                                            </OperatingCarrier>
                                        </Flight>
                                    </OriginDestination>
                                    <FareDetail>
                                        <FareComponent refs="FL1">
                                            <FareBasis>
                                                <FareBasisCode>
                                                    <Code>KPGBKKY0</Code>
                                                </FareBasisCode>
                                                <RBD>K</RBD>
                                            </FareBasis>
                                        </FareComponent>
                                        <FareComponent refs="FL2">
                                            <FareBasis>
                                                <FareBasisCode>
                                                    <Code>KPGBKKY0</Code>
                                                </FareBasisCode>
                                                <RBD>Y</RBD>
                                            </FareBasis>
                                        </FareComponent>
                                    </FareDetail>
                                </FlightItem>
                                <Associations>
                                    <Passengers>
                                        <PassengerReferences>SH4</PassengerReferences>
                                    </Passengers>
                                </Associations>
                            </OrderItem>
                        </OrderItems>
                        <Passengers>
                            <Passenger ObjectKey="SH4">
                                <PTC Quantity="1">ADT</PTC>
                                <Name>
                                    <Surname />
                                </Name>
                            </Passenger>
                        </Passengers>
                    </Actions>
                </Reshop>
            </Query>
        </ItinReshopRQ>
    </Body>
</Envelope>


ItinReshopRS
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:Envelope xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns3="http://www.iata.org/IATA/EDIST">
    <ns2:Body>
        <ns3:ItinReshopRS Version="">
            <ns3:Document>
                <ns3:Name>1.0</ns3:Name>
            </ns3:Document>
            <ns3:Success/>
            <ns3:Response>
                <ns3:ItinReshopProcessing/>
                <ns3:Passengers>
                    <ns3:Passenger ObjectKey="SH4">
                        <ns3:PTC Quantity="1">ADT</ns3:PTC>
                        <ns3:Name>
                            <ns3:Surname>Anonymous</ns3:Surname>
                        </ns3:Name>
                    </ns3:Passenger>
                </ns3:Passengers>
                <ns3:Order>
                    <ns3:OrderID Owner="S7">Order</ns3:OrderID>
                    <ns3:BookingReferences>
                        <ns3:BookingReference>
                            <ns3:ID>LXKSLB</ns3:ID>
                            <ns3:AirlineID>S7</ns3:AirlineID>
                        </ns3:BookingReference>
                    </ns3:BookingReferences>
                    <ns3:OrderItems>
                        <ns3:OrderItem>
                            <ns3:OrderItemID Owner="S7">NONE</ns3:OrderItemID>
                        </ns3:OrderItem>
                    </ns3:OrderItems>
                </ns3:Order>
                <ns3:ReShopOffers>
                    <ns3:ReShopOffer ObjectKey="RO1">
                        <ns3:OfferID Owner="S7">Offer</ns3:OfferID>
                        <ns3:TotalPrice>
                            <ns3:DetailCurrencyPrice>
                                <ns3:Total Code="RUB">55691.0</ns3:Total>
                                <ns3:Details>
                                    <ns3:Detail>
                                        <ns3:SubTotal Code="RUB">55080.0</ns3:SubTotal>
                                        <ns3:Application>fare</ns3:Application>
                                    </ns3:Detail>
                                </ns3:Details>
                                <ns3:Taxes>
                                    <ns3:Total Code="RUB">611.0</ns3:Total>
                                </ns3:Taxes>
                                <ns3:Fees>
                                    <ns3:Total Code="RUB">0</ns3:Total>
                                </ns3:Fees>
                            </ns3:DetailCurrencyPrice>
                        </ns3:TotalPrice>
                        <ns3:ReShopPricedOffer>
                            <ns3:OfferPrice>
                                <ns3:RequestedDate>
                                    <ns3:PriceDetail>
                                        <ns3:TotalAmount>
                                            <ns3:DetailCurrencyPrice>
                                                <ns3:Total Code="RUB">55691.0</ns3:Total>
                                                <ns3:Details>
                                                    <ns3:Detail>
                                                        <ns3:SubTotal Code="RUB">55080.0</ns3:SubTotal>
                                                        <ns3:Application>fare</ns3:Application>
                                                    </ns3:Detail>
                                                </ns3:Details>
                                                <ns3:Taxes>
                                                    <ns3:Total Code="RUB">611.0</ns3:Total>
                                                </ns3:Taxes>
                                                <ns3:Fees>
                                                    <ns3:Total Code="RUB">0</ns3:Total>
                                                </ns3:Fees>
                                            </ns3:DetailCurrencyPrice>
                                        </ns3:TotalAmount>
                                        <ns3:BaseAmount Code="RUB">55080.0</ns3:BaseAmount>
                                        <ns3:FareFiledIn>
                                            <ns3:BaseAmount Code="EUR">540.0</ns3:BaseAmount>
                                            <ns3:ExchangeRate>102.0</ns3:ExchangeRate>
                                        </ns3:FareFiledIn>
                                        <ns3:Surcharges>
                                            <ns3:Surcharge>
                                                <ns3:Total Code="RUB">0</ns3:Total>
                                            </ns3:Surcharge>
                                        </ns3:Surcharges>
                                        <ns3:Taxes>
                                            <ns3:Total Code="RUB">611.0</ns3:Total>
                                            <ns3:Breakdown>
                                                <ns3:Tax>
                                                    <ns3:Amount Code="RUB">95.0</ns3:Amount>
                                                    <ns3:TaxCode>E7</ns3:TaxCode>
                                                </ns3:Tax>
                                                <ns3:Tax>
                                                    <ns3:Amount Code="RUB">41.0</ns3:Amount>
                                                    <ns3:TaxCode>G8</ns3:TaxCode>
                                                </ns3:Tax>
                                                <ns3:Tax>
                                                    <ns3:Amount Code="RUB">205.0</ns3:Amount>
                                                    <ns3:TaxCode>RI</ns3:TaxCode>
                                                </ns3:Tax>
                                                <ns3:Tax>
                                                    <ns3:Amount Code="RUB">270.0</ns3:Amount>
                                                    <ns3:TaxCode>TS</ns3:TaxCode>
                                                </ns3:Tax>
                                            </ns3:Breakdown>
                                        </ns3:Taxes>
                                    </ns3:PriceDetail>
                                    <ns3:Associations>
                                        <ns3:AssociatedTraveler>
                                            <ns3:TravelerReferences>SH4</ns3:TravelerReferences>
                                        </ns3:AssociatedTraveler>
                                        <ns3:OfferDetailAssociation>
                                            <ns3:OfferTermReferences>T1 T2</ns3:OfferTermReferences>
                                        </ns3:OfferDetailAssociation>
                                    </ns3:Associations>
                                </ns3:RequestedDate>
                                <ns3:FareDetail>
                                    <ns3:FareComponent>
                                        <ns3:SegmentReference>SEG1</ns3:SegmentReference>
                                        <ns3:FareBasis>
                                            <ns3:FareBasisCode>
                                                <ns3:Code>KPGBKKY0</ns3:Code>
                                            </ns3:FareBasisCode>
                                            <ns3:RBD>K</ns3:RBD>
                                        </ns3:FareBasis>
                                        <ns3:FareRules>
                                            <ns3:Ticketing>
                                                <ns3:Endorsements>
                                                    <ns3:Endorsement>ENDO</ns3:Endorsement>
                                                </ns3:Endorsements>
                                            </ns3:Ticketing>
                                            <ns3:Remarks>
                                                <ns3:Remark>UnstructuredFareCalc</ns3:Remark>
                                            </ns3:Remarks>
                                        </ns3:FareRules>
                                    </ns3:FareComponent>
                                    <ns3:FareComponent>
                                        <ns3:SegmentReference>SEG2</ns3:SegmentReference>
                                        <ns3:FareBasis>
                                            <ns3:FareBasisCode>
                                                <ns3:Code>KPGBKKY0</ns3:Code>
                                            </ns3:FareBasisCode>
                                            <ns3:RBD>Y</ns3:RBD>
                                        </ns3:FareBasis>
                                        <ns3:FareRules>
                                            <ns3:Ticketing>
                                                <ns3:Endorsements>
                                                    <ns3:Endorsement>ENDO</ns3:Endorsement>
                                                </ns3:Endorsements>
                                            </ns3:Ticketing>
                                            <ns3:Remarks>
                                                <ns3:Remark>UnstructuredFareCalc</ns3:Remark>
                                            </ns3:Remarks>
                                        </ns3:FareRules>
                                    </ns3:FareComponent>
                                </ns3:FareDetail>
                            </ns3:OfferPrice>
                        </ns3:ReShopPricedOffer>
                    </ns3:ReShopOffer>
                </ns3:ReShopOffers>
                <ns3:DataList>
                    <ns3:FlightSegmentList>
                        <ns3:FlightSegment SegmentKey="SEG1">
                            <ns3:Departure>
                                <ns3:AirportCode>IKT</ns3:AirportCode>
                                <ns3:Date>2023-11-01</ns3:Date>
                                <ns3:Time>10:10</ns3:Time>
                            </ns3:Departure>
                            <ns3:Arrival>
                                <ns3:AirportCode>BKK</ns3:AirportCode>
                                <ns3:Date>2023-11-01</ns3:Date>
                                <ns3:Time>15:30</ns3:Time>
                            </ns3:Arrival>
                            <ns3:MarketingCarrier>
                                <ns3:AirlineID>S7</ns3:AirlineID>
                                <ns3:FlightNumber>6309</ns3:FlightNumber>
                            </ns3:MarketingCarrier>
                            <ns3:OperatingCarrier>
                                <ns3:AirlineID>S7</ns3:AirlineID>
                                <ns3:FlightNumber>6309</ns3:FlightNumber>
                            </ns3:OperatingCarrier>
                        </ns3:FlightSegment>
                        <ns3:FlightSegment SegmentKey="SEG2">
                            <ns3:Departure>
                                <ns3:AirportCode>BKK</ns3:AirportCode>
                                <ns3:Date>2023-11-01</ns3:Date>
                                <ns3:Time>19:40</ns3:Time>
                            </ns3:Departure>
                            <ns3:Arrival>
                                <ns3:AirportCode>HKT</ns3:AirportCode>
                                <ns3:Date>2023-11-01</ns3:Date>
                                <ns3:Time>21:10</ns3:Time>
                            </ns3:Arrival>
                            <ns3:MarketingCarrier>
                                <ns3:AirlineID>PG</ns3:AirlineID>
                                <ns3:FlightNumber>279</ns3:FlightNumber>
                            </ns3:MarketingCarrier>
                            <ns3:OperatingCarrier>
                                <ns3:AirlineID>PG</ns3:AirlineID>
                                <ns3:FlightNumber>279</ns3:FlightNumber>
                            </ns3:OperatingCarrier>
                        </ns3:FlightSegment>
                    </ns3:FlightSegmentList>
                    <ns3:OriginDestinationList>
                        <ns3:OriginDestination OriginDestinationKey="OD1">
                            <ns3:DepartureCode>IKT</ns3:DepartureCode>
                            <ns3:ArrivalCode>HKT</ns3:ArrivalCode>
                            <ns3:FlightReferences>SEG1 SEG2</ns3:FlightReferences>
                        </ns3:OriginDestination>
                    </ns3:OriginDestinationList>
                    <ns3:TermsList ListKey="TL1">
                        <ns3:Term refs="SEG1" ObjectKey="T1">
                            <ns3:AvailablePeriod>
                                <ns3:Earliest/>
                                <ns3:Latest/>
                            </ns3:AvailablePeriod>
                        </ns3:Term>
                        <ns3:Term refs="SEG2" ObjectKey="T2">
                            <ns3:AvailablePeriod>
                                <ns3:Earliest/>
                                <ns3:Latest/>
                            </ns3:AvailablePeriod>
                        </ns3:Term>
                    </ns3:TermsList>
                </ns3:DataList>
            </ns3:Response>
        </ns3:ItinReshopRS>
    </ns2:Body>
</ns2:Envelope>

Step 6: Issue tickets for all passenger

S7 Agent executes a demandTickets operation with reservation reference and pricing details

  • Add information about PNR from OrderViewRS


Envelope/Body/OrderViewRS/Response/Order/BookingReferences/BookingReference/ID
  • Fill in the form of payment as in example <*A*TEXT>


<Payments>
    <Payment>
        <Type>
            <Code>MS</Code>
        </Type>
        <Other>
            <Remarks>
                <Remark>*A*TEXT</Remark>
            </Remarks>
        </Other>
    </Payment>
</Payments>


AirDocIssueRQ
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Body>
        <AirDocIssueRQ Version="" xmlns="http://www.iata.org/IATA/EDIST">
            <Document />
            <Party>
                <Sender>
                    <AgentUserSender>
                        <PseudoCity>S7AGN8224</PseudoCity>
                        <AgentUserID>test</AgentUserID>
                    </AgentUserSender>
                </Sender>
            </Party>
            <Query>
                <TicketDocQuantity>1</TicketDocQuantity>
                <TicketDocInfo>
                    <TravelerInfo>
                        <Surname>ANY</Surname>
                        <Given>ANY</Given>
                    </TravelerInfo>
                    <BookingReference>
                        <ID>LXKSLB</ID>
                        <AirlineID>S7</AirlineID>
                    </BookingReference>
                    <Payments>
                        <Payment ObjectKey="ETK">
                            <Type>
                                <Code>MS</Code>
                            </Type>
                            <Other>
                                <Remarks>
                                    <Remark>*A*TEXT</Remark>
                                </Remarks>
                            </Other>
                        </Payment>
                    </Payments>
                </TicketDocInfo>
            </Query>
        </AirDocIssueRQ>
    </soap:Body>
</soap:Envelope>


AirDocDisplayRS
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:Envelope xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns3="http://www.iata.org/IATA/EDIST">
    <ns2:Body>
        <ns3:AirDocDisplayRS Version="">
            <ns3:Document>
                <ns3:Name>1.0</ns3:Name>
            </ns3:Document>
            <ns3:Success/>
            <ns3:Response>
                <ns3:TicketDocInfos>
                    <ns3:TicketDocInfo>
                        <ns3:Traveler>
                            <ns3:Surname>MARKO</ns3:Surname>
                            <ns3:Given>CAIN</ns3:Given>
                            <ns3:PTC>ADT</ns3:PTC>
                        </ns3:Traveler>
                        <ns3:IssuingAirlineInfo>
                            <ns3:AirlineName>S7</ns3:AirlineName>
                        </ns3:IssuingAirlineInfo>
                        <ns3:BookingReferences>
                            <ns3:BookingReference>
                                <ns3:ID>LXKSLB</ns3:ID>
                                <ns3:AirlineID>S7</ns3:AirlineID>
                            </ns3:BookingReference>
                        </ns3:BookingReferences>
                        <ns3:Payments>
                            <ns3:Payment>
                                <ns3:Method/>
                                <ns3:Amount Code="RUB">55691.0</ns3:Amount>
                            </ns3:Payment>
                        </ns3:Payments>
                        <ns3:OriginDestination>
                            <ns3:Origin>IKT</ns3:Origin>
                            <ns3:Destination>HKT</ns3:Destination>
                        </ns3:OriginDestination>
                        <ns3:FareInfo>
                            <ns3:BaseFare>
                                <ns3:Amount Code="RUB">55080.0</ns3:Amount>
                            </ns3:BaseFare>
                            <ns3:EquivFare EquivRate="102">
                                <ns3:Amount Code="EUR">540.0</ns3:Amount>
                            </ns3:EquivFare>
                            <ns3:Total>
                                <ns3:Amount Code="RUB">55691.0</ns3:Amount>
                            </ns3:Total>
                            <ns3:Taxes>
                                <ns3:Total Code="RUB">611.0</ns3:Total>
                                <ns3:Breakdown>
                                    <ns3:Tax>
                                        <ns3:Amount Code="RUB">95.00</ns3:Amount>
                                        <ns3:TaxCode>E7</ns3:TaxCode>
                                    </ns3:Tax>
                                    <ns3:Tax>
                                        <ns3:Amount Code="RUB">41.00</ns3:Amount>
                                        <ns3:TaxCode>G8</ns3:TaxCode>
                                    </ns3:Tax>
                                    <ns3:Tax>
                                        <ns3:Amount Code="RUB">205.00</ns3:Amount>
                                        <ns3:TaxCode>RI</ns3:TaxCode>
                                    </ns3:Tax>
                                    <ns3:Tax>
                                        <ns3:Amount Code="RUB">270.00</ns3:Amount>
                                        <ns3:TaxCode>TS</ns3:TaxCode>
                                    </ns3:Tax>
                                </ns3:Breakdown>
                            </ns3:Taxes>
                            <ns3:UnstructuredFareCalcInfo>
                                <ns3:Info>IKT S7 X/BKK PG HKT592.65NUC592.65END ROE0.911151</ns3:Info>
                            </ns3:UnstructuredFareCalcInfo>
                        </ns3:FareInfo>
                        <ns3:TicketDocument>
                            <ns3:TicketDocNbr>4212104359424</ns3:TicketDocNbr>
                            <ns3:Type>
                                <ns3:Code>702</ns3:Code>
                            </ns3:Type>
                            <ns3:NumberofBooklets>2</ns3:NumberofBooklets>
                            <ns3:DateOfIssue>2023-09-14</ns3:DateOfIssue>
                            <ns3:CouponInfo>
                                <ns3:CouponNumber>1</ns3:CouponNumber>
                                <ns3:FareBasisCode>
                                    <ns3:Code>KPGBKKY0</ns3:Code>
                                </ns3:FareBasisCode>
                                <ns3:CouponValid>
                                    <ns3:EffectiveDatePeriod>
                                        <ns3:Expiration>2024-09-14</ns3:Expiration>
                                    </ns3:EffectiveDatePeriod>
                                </ns3:CouponValid>
                                <ns3:Status>
                                    <ns3:Code>OPEN FOR USE</ns3:Code>
                                </ns3:Status>
                                <ns3:SoldAirlineInfo>
                                    <ns3:Departure>
                                        <ns3:AirportCode>IKT</ns3:AirportCode>
                                        <ns3:Date>2023-11-01</ns3:Date>
                                        <ns3:Time>10:10</ns3:Time>
                                    </ns3:Departure>
                                    <ns3:Arrival>
                                        <ns3:AirportCode>BKK</ns3:AirportCode>
                                        <ns3:Date>2023-11-01</ns3:Date>
                                        <ns3:Time>15:30</ns3:Time>
                                    </ns3:Arrival>
                                    <ns3:OperatingCarrier>
                                        <ns3:ResBookDesigCode>K</ns3:ResBookDesigCode>
                                    </ns3:OperatingCarrier>
                                    <ns3:MarketingCarrier>
                                        <ns3:AirlineID>S7</ns3:AirlineID>
                                        <ns3:FlightNumber>6309</ns3:FlightNumber>
                                    </ns3:MarketingCarrier>
                                    <ns3:TicketedBaggageAllowance>
                                        <ns3:AllowableBag Type="PC" Number="1"/>
                                    </ns3:TicketedBaggageAllowance>
                                </ns3:SoldAirlineInfo>
                            </ns3:CouponInfo>
                            <ns3:CouponInfo>
                                <ns3:CouponNumber>2</ns3:CouponNumber>
                                <ns3:FareBasisCode>
                                    <ns3:Code>KPGBKKY0</ns3:Code>
                                </ns3:FareBasisCode>
                                <ns3:CouponValid>
                                    <ns3:EffectiveDatePeriod>
                                        <ns3:Expiration>2024-09-14</ns3:Expiration>
                                    </ns3:EffectiveDatePeriod>
                                </ns3:CouponValid>
                                <ns3:Status>
                                    <ns3:Code>OPEN FOR USE</ns3:Code>
                                </ns3:Status>
                                <ns3:SoldAirlineInfo>
                                    <ns3:Departure>
                                        <ns3:AirportCode>BKK</ns3:AirportCode>
                                        <ns3:Date>2023-11-01</ns3:Date>
                                        <ns3:Time>19:40</ns3:Time>
                                    </ns3:Departure>
                                    <ns3:Arrival>
                                        <ns3:AirportCode>HKT</ns3:AirportCode>
                                        <ns3:Date>2023-11-01</ns3:Date>
                                        <ns3:Time>21:10</ns3:Time>
                                    </ns3:Arrival>
                                    <ns3:OperatingCarrier>
                                        <ns3:ResBookDesigCode>Y</ns3:ResBookDesigCode>
                                    </ns3:OperatingCarrier>
                                    <ns3:MarketingCarrier>
                                        <ns3:AirlineID>PG</ns3:AirlineID>
                                        <ns3:FlightNumber>279</ns3:FlightNumber>
                                    </ns3:MarketingCarrier>
                                    <ns3:TicketedBaggageAllowance>
                                        <ns3:AllowableBag Type="PC" Number="1"/>
                                    </ns3:TicketedBaggageAllowance>
                                </ns3:SoldAirlineInfo>
                            </ns3:CouponInfo>
                        </ns3:TicketDocument>
                        <ns3:Commission>
                            <ns3:Amount>0</ns3:Amount>
                            <ns3:Remarks>
                                <ns3:Remark>NEND/CHN45EUR/NS NONCHN/ST</ns3:Remark>
                                <ns3:Remark>2023-09-14T13:31</ns3:Remark>
                            </ns3:Remarks>
                        </ns3:Commission>
                        <ns3:PassengerSpecificData>1111111111</ns3:PassengerSpecificData>
                    </ns3:TicketDocInfo>
                </ns3:TicketDocInfos>
            </ns3:Response>
        </ns3:AirDocDisplayRS>
    </ns2:Body>
</ns2:Envelope>
  • No labels