You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

On Monday, 2018-02-26, changes of reprice operation will be implemented to all versions of the S7 NDC API on both environments.

Submitting request

ItinReshopRQ/ Query/ Reshop/ Actions/ OrderItems/ OrderItem/ FlightItem/ OriginDestination/ Flight/ OperatingCarrier/

  • AirlineID – mandatory field (previously it was optional). Operating carrier IATA airline ID.
<Flight>
               <SegmentKey>FL1</SegmentKey>
               <Departure>
                              <AirportCode>OVB</AirportCode>
                              <Date>2018-04-20</Date>
                              <Time>00:00</Time>
               </Departure>
               <Arrival>
                              <AirportCode>DME</AirportCode>
                              <Date>2018-04-20</Date>
                              <Time>00:00</Time>
               </Arrival>
               <MarketingCarrier>
                              <AirlineID>S7</AirlineID>
                              <FlightNumber>179</FlightNumber>
               </MarketingCarrier>
               <OperatingCarrier>
                              <AirlineID>S7</AirlineID>
               </OperatingCarrier>
</Flight>


  • FlightNumber – mandatory field in case when operating carrier isn't S7/GH (previously it was optional). Operating carrier flight number.
<Flight>
               <SegmentKey>FL1</SegmentKey>
               <Departure>
                              <AirportCode>MSQ</AirportCode>
                              <Date>2018-04-20</Date>
                              <Time>15:05</Time>
               </Departure>
               <Arrival>
                              <AirportCode>DME</AirportCode>
                              <Date>2018-04-20</Date>
                              <Time>20:35</Time>
               </Arrival>
               <MarketingCarrier>
                              <AirlineID>S7</AirlineID>
                              <FlightNumber>4503</FlightNumber>
               </MarketingCarrier>
               <OperatingCarrier>
                              <AirlineID>B2</AirlineID>
                              <FlightNumber>988</FlightNumber>
               </OperatingCarrier>
</Flight>


Handling responses

  • AirlineID
<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:Errors>
                                                           <ns3:Error Type="101" Status="Incomplete" Owner="S7 NDC API">Flight property operatingCarrier_airlineID is mandatory field</ns3:Error>
                                                           <ns3:Error Type="MSG">System validation error. Please, check your request</ns3:Error>
                                            </ns3:Errors>
                              </ns3:ItinReshopRS>
               </ns2:Body>
</ns2:Envelope>
  • FlightNumber
<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:Errors>
                                                           <ns3:Error Type="101" Status="Incomplete" Owner="S7 NDC API">Flight property operatingCarrier_flightNumber is mandatory field</ns3:Error>
                                                           <ns3:Error Type="MSG">System validation error. Please, check your request</ns3:Error>
                                            </ns3:Errors>
                              </ns3:ItinReshopRS>
               </ns2:Body>
</ns2:Envelope>

  • No labels