HostCommand

HostCommand

Execution of a terminal command in the GDS.

Request

Format Description
  • Source - ID of the package of requisites (source) under which you want to execute the command. Data type - 32-bit integer.
  • SessionID - ID of the session within which the command is to be executed. Data type - string.
  • Command - executed command. Data type - string.
Sample
<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:HostCommand>
         <avia:Request>
          <stl:Requisites>
               <stl:AuthToken>token</stl:AuthToken>
            </stl:Requisites>
            <stl:UserID>11111</stl:UserID>
            <stl:RequestType>P</stl:RequestType>
            <stl:RequestBody>
               <avia:Source>-11111</avia:Source>
               <avia:SessionID>000AB302L9</avia:SessionID>
               <avia:Command>AAAAAA</avia:Command>
            </stl:RequestBody>
         </avia:Request>
      </avia:HostCommand>
   </soapenv:Body>
</soapenv:Envelope>

Response

Format Description
  • Response - result of the terminal command execution. Data type - string.
Sample
<Response> FAAAA </ Response>