Versions Compared

Key

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

Overview

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


Excerpt

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 Sochi (AER) to Baku (GYD) for one adult traveler. He chooses Codeshare S7+J2 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:

Table of Contents


Note

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

Expand
titleRequest


Code Block
languagexml
titleAirShoppingRQ
linenumberstrue
<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>DME</AirportCode>
                            <Date>2023-12-09</Date>
                        </Departure>
                        <Arrival>
                            <AirportCode>GYD</AirportCode>
                        </Arrival>
                    </OriginDestination>
                </OriginDestinations>
            </CoreQuery>
        </AirShoppingRQ>
    </Body>
</Envelope>



Expand
titleResponse


Code Block
languagexml
titleAirShoppingRS
linenumberstrue
<?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">56560</ns3:Total>
                                <ns3:Details>
                                    <ns3:Detail>
                                        <ns3:SubTotal Code="RUB">53350</ns3:SubTotal>
                                        <ns3:Application>Fare</ns3:Application>
                                    </ns3:Detail>
                                    <ns3:Detail>
                                        <ns3:SubTotal Code="EUR">550</ns3:SubTotal>
                                        <ns3:Application>Fare</ns3:Application>
                                    </ns3:Detail>
                                </ns3:Details>
                                <ns3:Taxes>
                                    <ns3:Total Code="RUB">3210</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">56560</ns3:Total>
                                                <ns3:Taxes>
                                                    <ns3:Total Code="RUB">3210</ns3:Total>
                                                </ns3:Taxes>
                                            </ns3:DetailCurrencyPrice>
                                        </ns3:TotalAmount>
                                        <ns3:BaseAmount Code="RUB">53350</ns3:BaseAmount>
                                    </ns3:PriceDetail>
                                    <ns3:Associations>
                                        <ns3:OtherAssociation>
                                            <ns3:OtherAssociation>
                                                <ns3:Type>SEG1 DME-GYD</ns3:Type>
                                                <ns3:ReferenceValue>Meal_S</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="4">Y</ns3:Code>
                                                    <ns3:MarketingName>YSTOWCS</ns3:MarketingName>
                                                </ns3:ClassOfService>
                                                <ns3:BagDetailAssociation>
                                                    <ns3:CheckedBagReferences>BG1</ns3:CheckedBagReferences>
                                                    <ns3:CarryOnReferences>CO1</ns3:CarryOnReferences>
                                                </ns3:BagDetailAssociation>
                                            </ns3:FlightSegmentReference>
                                        </ns3:ApplicableFlight>
                                        <ns3:OtherAssociation>
                                            <ns3:OtherAssociation>
                                                <ns3:Type>YSTOWCS</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">53350</ns3:BaseAmount>
                                                <ns3:Taxes>
                                                    <ns3:Total Code="RUB">3210</ns3:Total>
                                                    <ns3:Breakdown>
                                                        <ns3:Tax>
                                                            <ns3:Amount Code="RUB">1461</ns3:Amount>
                                                            <ns3:TaxCode>RI</ns3:TaxCode>
                                                            <ns3:Description>Terminal Use Charge</ns3:Description>
                                                        </ns3:Tax>
                                                        <ns3:Tax>
                                                            <ns3:Amount Code="RUB">779</ns3:Amount>
                                                            <ns3:TaxCode>UH</ns3:TaxCode>
                                                            <ns3:Description>Surcharge</ns3:Description>
                                                        </ns3:Tax>
                                                        <ns3:Tax>
                                                            <ns3:Amount Code="RUB">970</ns3:Amount>
                                                            <ns3:TaxCode>JL</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:AirlineOffer>
                        <ns3:OfferID Owner="S7">OF2</ns3:OfferID>
                        <ns3:TotalPrice>
                            <ns3:DetailCurrencyPrice>
                                <ns3:Total Code="RUB">81395</ns3:Total>
                                <ns3:Details>
                                    <ns3:Detail>
                                        <ns3:SubTotal Code="RUB">78185</ns3:SubTotal>
                                        <ns3:Application>Fare</ns3:Application>
                                    </ns3:Detail>
                                    <ns3:Detail>
                                        <ns3:SubTotal Code="EUR">806</ns3:SubTotal>
                                        <ns3:Application>Fare</ns3:Application>
                                    </ns3:Detail>
                                </ns3:Details>
                                <ns3:Taxes>
                                    <ns3:Total Code="RUB">3210</ns3:Total>
                                </ns3:Taxes>
                            </ns3:DetailCurrencyPrice>
                        </ns3:TotalPrice>
                        <ns3:Disclosure>
                            <ns3:Description>
                                <ns3:Text>STANDARD BUSINESS</ns3:Text>
                            </ns3:Description>
                        </ns3:Disclosure>
                        <ns3:PricedOffer>
                            <ns3:OfferPrice OfferItemID="OF2SL1">
                                <ns3:RequestedDate>
                                    <ns3:PriceDetail>
                                        <ns3:TotalAmount>
                                            <ns3:DetailCurrencyPrice>
                                                <ns3:Total Code="RUB">81395</ns3:Total>
                                                <ns3:Taxes>
                                                    <ns3:Total Code="RUB">3210</ns3:Total>
                                                </ns3:Taxes>
                                            </ns3:DetailCurrencyPrice>
                                        </ns3:TotalAmount>
                                        <ns3:BaseAmount Code="RUB">78185</ns3:BaseAmount>
                                    </ns3:PriceDetail>
                                    <ns3:Associations>
                                        <ns3:OtherAssociation>
                                            <ns3:OtherAssociation>
                                                <ns3:Type>SEG1 DME-GYD</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>B</ns3:CabinDesignator>
                                                    <ns3:MarketingName>STANDARD BUSINESS</ns3:MarketingName>
                                                </ns3:Cabin>
                                            </ns3:FlightSegmentReference>
                                            <ns3:FlightSegmentReference ref="SEG1">
                                                <ns3:ClassOfService>
                                                    <ns3:Code SeatsLeft="4">D</ns3:Code>
                                                    <ns3:MarketingName>DSTOWCS</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>DSTOWCS</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">78185</ns3:BaseAmount>
                                                <ns3:Taxes>
                                                    <ns3:Total Code="RUB">3210</ns3:Total>
                                                    <ns3:Breakdown>
                                                        <ns3:Tax>
                                                            <ns3:Amount Code="RUB">1461</ns3:Amount>
                                                            <ns3:TaxCode>RI</ns3:TaxCode>
                                                            <ns3:Description>Terminal Use Charge</ns3:Description>
                                                        </ns3:Tax>
                                                        <ns3:Tax>
                                                            <ns3:Amount Code="RUB">779</ns3:Amount>
                                                            <ns3:TaxCode>UH</ns3:TaxCode>
                                                            <ns3:Description>Surcharge</ns3:Description>
                                                        </ns3:Tax>
                                                        <ns3:Tax>
                                                            <ns3:Amount Code="RUB">970</ns3:Amount>
                                                            <ns3:TaxCode>JL</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>15KG</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>Whellchair</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>Whellchair</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>32 KG</ns3:Text>
                                </ns3:Description>
                                <ns3:Description>
                                    <ns3:Text>Up to 70 lb/32 kg</ns3:Text>
                                </ns3:Description>
                                <ns3:Description>
                                    <ns3:Text>Up to 80 li/203 lcm</ns3:Text>
                                </ns3:Description>
                            </ns3:Descriptions>
                        </ns3:AllowanceDescription>
                    </ns3:CheckedBagAllowance>
                </ns3:CheckedBagAllowanceList>
                <ns3:FlightSegmentList>
                    <ns3:FlightSegment SegmentKey="SEG1">
                        <ns3:Departure>
                            <ns3:AirportCode>DME</ns3:AirportCode>
                            <ns3:Date>2023-12-09</ns3:Date>
                            <ns3:Time>12:20</ns3:Time>
                        </ns3:Departure>
                        <ns3:Arrival>
                            <ns3:AirportCode>GYD</ns3:AirportCode>
                            <ns3:Date>2023-12-09</ns3:Date>
                            <ns3:Time>16:30</ns3:Time>
                            <ns3:Terminal>
                                <ns3:Name>1</ns3:Name>
                            </ns3:Terminal>
                        </ns3:Arrival>
                        <ns3:MarketingCarrier>
                            <ns3:AirlineID>S7</ns3:AirlineID>
                            <ns3:FlightNumber>4101</ns3:FlightNumber>
                        </ns3:MarketingCarrier>
                        <ns3:OperatingCarrier>
                            <ns3:AirlineID>J2</ns3:AirlineID>
                            <ns3:FlightNumber>182</ns3:FlightNumber>
                        </ns3:OperatingCarrier>
                        <ns3:Equipment refs="ML1">
                            <ns3:AircraftCode>320</ns3:AircraftCode>
                            <ns3:AirlineEquipCode>Airbus A320</ns3:AirlineEquipCode>
                        </ns3:Equipment>
                        <ns3:FlightDetail>
                            <ns3:FlightDistance>
                                <ns3:Value>1198</ns3:Value>
                                <ns3:UOM>Miles</ns3:UOM>
                            </ns3:FlightDistance>
                            <ns3:FlightDuration>
                                <ns3:Value>PT3H10M</ns3:Value>
                            </ns3:FlightDuration>
                        </ns3:FlightDetail>
                    </ns3:FlightSegment>
                </ns3:FlightSegmentList>
                <ns3:OriginDestinationList>
                    <ns3:OriginDestination OriginDestinationKey="OD1">
                        <ns3:DepartureCode>DME</ns3:DepartureCode>
                        <ns3:ArrivalCode>GYD</ns3:ArrivalCode>
                        <ns3:FlightReferences>SEG1</ns3:FlightReferences>
                    </ns3:OriginDestination>
                </ns3:OriginDestinationList>
                <ns3:MediaList>
                    <ns3:Media ListKey="ML1">
                        <ns3:MediaLink>https://static.s7cdn.online/hermes/IBE/image_airplane/a320-neo.png</ns3:MediaLink>
                    </ns3:Media>
                </ns3:MediaList>
                <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_S">
                        <ns3:ServiceID Owner="Any">S</ns3:ServiceID>
                        <ns3:Name>Meal</ns3:Name>
                        <ns3:Descriptions>
                            <ns3:Description>
                                <ns3:Text>Snack</ns3:Text>
                            </ns3:Description>
                        </ns3:Descriptions>
                    </ns3:Service>
                    <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>97.0</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


