Versions Compared

Key

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

User story

User wants to find a roundtrip flight from Irkutsk (IKT) to Moscow (DME) for two adult travelers, one children and one infant.

Check out


Note

Please note that you need to replace the key with the one you received from S7 technical support. Key from this sample will not work.

xml
Excerpt
Code Block
language
Expand
titleRequest
linenumbersxml
Code Block
true
languagecollapsetruexml
<search key="DIUmjORwCVJWdQfSnkvoYK">
    <inputs>
        <pax adults="2" children="1" infantsInLap="1"/>
        <slice date="2018-10-01" destination="DME" origin="IKT"/>
        <slice date="2018-11-01" destination="IKT" origin="DME"/>
    </inputs>
</search>
Code Block
language
Expand
titleResponse
linenumbers
Code Block
true
languagecollapsetruexml
<result id="JwfqRsWx251T6SvhnaR0KUMx7" session="XUj0TH8aDmx2sM90EU6MPkeaD" solutionCount="4" solutionSet="083mH3jXXjpMTZ3vUVXe9iB">
   <solutions>
      <itinerary>
         <solution id="UxsrXg8uPH4PSv0qwiXCPG001" saleTotal="RUB58272" preferredFareFamily="CHEAPEST FARE">
            <ext link="https://ibe.s7.ru/mseDeeplink.action?LAN=RU&partner=161b0f3d01&TA=2&TC=1&TI=1&SUP=SITA&CP=F&CUR=RUB&TF=58272&FLC=2&FSC1=2&FN1=3276&AC1=S7&DD1=2018-10-01&DT1=07:15:00&AD1=2018-10-01&AT1=08:45:00&DA1=IKT&AA1=OVB&SC1=Q&FN2=184&AC2=S7&DD2=2018-10-01&DT2=11:55:00&AD2=2018-10-01&AT2=12:10:00&DA2=OVB&AA2=DME&SC2=Q&FSC2=1&FN3=778&AC3=S7&DD3=2018-11-01&DT3=21:50:00&AD3=2018-11-02&AT3=08:25:00&DA3=DME&AA3=IKT&SC3=Q&utm_campaign=ticket.yandex&utm_source=ticket.yandex&utm_medium=metasearch&FF1=B&FF2=B&FF3=B">
               <SalePriceWithoutYQ amount="20748" currency="RUB"/>
               <SalePriceWithoutYQAndYR amount="20748" currency="RUB"/>
               <SalePriceWithoutYR amount="20748" currency="RUB"/>
            </ext>
            <pricing paxCount="2">
               <ext>
                  <SalePriceWithoutYQ amount="20748" currency="RUB"/>
                  <SalePriceWithoutYQAndYR amount="20748" currency="RUB"/>
                  <SalePriceWithoutYR amount="20748" currency="RUB"/>
                  <pax adults="2"/>
               </ext>
            </pricing>
            <pricing paxCount="1">
               <ext>
                  <SalePriceWithoutYQ amount="16776" currency="RUB"/>
                  <SalePriceWithoutYQAndYR amount="16776" currency="RUB"/>
                  <SalePriceWithoutYR amount="16776" currency="RUB"/>
                  <pax children="1"/>
               </ext>
            </pricing>
            <pricing paxCount="1">
               <ext>
                  <SalePriceWithoutYQ amount="0" currency="RUB"/>
                  <SalePriceWithoutYQAndYR amount="0" currency="RUB"/>
                  <SalePriceWithoutYR amount="0" currency="RUB"/>
               </ext>
            </pricing>
         </solution>
         <slice>
            <segment arrival="2018-10-01T08:45+07:00" carrier="S7" departure="2018-10-01T07:15+08:00" destination="OVB" duration="150" flight="S73276" origin="IKT"/>
            <segment arrival="2018-10-01T12:10+03:00" carrier="S7" departure="2018-10-01T11:55+07:00" destination="DME" duration="255" flight="S7184" origin="OVB"/>
         </slice>
         <slice>
            <segment arrival="2018-11-02T08:25+08:00" carrier="S7" departure="2018-11-01T21:50+03:00" destination="IKT" duration="335" flight="S7778" origin="DME"/>
         </slice>
      </itinerary>
      <itinerary>
         <solution id="UxsrXg8uPH4PSv0qwiXCPG002" saleTotal="RUB59916" preferredFareFamily="CHEAPEST FARE">
            <ext link="https://ibe.s7.ru/mseDeeplink.action?LAN=RU&partner=161b0f3d01&TA=2&TC=1&TI=1&SUP=SITA&CP=F&CUR=RUB&TF=59916&FLC=2&FSC1=1&FN1=777&AC1=S7&DD1=2018-10-01&DT1=09:35:00&AD1=2018-10-01&AT1=10:50:00&DA1=IKT&AA1=DME&SC1=S&FSC2=1&FN2=778&AC2=S7&DD2=2018-11-01&DT2=21:50:00&AD2=2018-11-02&AT2=08:25:00&DA2=DME&AA2=IKT&SC2=Q&utm_campaign=ticket.yandex&utm_source=ticket.yandex&utm_medium=metasearch&FF1=B&FF2=B">
               <SalePriceWithoutYQ amount="21486" currency="RUB"/>
               <SalePriceWithoutYQAndYR amount="21486" currency="RUB"/>
               <SalePriceWithoutYR amount="21486" currency="RUB"/>
            </ext>
            <pricing paxCount="2">
               <ext>
                  <SalePriceWithoutYQ amount="21486" currency="RUB"/>
                  <SalePriceWithoutYQAndYR amount="21486" currency="RUB"/>
                  <SalePriceWithoutYR amount="21486" currency="RUB"/>
                  <pax adults="2"/>
               </ext>
            </pricing>
            <pricing paxCount="1">
               <ext>
                  <SalePriceWithoutYQ amount="16944" currency="RUB"/>
                  <SalePriceWithoutYQAndYR amount="16944" currency="RUB"/>
                  <SalePriceWithoutYR amount="16944" currency="RUB"/>
                  <pax children="1"/>
               </ext>
            </pricing>
            <pricing paxCount="1">
               <ext>
                  <SalePriceWithoutYQ amount="0" currency="RUB"/>
                  <SalePriceWithoutYQAndYR amount="0" currency="RUB"/>
                  <SalePriceWithoutYR amount="0" currency="RUB"/>
               </ext>
            </pricing>
         </solution>
         <slice>
            <segment arrival="2018-10-01T10:50+03:00" carrier="S7" departure="2018-10-01T09:35+08:00" destination="DME" duration="375" flight="S7777" origin="IKT"/>
         </slice>
         <slice>
            <segment arrival="2018-11-02T08:25+08:00" carrier="S7" departure="2018-11-01T21:50+03:00" destination="IKT" duration="335" flight="S7778" origin="DME"/>
         </slice>
      </itinerary>
      <itinerary>
         <solution id="UxsrXg8uPH4PSv0qwiXCPG003" saleTotal="RUB67628" preferredFareFamily="CHEAPEST FARE">
            <ext link="https://ibe.s7.ru/mseDeeplink.action?LAN=RU&partner=161b0f3d01&TA=2&TC=1&TI=1&SUP=SITA&CP=F&CUR=RUB&TF=67628&FLC=2&FSC1=2&FN1=3276&AC1=S7&DD1=2018-10-01&DT1=07:15:00&AD1=2018-10-01&AT1=08:45:00&DA1=IKT&AA1=OVB&SC1=Q&FN2=184&AC2=S7&DD2=2018-10-01&DT2=11:55:00&AD2=2018-10-01&AT2=12:10:00&DA2=OVB&AA2=DME&SC2=Q&FSC2=2&FN3=181&AC3=S7&DD3=2018-11-01&DT3=17:15:00&AD3=2018-11-02&AT3=01:20:00&DA3=DME&AA3=OVB&SC3=Q&FN4=3275&AC4=S7&DD4=2018-11-02&DT4=02:30:00&AD4=2018-11-02&AT4=06:00:00&DA4=OVB&AA4=IKT&SC4=Q&utm_campaign=ticket.yandex&utm_source=ticket.yandex&utm_medium=metasearch&FF1=B&FF2=B&FF3=B&FF4=B">
               <SalePriceWithoutYQ amount="24010" currency="RUB"/>
               <SalePriceWithoutYQAndYR amount="24010" currency="RUB"/>
               <SalePriceWithoutYR amount="24010" currency="RUB"/>
            </ext>
            <pricing paxCount="2">
               <ext>
                  <SalePriceWithoutYQ amount="24010" currency="RUB"/>
                  <SalePriceWithoutYQAndYR amount="24010" currency="RUB"/>
                  <SalePriceWithoutYR amount="24010" currency="RUB"/>
                  <pax adults="2"/>
               </ext>
            </pricing>
            <pricing paxCount="1">
               <ext>
                  <SalePriceWithoutYQ amount="19608" currency="RUB"/>
                  <SalePriceWithoutYQAndYR amount="19608" currency="RUB"/>
                  <SalePriceWithoutYR amount="19608" currency="RUB"/>
                  <pax children="1"/>
               </ext>
            </pricing>
            <pricing paxCount="1">
               <ext>
                  <SalePriceWithoutYQ amount="0" currency="RUB"/>
                  <SalePriceWithoutYQAndYR amount="0" currency="RUB"/>
                  <SalePriceWithoutYR amount="0" currency="RUB"/>
               </ext>
            </pricing>
         </solution>
         <slice>
            <segment arrival="2018-10-01T08:45+07:00" carrier="S7" departure="2018-10-01T07:15+08:00" destination="OVB" duration="150" flight="S73276" origin="IKT"/>
            <segment arrival="2018-10-01T12:10+03:00" carrier="S7" departure="2018-10-01T11:55+07:00" destination="DME" duration="255" flight="S7184" origin="OVB"/>
         </slice>
         <slice>
            <segment arrival="2018-11-02T01:20+07:00" carrier="S7" departure="2018-11-01T17:15+03:00" destination="OVB" duration="245" flight="S7181" origin="DME"/>
            <segment arrival="2018-11-02T06:00+08:00" carrier="S7" departure="2018-11-02T02:30+07:00" destination="IKT" duration="150" flight="S73275" origin="OVB"/>
         </slice>
      </itinerary>
      <itinerary>
         <solution id="UxsrXg8uPH4PSv0qwiXCPG004" saleTotal="RUB69272" preferredFareFamily="CHEAPEST FARE">
            <ext link="https://ibe.s7.ru/mseDeeplink.action?LAN=RU&partner=161b0f3d01&TA=2&TC=1&TI=1&SUP=SITA&CP=F&CUR=RUB&TF=69272&FLC=2&FSC1=1&FN1=777&AC1=S7&DD1=2018-10-01&DT1=09:35:00&AD1=2018-10-01&AT1=10:50:00&DA1=IKT&AA1=DME&SC1=S&FSC2=2&FN2=181&AC2=S7&DD2=2018-11-01&DT2=17:15:00&AD2=2018-11-02&AT2=01:20:00&DA2=DME&AA2=OVB&SC2=Q&FN3=3275&AC3=S7&DD3=2018-11-02&DT3=02:30:00&AD3=2018-11-02&AT3=06:00:00&DA3=OVB&AA3=IKT&SC3=Q&utm_campaign=ticket.yandex&utm_source=ticket.yandex&utm_medium=metasearch&FF1=B&FF2=B&FF3=B">
               <SalePriceWithoutYQ amount="24748" currency="RUB"/>
               <SalePriceWithoutYQAndYR amount="24748" currency="RUB"/>
               <SalePriceWithoutYR amount="24748" currency="RUB"/>
            </ext>
            <pricing paxCount="2">
               <ext>
                  <SalePriceWithoutYQ amount="24748" currency="RUB"/>
                  <SalePriceWithoutYQAndYR amount="24748" currency="RUB"/>
                  <SalePriceWithoutYR amount="24748" currency="RUB"/>
                  <pax adults="2"/>
               </ext>
            </pricing>
            <pricing paxCount="1">
               <ext>
                  <SalePriceWithoutYQ amount="19776" currency="RUB"/>
                  <SalePriceWithoutYQAndYR amount="19776" currency="RUB"/>
                  <SalePriceWithoutYR amount="19776" currency="RUB"/>
                  <pax children="1"/>
               </ext>
            </pricing>
            <pricing paxCount="1">
               <ext>
                  <SalePriceWithoutYQ amount="0" currency="RUB"/>
                  <SalePriceWithoutYQAndYR amount="0" currency="RUB"/>
                  <SalePriceWithoutYR amount="0" currency="RUB"/>
               </ext>
            </pricing>
         </solution>
         <slice>
            <segment arrival="2018-10-01T10:50+03:00" carrier="S7" departure="2018-10-01T09:35+08:00" destination="DME" duration="375" flight="S7777" origin="IKT"/>
         </slice>
         <slice>
            <segment arrival="2018-11-02T01:20+07:00" carrier="S7" departure="2018-11-01T17:15+03:00" destination="OVB" duration="245" flight="S7181" origin="DME"/>
            <segment arrival="2018-11-02T06:00+08:00" carrier="S7" departure="2018-11-02T02:30+07:00" destination="IKT" duration="150" flight="S73275" origin="OVB"/>
         </slice>
      </itinerary>
   </solutions>
</result>