Statically assign list of devices to a group (devices are listed by device IDs or IPs). Only Location and 'User Defined' Device groups are supported.
Since Product Version: 3.0
Resource URL
/webacs/api/v1/op/groups/groupDevicesRequest Parameters
Type | Attribute Name | Source | Description |
---|---|---|---|
Long |
groupId required |
query |
Id of the group. Either groupId or groupPath must be specified. |
String |
groupPath required |
query |
Full path and name of the group. Either groupId or groupPath must be specified. |
Request Payload Parameters
Type | Attribute Name | Description |
---|---|---|
Long[] |
deviceIds |
|
String[] |
deviceIps |
|
Sample Payloads
Sample payloads are for information only. They are automatically generated and the values included may not be representative of actual valid data values.
Sample XML Request Payload
https://172.25.123.114/webacs/api/v1/op/groups/groupDevices
<?xml version="1.0" ?> <groupDevicesDTO> <deviceIds> <deviceId>15</deviceId> </deviceIds> <deviceIps> <deviceIp>String value</deviceIp> </deviceIps> </groupDevicesDTO>
Sample JSON Request Payload
https://172.25.123.114/webacs/api/v1/op/groups/groupDevices.json
{ "groupDevicesDTO" : { "deviceIds" : { "deviceId" : 15 }, "deviceIps" : { "deviceIp" : "String value" } } }