Note

(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.


Expand
titleOriginDestination information in AirShoppingRS


Code Block
Envelope/Body/AirShoppingRS/DataLists/FlightSegmentList


and <ClassOfService> (RBD) from

Expand
titleRBD information in AirShoppingRS


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



Expand
titleRequest


Code Block
languagexml
titleOrderCreateRQ
linenumberstrue
<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>2033-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</FlightReferences>
                                        </ApplicableFlight>
                                    </OfferItem>
                                </OfferItems>
                            </Offer>
                        </Offers>
                    </ShoppingResponse>
                    <OfferItem>
                        <OfferItemID Owner="S7">UNKNOWN</OfferItemID>
                        <OfferItemType>
                            <DetailedFlightItem>
                                <OriginDestination>
                                    <Flight>
                                        <SegmentKey>FL1</SegmentKey>
                                        <Departure>
                                            <AirportCode>DME</AirportCode>
                                            <Date>2023-12-09</Date>
                                            <Time>12:20</Time>
                                        </Departure>
                                        <Arrival>
                                            <AirportCode>GYD</AirportCode>
                                            <Date>2023-12-09</Date>
                                            <Time>16:30</Time>
                                            <Terminal>
                                                <Name>1</Name>
                                            </Terminal>
                                        </Arrival>
                                        <MarketingCarrier>
                                            <AirlineID>S7</AirlineID>
                                            <FlightNumber>4101</FlightNumber>
                                        </MarketingCarrier>
                                        <OperatingCarrier>
                                            <AirlineID>J2</AirlineID>
                                            <FlightNumber>182</FlightNumber>
                                        </OperatingCarrier>
                                        <ClassOfService>
                                            <Code>Y</Code>
                                        </ClassOfService>
                                    </Flight>
                                </OriginDestination>
                            </DetailedFlightItem>
                        </OfferItemType>
                    </OfferItem>
                </OrderItems>
            </Query>
        </OrderCreateRQ>
    </Body>
</Envelope>



Expand
titleResponse


Code Block
languagexml
titleOrderViewRS
linenumberstrue
<?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">9263856999</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>2033-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>M2YMZ8</ns3:ID>
                            <ns3:AirlineID>S7</ns3:AirlineID>
                        </ns3:BookingReference>
                    </ns3:BookingReferences>
                    <ns3:TimeLimits>
                        <ns3:PaymentTimeLimit DateTime="2023-11-25T13:49: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>DME</ns3:AirportCode>
                                            <ns3:Date>2023-12-09</ns3:Date>
                                            <ns3:Time>12:20</ns3:Time>
                                        </ns3:Departure>
                                        <ns3:Arrival>
                                            <ns3:AirportCode>GYD</ns3:AirportCode>
                                            <ns3:Date>2023-12-09</ns3:Date>
                                            <ns3:Time>16:30</ns3:Time>
                                        </ns3:Arrival>
                                        <ns3:MarketingCarrier>
                                            <ns3:AirlineID>S7</ns3:AirlineID>
                                            <ns3:FlightNumber>4101</ns3:FlightNumber>
                                        </ns3:MarketingCarrier>
                                        <ns3:OperatingCarrier>
                                            <ns3:AirlineID>J2</ns3:AirlineID>
                                            <ns3:FlightNumber>182</ns3:FlightNumber>
                                        </ns3:OperatingCarrier>
                                        <ns3:CabinType>
                                            <ns3:Code>Y</ns3:Code>
                                        </ns3:CabinType>
                                        <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>



Note
titleMarketing and Operating airline

Codeshare S7 flights S74000 - S74999  (Operating carrier is not S7) 

Code Block
languagexml
<MarketingCarrier>
    <AirlineID>S7</AirlineID>
    <FlightNumber>4101</FlightNumber>
</MarketingCarrier>
<OperatingCarrier>
    <AirlineID>J2</AirlineID>
    <FlightNumber>182</FlightNumber>
</OperatingCarrier>

Codeshare flight has a different Marketing and Operating carrier 


Step 3: Request for

read reservation

informative pricing

S7 Agent executes a read operation with S7 PNR locator numberreprice 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);

