POST v1/insGroupOfDevice
Request Information
URI Parameters
None.
Body Parameters
GroupOfDeviceNew| Name | Description | Type | Additional information |
|---|---|---|---|
| name |
Назва групи |
string |
Required |
| deviceIDs |
Масив ID регіонів |
Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"name": "sample string 1",
"deviceIDs": [
1,
2
]
}
Response Information
Resource Description
ModelIns| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
ID новоствореного об'єкта |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1
}