deviceResponse Type

deviceResponse is returned for all device operations except getList and getListRemote.

deviceResponse always contains the following common elements:

  • authToken
  • resultCount
  • statusCode
  • statusMessage
  • summaryOnly

If resultCount is 1 and statusCode is 2000 (successful), the resultSet element is included after resultCount listing the following device details:

  • applianceIp
  • applianceName
  • description
  • deviceId
  • deviceIp
  • deviceName
  • deviceType
  • dnsRefreshEnabled
  • enabled
If resultCount is 0 and statusCode is not 2000 (successful), an error is returned in statusMessage.

Example

SOAP Response for deviceResponse Type:
one example for the response

<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:createDeviceResponse xmlns:ns="DeviceService">
         <ns:return xsi:type="ax215:DeviceResponse" xmlns:ax215="http://device.services.logapp.loglogic.com/xsd" xmlns:ax216="http://services.logapp.loglogic.com/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <ax216:authToken xsi:nil="true"/>
            <ax216:resultCount>1</ax216:resultCount>
            <ax216:statusCode>2000</ax216:statusCode>
            <ax216:statusMessage>Successful</ax216:statusMessage>
            <ax216:summaryOnly>false</ax216:summaryOnly>
            <ax215:resultSet xsi:type="ax215:DeviceDetail">
               <ax215:applianceIp>127.0.0.1</ax215:applianceIp>
               <ax215:applianceName>localhost</ax215:applianceName>
               <ax215:description>TEST</ax215:description>
               <ax215:deviceId>9187343239835811850</ax215:deviceId>
               <ax215:deviceIp>1.1.1.2</ax215:deviceIp>
               <ax215:deviceName>Test123</ax215:deviceName>
               <ax215:deviceType>Cisco ASA</ax215:deviceType>
               <ax215:dnsRefreshEnabled>yes</ax215:dnsRefreshEnabled>
               <ax215:enabled>enabled</ax215:enabled>
            </ax215:resultSet>
         </ns:return>
      </ns:createDeviceResponse>
   </soapenv:Body>
</soapenv:Envelope>