Statically assign list of devices to given group. Only Location and Network 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 |
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://192.168.115.187/webacs/api/v1/op/groups/groupDevices
XML<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <groupDevicesDTO> <deviceIds> <deviceId>15</deviceId> </deviceIds> </groupDevicesDTO>
Sample JSON Request Payload
https://192.168.115.187/webacs/api/v1/op/groups/groupDevices.json
{ "groupDevicesDTO" : { "deviceIds" : { "deviceId" : 15 } } }