API Guide

Table Of Contents
/api/GroupService/AllGroupsHierarchy
This URI represents the hierarchy of all the groups and subgroups.
GET method for AllGroupsHierarchy
This method returns the hierarchy of all the groups and subgroups.
Description Returns the hierarchy of all the groups and subgroups.
Privilege VIEW
HTTP response
codes
200
Example
response body
{
"@odata.context": "$metadata#Collection(GroupService.GroupHierarchy)",
"@odata.count": 4,
"value": [
{
"ParentGroupId": 0,
"ChildGroupId": 64
},
{
"ParentGroupId": 0,
"ChildGroupId": 114
},
{
"ParentGroupId": 0,
"ChildGroupId": 2614
},
{
"ParentGroupId": 64,
"ChildGroupId": 19164
}
]
}
/api/GroupService/Actions/
GroupService.AddMemberDevices
POST method for GroupService.AddMemberDevices
This method adds a device as a member to a group.
Description
Adds a device to a group.
Privilege DEVICE_CONFIGURATION
HTTP response
codes
201
Example request
body
{
"GroupId": 100,
"MemberDeviceIds" : [1414, 1464, 1214, 1264]
}
Groups 333