Note

(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).

Expand
titleRequest


Code Block
languagexml
titleOrderRetrieveRQItinReshopRQ
linenumberstrue
<Envelope 
	xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    <Header />
    <Body>
        <OrderCreateRQ<ItinReshopRQ Version="1.0" "
			xmlns="http://www.iata.org/IATA/EDIST">
            <Document>
                <Name>1.0</Name>
            </Document>
 <Document />
            <Party>
                <Sender>
                    <AgentUserSender>
                        <PseudoCity>S7AGN8224</PseudoCity>
                        <AgentUserID>test</AgentUserID>
                    </AgentUserSender>
                </Sender>
            </Party> 
            <Query>
                <Passengers><Reshop>
                    <Passenger ObjectKey="SH1">
<Actions>
                        <ActionType <PTC>ADT</PTC>>
                        <Age><OrderItems>
                            <BirthDate>1985-05-03</BirthDate>
<OrderItem>
                            </Age>
    <FlightItem>
                    <Name>
                <OriginDestination>
            <Surname>Marko</Surname>
                            <Given>Cain</Given><Flight>
                            <Title>MR</Title>
                <SegmentKey>FL1</SegmentKey>
        </Name>
                        <Contacts>
            <Departure>
                <Contact>
                                <EmailContact><AirportCode>DME</AirportCode>
                                     <Address>y.komarova@s7.ru</Address>
           <Date>2023-12-09</Date>
                     </EmailContact>
                           <Time>12:20</Time>
     <PhoneContact>
                                    <Number CountryCode="7" AreaCode="926">3856999</Number>  </Departure>
                                </PhoneContact>
            <Arrival>
                </Contact>
                        </Contacts>
        <AirportCode>GYD</AirportCode>
                <Gender>Male</Gender>
                        <PassengerIDInfo>
        <Date>2023-12-09</Date>
                    <PassengerDocument>
                            <Time>16:30</Time>
    <Type>PP</Type>
                                <ID>1111111111</ID>
            <Terminal>
                    <BirthCountry>RU</BirthCountry>
                                <DateOfIssue>2013-10-22</DateOfIssue><Name>1</Name>
                                <DateOfExpiration>2033-10-22</DateOfExpiration>
                </Terminal>
                <CountryOfResidence>RU</CountryOfResidence>
                            </PassengerDocument>Arrival>
                        </PassengerIDInfo>
                    </Passenger><MarketingCarrier>
                </Passengers>
                <OrderItems>
                    <ShoppingResponse><AirlineID>S7</AirlineID>
                        <Owner>S7</Owner>
                        <ResponseID>UNKNOWN<<FlightNumber>4101</ResponseID>FlightNumber>
                        <Offers>
                            <Offer></MarketingCarrier>
                                <OfferID Owner="S7">UNKNOWN</OfferID>
           <OperatingCarrier>
                     <OfferItems>
                           <AirlineID>J2</AirlineID>
         <OfferItem>
                                        <OfferItemID Owner="S7">UNKNOWN</OfferItemID><FlightNumber>182</FlightNumber>
                                        <Passengers>
    </OperatingCarrier>
                                        <PassengerReference>SH1<</PassengerReference>Flight>
                                        </Passengers>OriginDestination>
                                    <FareDetail>
    <ApplicableFlight>
                                    <FareComponent refs="FL1">
        <FlightReferences>FL1</FlightReferences>
                                    <FareBasis>
    </ApplicableFlight>
                                    </OfferItem>
        <FareBasisCode>
                        </OfferItems>
                            <<Code>YSTOWCS</Offer>Code>
                            </Offers>
                    </ShoppingResponse>FareBasisCode>
                      <OfferItem>
                        <OfferItemID Owner="S7">UNKNOWN</OfferItemID>  <RBD>Y</RBD>
                        <OfferItemType>
                    </FareBasis>
        <DetailedFlightItem>
                                <OriginDestination></FareComponent>
                                    <Flight></FareDetail>
                                        <SegmentKey>FL1</SegmentKey></FlightItem>
                                        <Departure><Associations>
                                            <AirportCode>DME</AirportCode><Passengers>
                                            <Date>2023-12-09</Date><PassengerReferences>SH4</PassengerReferences>
                                            <Time>12:20</Time>
        </Passengers>
                                </Departure>Associations>
                            </OrderItem>
            <Arrival>
            </OrderItems>
                        <Passengers>
        <AirportCode>GYD</AirportCode>
                      <Passenger ObjectKey="SH4">
                      <Date>2023-12-09</Date>
          <PTC Quantity="1">ADT</PTC>
                                 <Time>16:30</Time><Name>
                                            <Terminal><Surname />
                                                <Name>1<</Name>
                                            </Terminal>
          Passenger>
                              </Arrival>Passengers>
                    </Actions>
                    <MarketingCarrier></Reshop>
            </Query>
        </ItinReshopRQ>
                  </Body>
</Envelope>



Expand
titleResponse


