updateDeviceGroup Operation

With updateDeviceGroup operation you can update the configuration of an existing device group.

Request Parameters

authToken, deviceGroupName, description, groupType, enabled, deviceNames, changeNameTo

If deviceNames is empty, the group devices are unchanged. If deviceNames are specified, the devices in the given device list overrides the devices of the group.

Response

deviceResponse (see deviceGroupResponse Type)

Example

SOAP request for updateDeviceGroup Operation:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dev="DeviceGroupService">
   <soapenv:Header/>
   <soapenv:Body>
      <dev:updateDeviceGroup>
         <!--Optional:-->
         <dev:authToken>admin/admin123</dev:authToken>
         <!--Optional:-->
         <dev:deviceGroupName>local_test_dg1</dev:deviceGroupName>
         <!--Optional:-->
         <dev:description>update</dev:description>
         <!--Optional:-->
         <dev:enabled>yes</dev:enabled>
         <!--Optional:-->
         <dev:deviceNames>::ffff:10.114.81.42_otherUnix</dev:deviceNames>
         <!--Optional:-->
         <dev:changeNameTo>local_dg1_update</dev:changeNameTo>
      </dev:updateDeviceGroup>
   </soapenv:Body>
</soapenv:Envelope>

SOAP response for updateDeviceGroup Operation:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:updateDeviceGroupResponse xmlns:ns="DeviceGroupService">
         <ns:return xsi:type="ax211:DeviceGroupResponse" xmlns:ax211="http://devicegroup.services.logapp.loglogic.com/xsd" xmlns:ax212="http://services.logapp.loglogic.com/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <ax212:authToken xsi:nil="true"/>
            <ax212:resultCount>1</ax212:resultCount>
            <ax212:statusCode>2000</ax212:statusCode>
            <ax212:statusMessage>Successful</ax212:statusMessage>
            <ax212:summaryOnly>false</ax212:summaryOnly>
            <ax211:resultSet xsi:type="ax211:DeviceGroupDetail">
               <ax211:description>update</ax211:description>
               <ax211:deviceGroupName>local_dg1_update</ax211:deviceGroupName>
               <ax211:devices>127.0.0.1/::ffff:10.114.81.42_otherUnix</ax211:devices>
               <ax211:enabled>enabled</ax211:enabled>
               <ax211:groupType>local</ax211:groupType>
            </ax211:resultSet>
         </ns:return>
      </ns:updateDeviceGroupResponse>
   </soapenv:Body>
</soapenv:Envelope>