GetRoutingGrid

GetRoutingGrid

Getting the airline's routing grid.

Request

Format Description
  • SourceID - ID of the package for which the routing grid will be searched. Data type - 32-bit integer.
  • AirlineCode - airline code for which the routing grid will be searched. Data type - string.
  • DepthLimit - limiting the length of the route at constructing a routing grid (with a value of zero or one, the construction will not be performed - the route grid from the vendor will be displayed). Data type - 32-bit integer.
  • AllowAirportChange - allow airport change (transfer) at the point of the route. Data type - bool. Optional. Default value: false.
Samples
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:avia="http://ws-ibe.com/Avia" xmlns:stl="http://ws-ibe.com/STL">
   <soapenv:Header/>
   <soapenv:Body>
      <avia:GetRoutingGrid>
         <avia:Request>
            <stl:Requisites>
               <stl:AuthToken>token</stl:AuthToken>
            </stl:Requisites>
            <stl:UserID>1111111</stl:UserID>
            <stl:RequestType>P</stl:RequestType>
            <stl:RequestBody>
               <avia:SourceID>-11111</avia:SourceID>
               <avia:AirlineCode>AY</avia:AirlineCode>
               <avia:DepthLimit>0</avia:DepthLimit>
               <avia:AllowAirportChange>false</avia:AllowAirportChange>
            </stl:RequestBody>
         </avia:Request>
      </avia:GetRoutingGrid>
   </soapenv:Body>
</soapenv:Envelope>

Response

Format Description
  • RoutingGrid - list of elements with information about the routes. Data type - array.
  • RoutingGrid.Routes - list of routes. Data type - array.
  • RoutingGrid.Routes.Departure - point of departure. Data type - array.
  • RoutingGrid.Routes.Departure.Code - airport code of departure point. Data type - string.
  • RoutingGrid.Routes.Departure.CityCode - city code of the departure point. Data type - string.
  • RoutingGrid.Routes.Arrival - list of arrival points. Data type - array.
  • RoutingGrid.Routes.Arrival.Route - arrival point of the route. Data type - array.
  • RoutingGrid.Routes.Arrival.IsDirect - attribute of a direct route. Data type - bool.
  • RoutingGrid.Routes.Arrival.ArrPoint - arrival point of the route. Data type - array.
  • RoutingGrid.Routes.Arrival.ArrPoint.Code - arrival point airport code. Data type - string.
  • RoutingGrid.Routes.Arrival.ArrPoint.CityCode - arrival point city code. Data type - string.
Samples
<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Body>
    <GetRoutingGridResponse xmlns="http://ws-ibe.com/Avia">
      <GetRoutingGridResult xmlns:a="http://ws-ibe.com/STL" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
        <a:RequestID>100056455</a:RequestID>
        <a:ResponseBody>
          <RoutingGrid>
            <Routes>
              <Departure>
                <a:Code>PAR</a:Code>
                <a:CityCode>PAR</a:CityCode>
              </Departure>
              <Arrival>
                <Route>
                  <IsDirect>true</IsDirect>
                  <ArrPoint>
                    <a:Code>BCN</a:Code>
                    <a:CityCode>BCN</a:CityCode>
                  </ArrPoint>
                </Route>
                <Route>
                  <IsDirect>true</IsDirect>
                  <ArrPoint>
                    <a:Code>HEL</a:Code>
                    <a:CityCode>HEL</a:CityCode>
                  </ArrPoint>
                </Route>
              </Arrival>
            </Routes>
            <Routes>
              <Departure>
                <a:Code>BCN</a:Code>
                <a:CityCode>BCN</a:CityCode>
              </Departure>
              <Arrival>
                <Route>
                  <IsDirect>true</IsDirect>
                  <ArrPoint>
                    <a:Code>CDG</a:Code>
                    <a:CityCode>PAR</a:CityCode>
                  </ArrPoint>
                </Route>
                <Route>
                  <IsDirect>true</IsDirect>
                  <ArrPoint>
                    <a:Code>HEL</a:Code>
                    <a:CityCode>HEL</a:CityCode>
                  </ArrPoint>
                </Route>
                <Route>
                  <IsDirect>false</IsDirect>
                  <ArrPoint>
                    <a:Code>FRA</a:Code>
                    <a:CityCode>FRA</a:CityCode>
                  </ArrPoint>
                </Route>
              </Arrival>
            </Routes>
          </RoutingGrid>
        </a:ResponseBody>
      </GetRoutingGridResult>
    </GetRoutingGridResponse>
  </s:Body>
</s:Envelope>