Code Block
languagexml
titleItinReshopRS
linenumberstrue
<?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>
      <AirlineID>S7</AirlineID>
  <ns3:ItinReshopRS Version="">
            <ns3:Document>
                <ns3:Name>1.0</ns3:Name>
             <FlightNumber>4101</FlightNumber></ns3:Document>
            <ns3:Success/>
            <ns3:Response>
                <<ns3:ItinReshopProcessing/MarketingCarrier>>
                <ns3:Passengers>
                        <OperatingCarrier><ns3:Passenger ObjectKey="SH4">
                            <ns3:PTC Quantity="1">ADT</ns3:PTC>
                <AirlineID>J2</AirlineID>
        <ns3:Name>
                            <ns3:Surname>Anonymous</ns3:Surname>
        <FlightNumber>182</FlightNumber>
                    </ns3:Name>
                    </OperatingCarrier>ns3:Passenger>
                </ns3:Passengers>
                <ns3:ReShopOffers>
        <ClassOfService>
            <ns3:ReShopOffer ObjectKey="RO1">
                        <ns3:OfferID Owner="S7">Offer</ns3:OfferID>
       <Code>Y</Code>
                 <ns3:TotalPrice>
                         </ClassOfService>
   <ns3:DetailCurrencyPrice>
                                 </Flight><ns3:Total Code="RUB">56560.00</ns3:Total>
                                </OriginDestination>
<ns3:Details>
                             </DetailedFlightItem>
       <ns3:Detail>
                 </OfferItemType>
                    </OfferItem>
   <ns3:SubTotal Code="RUB">53350.00</ns3:SubTotal>
            </OrderItems>
            </Query>
        </OrderCreateRQ>
    </Body>
</Envelope>
Expand
titleResponse
Code Block
languagexml
titleOrderViewRS
linenumberstrue
<?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"> <ns3:Application>fare</ns3:Application>
    <ns2:Body>
        <ns3:OrderViewRS Version="">
            <ns3:Document>
                <ns3:Name>1.0<</ns3:Name>Detail>
            </ns3:Document>
            <ns3:Success/>
        </ns3:Details>
    <ns3:Response>
                <ns3:OrderViewProcessing/>
                <ns3:Passengers>
      Taxes>
              <ns3:Passenger ObjectKey="SH4">
                        <ns3:PTCTotal QuantityCode="1RUB">ADT<>3210.00</ns3:PTC>Total>
                        <ns3:Age>
        </ns3:Taxes>
                    <ns3:BirthDate>1985-05-03</ns3:BirthDate>
            <ns3:Fees>
            </ns3:Age>
                        <ns3:Name>
:Total Code="RUB">0</ns3:Total>
                                <ns3:Surname>MARKO<</ns3:Surname>Fees>
                            <ns3:Given>CAIN<</ns3:Given>DetailCurrencyPrice>
                            <ns3:Title>MR<</ns3:Title>TotalPrice>
                        <ns3:ReShopPricedOffer>
    <ns3:Middle/>
                        </ns3<ns3:Name>OfferPrice>
                        <ns3:Contacts>
        <ns3:RequestedDate>
                    <ns3:Contact>
                <ns3:PriceDetail>
                <ns3:EmailContact>
                        <ns3:TotalAmount>
            <ns3:Address>y.komarova@s7.ru</ns3:Address>
                                </ns3<ns3:EmailContact>DetailCurrencyPrice>
                                <ns3:PhoneContact>
                    <ns3:Total Code="RUB">56560.00</ns3:Total>
               <ns3:Number CountryCode="7">9263856999</ns3:Number>
                                </ns3<ns3:PhoneContact>Details>
                            </ns3:Contact>
                        </ns3<ns3:Contacts>Detail>
                        <ns3:Gender>Male</ns3:Gender>
                        <ns3:PassengerIDInfo>
        <ns3:SubTotal Code="RUB">53350.00</ns3:SubTotal>
                        <ns3:PassengerDocument>
                                <ns3:Type>PP<Application>fare</ns3:Type>Application>
                                    <ns3:ID>1111111111</ns3:ID>
                </ns3:Detail>
                <ns3:BirthCountry>RU</ns3:BirthCountry>
                                <ns3:DateOfExpiration>2033-10-22<</ns3:DateOfExpiration>Details>
                                <ns3:CountryOfResidence>RU</ns3:CountryOfResidence>
                   <ns3:Taxes>
         </ns3:PassengerDocument>
                        </ns3:PassengerIDInfo>
                    <<ns3:Total Code="RUB">3210.00</ns3:Passenger>Total>
                </ns3:Passengers>
                <ns3:Order>
                    <ns3:OrderID Owner="S7">1< </ns3:OrderID>Taxes>
                    <ns3:BookingReferences>
                        <ns3:BookingReference>
    <ns3:Fees>
                        <ns3:ID>M2YN7F</ns3:ID>
                            <ns3:AirlineID>S7<Total Code="RUB">0</ns3:AirlineID>Total>
                            </ns3:BookingReference>
                    </ns3:BookingReferences>Fees>
                    <ns3:TimeLimits>
                        <ns3:PaymentTimeLimit DateTime="2023-11-25T15:21:00"/></ns3:DetailCurrencyPrice>
                    </ns3:TimeLimits>
                    <ns3</ns3:OrderItems>TotalAmount>
                        <ns3:OrderItem>
                <ns3:BaseAmount Code="RUB">53350.00</ns3:BaseAmount>
            <ns3:FlightItem>
                            <ns3:FareFiledIn>
     <ns3:OriginDestination>
                                       <ns3:Flight>
BaseAmount Code="EUR">550.00</ns3:BaseAmount>
                                            <ns3:SegmentKey>FL1<ExchangeRate>97.0</ns3:SegmentKey>ExchangeRate>
                                        <ns3</ns3:Status>FareFiledIn>
                                            <ns3:StatusCode>Surcharges>
                                            <ns3:Surcharge>
    <ns3:Code>HK</ns3:Code>
                                             <<ns3:Total Code="RUB">0</ns3:StatusCode>Total>
                                            </ns3:Status>Surcharge>
                                        <ns3</ns3:Departure>Surcharges>
                                            <ns3:AirportCode>DME</ns3:AirportCode>Taxes>
                                            <ns3:Date>2023-12-09<Total Code="RUB">3210.00</ns3:Date>Total>
                                            <ns3:Time>12:20</ns3:Time>
Breakdown>
                                           </ns3:Departure>     <ns3:Tax>
                                        <ns3:Arrival>
            <ns3:Amount Code="RUB">970.00</ns3:Amount>
                                <ns3:AirportCode>GYD</ns3:AirportCode>
                    <ns3:TaxCode>JL</ns3:TaxCode>
                        <ns3:Date>2023-12-09</ns3:Date>
                        </ns3:Tax>
                    <ns3:Time>16:30</ns3:Time>
                            <ns3:Tax>
            </ns3:Arrival>
                                        <ns3:MarketingCarrier>
:Amount Code="RUB">1461.00</ns3:Amount>
                                                    <ns3:AirlineID>S7<TaxCode>RI</ns3:AirlineID>TaxCode>
                                            <ns3:FlightNumber>4101<    </ns3:FlightNumber>Tax>
                                        </ns3:MarketingCarrier>
        <ns3:Tax>
                                <ns3:OperatingCarrier>
                      <ns3:Amount Code="RUB">779.00</ns3:Amount>
                      <ns3:AirlineID>J2</ns3:AirlineID>
                                 <ns3:TaxCode>UH</ns3:TaxCode>
           <ns3:FlightNumber>182</ns3:FlightNumber>
                                        </ns3:OperatingCarrier>Tax>
                                        <ns3:CabinType>
    </ns3:Breakdown>
                                        <ns3:Code>Y<</ns3:Code>Taxes>
                                        </ns3:CabinType>PriceDetail>
                                        <ns3:ClassOfService>Associations>
                                        <ns3:AssociatedTraveler>
    <ns3:Code>Y</ns3:Code>
                                        <<ns3:TravelerReferences>SH4</ns3:ClassOfService>TravelerReferences>
                                        </ns3:Flight>AssociatedTraveler>
                                  </ns3:OriginDestination>
      <ns3:OfferDetailAssociation>
                        </ns3:FlightItem>
                    <ns3:OfferTermReferences>T1</ns3:OfferTermReferences>
        <ns3:Associations>
                                <ns3</ns3:Passengers>OfferDetailAssociation>
                                    <ns3:PassengerReferences>SH4<</ns3:PassengerReferences>Associations>
                                </ns3:Passengers>RequestedDate>
                             </ns3:Associations>   <ns3:FareDetail>
                        </ns3:OrderItem>
            <ns3:FareComponent>
        </ns3:OrderItems>
                </ns3:Order>
                <ns3:Metadata>
    SegmentReference>SEG1</ns3:SegmentReference>
                <ns3:Other>
                        <ns3:OtherMetadata>FareBasis>
                            <ns3:CountryMetadatas>
                <ns3:FareBasisCode>
                <ns3:CountryMetadata MetadataKey="CM1">
                                <ns3:Code>YSTOWCS</ns3:Code>
    <ns3:AugmentationPoint>
                                        <ns3:AugPoint Owner="OVB"></ns3:FareBasisCode>
                                            <ns4:value xmlns:ns4="##other" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/><ns3:RBD>Y</ns3:RBD>
                                        </ns3:AugPoint>FareBasis>
                                      </ns3:AugmentationPoint>
  <ns3:FareRules>
                                            </ns3<ns3:CountryMetadata>
Ticketing>
                                           </ns3:CountryMetadatas>
     <ns3:Endorsements>
                                                    <<ns3:Endorsement>ENDO</ns3:OtherMetadata>
Endorsement>
                                                </ns3:Other>
Endorsements>
                               </ns3:Metadata>
             </ns3:Response>
Ticketing>
              </ns3:OrderViewRS>
      </ns2:Body>
</ns2:Envelope>

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);

Note

(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).

Expand
titleRequest
Code Block
languagexml
titleItinReshopRQ
linenumberstrue
<Envelope
	xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    <Header />
    <Body>
        <ItinReshopRQ Version=""
			xmlns="http://www.iata.org/IATA/EDIST">
            <Document /><ns3:Remarks>
            <Party>
                <Sender>
                    <AgentUserSender><ns3:Remark>UnstructuredFareCalc</ns3:Remark>
                        <PseudoCity>S7AGN8224</PseudoCity>
                    </ns3:Remarks>
    <AgentUserID>test</AgentUserID>
                    </AgentUserSender>
                </Sender>ns3:FareRules>
            </Party>
            <Query>
            </ns3:FareComponent>
    <Reshop>
                    <Actions>
        </ns3:FareDetail>
                <ActionType />
           </ns3:OfferPrice>
             <OrderItems>
           </ns3:ReShopPricedOffer>
                 <OrderItem>
   </ns3:ReShopOffer>
                </ns3:ReShopOffers>
             <FlightItem>
   <ns3:DataList>
                    <ns3:FlightSegmentList>
             <OriginDestination>
           <ns3:FlightSegment SegmentKey="SEG1">
                            <Flight><ns3:Departure>
                                <ns3:AirportCode>DME</ns3:AirportCode>
            <SegmentKey>FL1</SegmentKey>
                    <ns3:Date>2023-12-09</ns3:Date>
                        <Departure>
        <ns3:Time>12:20</ns3:Time>
                            </ns3:Departure>
            <AirportCode>DME</AirportCode>
                <ns3:Arrival>
                                <Date>2023-12-09</Date><ns3:AirportCode>GYD</ns3:AirportCode>
                                <ns3:Date>2023-12-09</ns3:Date>
                <Time>12:20</Time>
                <ns3:Time>16:30</ns3:Time>
                            </Departure>ns3:Arrival>
                            <ns3:MarketingCarrier>
                <Arrival>
                <ns3:AirlineID>S7</ns3:AirlineID>
                                <AirportCode>GYD</AirportCode><ns3:FlightNumber>4101</ns3:FlightNumber>
                            </ns3:MarketingCarrier>
                    <Date>2023-12-09</Date>
        <ns3:OperatingCarrier>
                                <ns3:AirlineID>J2</ns3:AirlineID>
        <Time>16:30</Time>
                        <ns3:FlightNumber>182</ns3:FlightNumber>
                        <Terminal>
    </ns3:OperatingCarrier>
                        </ns3:FlightSegment>
                        <Name>1</Name></ns3:FlightSegmentList>
                    <ns3:OriginDestinationList>
                            </Terminal><ns3:OriginDestination OriginDestinationKey="OD1">
                            <ns3:DepartureCode>DME</ns3:DepartureCode>
                </Arrival>
            <ns3:ArrivalCode>GYD</ns3:ArrivalCode>
                                <MarketingCarrier><ns3:FlightReferences>SEG1</ns3:FlightReferences>
                        </ns3:OriginDestination>
                        <AirlineID>S7</AirlineID></ns3:OriginDestinationList>
                    <ns3:TermsList ListKey="TL1">
                        <ns3:Term   <FlightNumber>4101</FlightNumber>refs="SEG1" ObjectKey="T1">
                                            </MarketingCarrier><ns3:AvailablePeriod>
                                            <OperatingCarrier><ns3:Earliest/>
                                                <AirlineID>J2</AirlineID><ns3:Latest/>
                                                <FlightNumber>182</FlightNumber></ns3:AvailablePeriod>
                        </ns3:Term>
                    </OperatingCarrier>ns3:TermsList>
                            </ns3:DataList>
            </Flight>
                            ns3:Response>
        </OriginDestination>ns3:ItinReshopRS>
    </ns2:Body>
</ns2:Envelope>


Step 4: 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);

Note

(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).

Expand
titleRequest


Code Block
languagexml
titleItinReshopRQ
linenumberstrue
 <Envelope
xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    <Header />
    <Body>
        <ItinReshopRQ Version=""
xmlns="http://www.iata.org/IATA/EDIST">
            <Document <FareDetail>/>
            <Party>
                 <Sender>
           <FareComponent refs="FL1">
        <AgentUserSender>
                        <PseudoCity>S7AGN8224</PseudoCity>
            <FareBasis>
            <AgentUserID>test</AgentUserID>
                    </AgentUserSender>
                <FareBasisCode></Sender>
            </Party>
            <Query>
                <Reshop>
             <Code>YSTOWCS</Code>
       <Actions>
                        <ActionType />
                </FareBasisCode>
        <BookingReferences>
                            <BookingReference>
            <RBD>Y</RBD>
                    <ID>M2YN7F</ID>
                        </FareBasis>
        <AirlineID>S7</AirlineID>
                            </BookingReference>
                        </FareComponent>
BookingReferences>
                        <OrderItems>
                            </FareDetail><OrderItem>
                                </FlightItem><FlightItem>
                                 <Associations>
   <OriginDestination>
                                        <Passengers><Flight>
                                        <PassengerReferences>SH4</PassengerReferences>
    <SegmentKey>FL1</SegmentKey>
                                           </Passengers>
 <Departure>
                                          </Associations>
      <AirportCode>DME</AirportCode>
                                                </OrderItem><Date>2023-12-09</Date>
                        </OrderItems>
                        <Passengers>
<Time>12:20</Time>
                                 <Passenger ObjectKey="SH4">
          </Departure>
                      <PTC Quantity="1">ADT</PTC>
                     <Arrival>
           <Name>
                                    <Surname <AirportCode>GYD</>
AirportCode>
                                       </Name>
         <Date>2023-12-09</Date>
                        </Passenger>
                        <<Time>16:30</Passengers>Time>
                    </Actions>
                </Reshop>
            </Query>
<Terminal>
             </ItinReshopRQ>
    </Body>
</Envelope>
Expand
titleResponse
Code Block
languagexml
titleItinReshopRS
linenumberstrue
<?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>
<Name>1</Name>
                        <ns3:Name>1.0</ns3:Name>
            </ns3:Document>
            <ns3:Success</>Terminal>
            <ns3:Response>
                <ns3:ItinReshopProcessing/>
                <ns3:Passengers></Arrival>
                    <ns3:Passenger ObjectKey="SH4">
                        <ns3:PTC Quantity="1">ADT</ns3:PTC> <MarketingCarrier>
                        <ns3:Name>
                        <AirlineID>S7</AirlineID>
    <ns3:Surname>Anonymous</ns3:Surname>
                        </ns3:Name>
                    <<FlightNumber>4101</ns3:Passenger>FlightNumber>
                </ns3:Passengers>
                <ns3:ReShopOffers>
            </MarketingCarrier>
        <ns3:ReShopOffer ObjectKey="RO1">
                        <ns3:OfferID Owner="S7">Offer</ns3:OfferID>
          <OperatingCarrier>
              <ns3:TotalPrice>
                            <ns3:DetailCurrencyPrice>
         <AirlineID>J2</AirlineID>
                       <ns3:Total Code="RUB">56560.00</ns3:Total>
                        <FlightNumber>182</FlightNumber>
        <ns3:Details>
                                    <ns3:Detail></OperatingCarrier>
                                        <ns3:SubTotal Code="RUB">53350.00</ns3:SubTotal></Flight>
                                        <ns3:Application>fare</ns3:Application></OriginDestination>
                                    </ns3:Detail><FareDetail>
                                </ns3:Details>
        <FareComponent refs="FL1">
                       <ns3:Taxes>
                     <FareBasis>
               <ns3:Total Code="RUB">3210.00</ns3:Total>
                                </ns3:Taxes><FareBasisCode>
                                <ns3:Fees>
                    <Code>YSTOWCS</Code>
                <ns3:Total Code="RUB">0</ns3:Total>
                                </ns3:Fees>FareBasisCode>
                            </ns3:DetailCurrencyPrice>
                        </ns3:TotalPrice><RBD>Y</RBD>
                        <ns3:ReShopPricedOffer>
                    </FareBasis>
        <ns3:OfferPrice>
                                <ns3:RequestedDate></FareComponent>
                                    <ns3:PriceDetail></FareDetail>
                                 </FlightItem>
       <ns3:TotalAmount>
                         <Associations>
                   <ns3:DetailCurrencyPrice>
                 <Passengers>
                               <ns3:Total Code="RUB">56560.00</ns3:Total>
        <PassengerReferences>SH4</PassengerReferences>
                                        <ns3:Details></Passengers>
                                                    <ns3:Detail></Associations>
                            </OrderItem>
                            <ns3:SubTotal Code="RUB">53350.00</ns3:SubTotal></OrderItems>
                                                        <ns3:Application>fare</ns3:Application><Passengers>
                                                    </ns3:Detail><Passenger ObjectKey="SH4">
                                                </ns3:Details><PTC Quantity="1">ADT</PTC>
                                                <ns3:Taxes><Name>
                                                    <ns3:Total Code="RUB">3210.00</ns3:Total>
               <Surname />
                                 </ns3:Taxes>
                                                <ns3:Fees>
                                                    <ns3:Total Code="RUB">0</ns3:Total>
                                                </ns3:Fees>
                                            </ns3:DetailCurrencyPrice>
                                        </ns3:TotalAmount>
                                        <ns3:BaseAmount Code="RUB">53350.00</ns3:BaseAmount>
                                        <ns3:FareFiledIn>
                                            <ns3:BaseAmount Code="EUR">550.00</ns3:BaseAmount>
                                            <ns3:ExchangeRate>97.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">3210.00</ns3:Total>
                                            <ns3:Breakdown>
                                                <ns3:Tax>
                                                    <ns3:Amount Code="RUB">970.00</ns3:Amount>
                                                    <ns3:TaxCode>JL</ns3:TaxCode>
                                                </ns3:Tax>
                                                <ns3:Tax>
                                                    <ns3:Amount Code="RUB">1461.00</ns3:Amount>
                                                    <ns3:TaxCode>RI</ns3:TaxCode>
                                                </ns3:Tax>
                                                <ns3:Tax>
                                                    <ns3:Amount Code="RUB">779.00</ns3:Amount>
                                                    <ns3:TaxCode>UH</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</ns3:OfferTermReferences>
                                        </ns3:OfferDetailAssociation>
                                    </ns3:Associations>
                                </ns3:RequestedDate>
                                <ns3:FareDetail>
                                    <ns3:FareComponent>
                                        <ns3:SegmentReference>SEG1</ns3:SegmentReference>
                                        <ns3:FareBasis>
                                            <ns3:FareBasisCode>
                                                <ns3:Code>YSTOWCS</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>DME</ns3:AirportCode>
                                <ns3:Date>2023-12-09</ns3:Date>
                                <ns3:Time>12:20</ns3:Time>
                            </ns3:Departure>
                            <ns3:Arrival>
                                <ns3:AirportCode>GYD</ns3:AirportCode>
                                <ns3:Date>2023-12-09</ns3:Date>
                                <ns3:Time>16:30</ns3:Time>
                            </ns3:Arrival>
                            <ns3:MarketingCarrier>
                                <ns3:AirlineID>S7</ns3:AirlineID>
                                <ns3:FlightNumber>4101</ns3:FlightNumber>
                            </ns3:MarketingCarrier>
                            <ns3:OperatingCarrier>
                                <ns3:AirlineID>J2</ns3:AirlineID>
                                <ns3:FlightNumber>182</ns3:FlightNumber>
                            </ns3:OperatingCarrier>
                        </ns3:FlightSegment>
                    </ns3:FlightSegmentList>
                    <ns3:OriginDestinationList>
                        <ns3:OriginDestination OriginDestinationKey="OD1">
                            <ns3:DepartureCode>DME</ns3:DepartureCode>
                            <ns3:ArrivalCode>GYD</ns3:ArrivalCode>
                            <ns3:FlightReferences>SEG1</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: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);

Note

(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).

<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>M2YN7F</ID>
<AirlineID>S7</AirlineID>
</BookingReference>
</BookingReferences>
<OrderItems>
<OrderItem>
<FlightItem>
<OriginDestination>
<Flight>
<SegmentKey>FL1</SegmentKey>
<Departure>
<AirportCode>DME</AirportCode>
<Date>2023-12-09</Date>
<Time>12:20</Time>
</Departure>
<Arrival>
<AirportCode>GYD</AirportCode>
<Date>2023-12-09</Date>
<Time>16:30</Time>
<Terminal>
<Name>1</Name>
</Terminal>
</Arrival>
<MarketingCarrier>
<AirlineID>S7</AirlineID>
<FlightNumber>4101</FlightNumber>
</MarketingCarrier>
<OperatingCarrier>
<AirlineID>J2</AirlineID>
<FlightNumber>182</FlightNumber>
</OperatingCarrier>
</Flight>
</OriginDestination>
<FareDetail>
<FareComponent refs="FL1">
<FareBasis>
<FareBasisCode>
<Code>YSTOWCS</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>
Expand
titleRequest
Code Block
languagexml
titleItinReshopRQ
linenumberstrue
       </Name>
                            </Passenger>
                        </Passengers>
                    </Actions>
                </Reshop>
            </Query>
        </ItinReshopRQ>
    </Body>
</Envelope>


Expand
titleResponse


Code Block
languagexml
titleItinReshopRS
linenumberstrue
<?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>M2YN7F</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">56560.0</ns3:Total>
                                <ns3:Details>
                                    <ns3:Detail>
                                        <ns3:SubTotal Code="RUB">53350.0</ns3:SubTotal>
                                        <ns3:Application>fare</ns3:Application>
                                    </ns3:Detail>
                                </ns3:Details>
                                <ns3:Taxes>
                                    <ns3:Total Code="RUB">3210.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">56560.0</ns3:Total>
                                                <ns3:Details>
                                                    <ns3:Detail>
                                                        <ns3:SubTotal Code="RUB">53350.0</ns3:SubTotal>
                                                        <ns3:Application>fare</ns3:Application>
                                                    </ns3:Detail>
                                                </ns3:Details>
                                                <ns3:Taxes>
                                                    <ns3:Total Code="RUB">3210.0</ns3:Total>
                                                </ns3:Taxes>
                                                <ns3:Fees>
                                                    <ns3:Total Code="RUB">0</ns3:Total>
                                                </ns3:Fees>
                                            </ns3:DetailCurrencyPrice>
                                        </ns3:TotalAmount>
                                        <ns3:BaseAmount Code="RUB">53350.0</ns3:BaseAmount>
                                        <ns3:FareFiledIn>
                                            <ns3:BaseAmount Code="EUR">550.0</ns3:BaseAmount>
                                            <ns3:ExchangeRate>97.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">3210.0</ns3:Total>
                                            <ns3:Breakdown>
                                                <ns3:Tax>
                                                    <ns3:Amount Code="RUB">970.0</ns3:Amount>
                                                    <ns3:TaxCode>JL</ns3:TaxCode>
                                                </ns3:Tax>
                                                <ns3:Tax>
                                                    <ns3:Amount Code="RUB">1461.0</ns3:Amount>
                                                    <ns3:TaxCode>RI</ns3:TaxCode>
                                                </ns3:Tax>
                                                <ns3:Tax>
                                                    <ns3:Amount Code="RUB">779.0</ns3:Amount>
                                                    <ns3:TaxCode>UH</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</ns3:OfferTermReferences>
                                        </ns3:OfferDetailAssociation>
                                    </ns3:Associations>
                                </ns3:RequestedDate>
                                <ns3:FareDetail>
                                    <ns3:FareComponent>
                                        <ns3:SegmentReference>SEG1</ns3:SegmentReference>
                                        <ns3:FareBasis>
                                            <ns3:FareBasisCode>
                                                <ns3:Code>YSTOWCS</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>DME</ns3:AirportCode>
                                <ns3:Date>2023-12-09</ns3:Date>
                                <ns3:Time>12:20</ns3:Time>
                            </ns3:Departure>
                            <ns3:Arrival>
                                <ns3:AirportCode>GYD</ns3:AirportCode>
                                <ns3:Date>2023-12-09</ns3:Date>
                                <ns3:Time>16:30</ns3:Time>
                            </ns3:Arrival>
                            <ns3:MarketingCarrier>
                                <ns3:AirlineID>S7</ns3:AirlineID>
                                <ns3:FlightNumber>4101</ns3:FlightNumber>
                            </ns3:MarketingCarrier>
                            <ns3:OperatingCarrier>
                                <ns3:AirlineID>J2</ns3:AirlineID>
                                <ns3:FlightNumber>182</ns3:FlightNumber>
                            </ns3:OperatingCarrier>
                        </ns3:FlightSegment>
                    </ns3:FlightSegmentList>
                    <ns3:OriginDestinationList>
                        <ns3:OriginDestination OriginDestinationKey="OD1">
                            <ns3:DepartureCode>DME</ns3:DepartureCode>
                            <ns3:ArrivalCode>GYD</ns3:ArrivalCode>
                            <ns3:FlightReferences>SEG1</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:TermsList>
                </ns3:DataList>
            </ns3:Response>
        </ns3:ItinReshopRS>
    </ns2:Body>
</ns2:Envelope>
Step 6


Note
titleWarning

Attention!
You may receive a warning "We are waiting for a PNR from the partner airline. Please do not cancel the order." from ItinReshopRQ.
This warning may appear if you have created an order with a partner airline segment in the order and we're unable to retrieve the RLOC from the partner system.


In such cases we recommend running method Read PNR and call the pricing request Reprice again. Generally second call is completes successfully.

Step 5: Issue tickets for all passenger

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

  • Add information about PNR from OrderViewRS

Expand
titlePNR information in OrderViewRS


Code Block
Envelope/Body/OrderViewRS/Response/Order/BookingReferences/BookingReference/ID


  • Fill in the form of payment as in example <*A*TEXT>

Expand
titleFOP


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



Expand
titleRequest


Code Block
languagexml
titleAirDocIssueRQ
linenumberstrue
<?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>M2YN7F</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>



Expand
titleResponse


Code Block
languagexml
titleAirDocDisplayRS
linenumberstrue
<?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>M2YN7F</ns3:ID>
                                <ns3:AirlineID>S7</ns3:AirlineID>
                            </ns3:BookingReference>
                        </ns3:BookingReferences>
                        <ns3:Payments>
                            <ns3:Payment>
                                <ns3:Method/>
                                <ns3:Amount Code="RUB">56560.0</ns3:Amount>
                            </ns3:Payment>
                        </ns3:Payments>
                        <ns3:OriginDestination>
                            <ns3:Origin>DME</ns3:Origin>
                            <ns3:Destination>GYD</ns3:Destination>
                        </ns3:OriginDestination>
                        <ns3:FareInfo>
                            <ns3:BaseFare>
                                <ns3:Amount Code="RUB">53350.0</ns3:Amount>
                            </ns3:BaseFare>
                            <ns3:EquivFare EquivRate="97">
                                <ns3:Amount Code="EUR">550.0</ns3:Amount>
                            </ns3:EquivFare>
                            <ns3:Total>
                                <ns3:Amount Code="RUB">56560.0</ns3:Amount>
                            </ns3:Total>
                            <ns3:Taxes>
                                <ns3:Total Code="RUB">3210.0</ns3:Total>
                                <ns3:Breakdown>
                                    <ns3:Tax>
                                        <ns3:Amount Code="RUB">970.00</ns3:Amount>
                                        <ns3:TaxCode>JL</ns3:TaxCode>
                                    </ns3:Tax>
                                    <ns3:Tax>
                                        <ns3:Amount Code="RUB">1461.00</ns3:Amount>
                                        <ns3:TaxCode>RI</ns3:TaxCode>
                                    </ns3:Tax>
                                    <ns3:Tax>
                                        <ns3:Amount Code="RUB">779.00</ns3:Amount>
                                        <ns3:TaxCode>UH</ns3:TaxCode>
                                    </ns3:Tax>
                                </ns3:Breakdown>
                            </ns3:Taxes>
                            <ns3:UnstructuredFareCalcInfo>
                                <ns3:Info>MOW S7 GYD578.81NUC578.81END ROE0.950225</ns3:Info>
                            </ns3:UnstructuredFareCalcInfo>
                        </ns3:FareInfo>
                        <ns3:TicketDocument>
                            <ns3:TicketDocNbr>4212105453854</ns3:TicketDocNbr>
                            <ns3:Type>
                                <ns3:Code>702</ns3:Code>
                            </ns3:Type>
                            <ns3:NumberofBooklets>1</ns3:NumberofBooklets>
                            <ns3:DateOfIssue>2023-11-22</ns3:DateOfIssue>
                            <ns3:CouponInfo>
                                <ns3:CouponNumber>1</ns3:CouponNumber>
                                <ns3:FareBasisCode>
                                    <ns3:Code>YSTOWCS</ns3:Code>
                                </ns3:FareBasisCode>
                                <ns3:CouponValid>
                                    <ns3:EffectiveDatePeriod>
                                        <ns3:Expiration>2024-11-22</ns3:Expiration>
                                    </ns3:EffectiveDatePeriod>
                                </ns3:CouponValid>
                                <ns3:Status>
                                    <ns3:Code>OPEN FOR USE</ns3:Code>
                                </ns3:Status>
                                <ns3:SoldAirlineInfo>
                                    <ns3:Departure>
                                        <ns3:AirportCode>DME</ns3:AirportCode>
                                        <ns3:Date>2023-12-09</ns3:Date>
                                        <ns3:Time>12:20</ns3:Time>
                                    </ns3:Departure>
                                    <ns3:Arrival>
                                        <ns3:AirportCode>GYD</ns3:AirportCode>
                                        <ns3:Date>2023-12-09</ns3:Date>
                                        <ns3:Time>16:30</ns3:Time>
                                    </ns3:Arrival>
                                    <ns3:OperatingCarrier>
                                        <ns3:AirlineID>J2</ns3:AirlineID>
                                        <ns3:FlightNumber>182</ns3:FlightNumber>
                                        <ns3:ResBookDesigCode>Y</ns3:ResBookDesigCode>
                                    </ns3:OperatingCarrier>
                                    <ns3:MarketingCarrier>
                                        <ns3:AirlineID>S7</ns3:AirlineID>
                                        <ns3:FlightNumber>4101</ns3:FlightNumber>
                                    </ns3:MarketingCarrier>
                                </ns3:SoldAirlineInfo>
                            </ns3:CouponInfo>
                        </ns3:TicketDocument>
                        <ns3:Commission>
                            <ns3:Amount>0</ns3:Amount>
                            <ns3:Remarks>
                                <ns3:Remark>S7 ONLY/REF/CHNG/RESTR/ST</ns3:Remark>
                                <ns3:Remark>2023-11-22T15:22</ns3:Remark>
                            </ns3:Remarks>
                        </ns3:Commission>
                        <ns3:PassengerSpecificData>1111111111</ns3:PassengerSpecificData>
                    </ns3:TicketDocInfo>
                </ns3:TicketDocInfos>
            </ns3:Response>
        </ns3:AirDocDisplayRS>
    </ns2:Body>
</ns2:Envelope>