API Guide

Groups
/api/GroupService/Groups
This URI represents the groups.
GET method for Groups
This method returns a list of groups.
Description Returns a list of groups.
Privilege VIEW
HTTP response
codes
200
Example response
body
{
"@odata.context": "$metadata#Collection(GroupService.Group)",
"@odata.count": 1,
"value": [
{
"@odata.id": "/api/GroupService/Groups(64)",
"Id": 64,
"Name": "All Devices",
"Description": "Group associated to all devices.",
"GlobalStatus": 5000,
"ParentId": 0,
"CreationTime": "2017-06-08 18:48:27.069",
"UpdatedTime": "2017-06-08 21:05:01.778",
"CreatedBy": "system",
"UpdatedBy": "",
"Visible": true,
"DefinitionId": 500,
"DefinitionDescription": "Root group for all Types of Devices.",
"TypeId": 2000,
"MembershipTypeId": 24,
"Devices": [
{
"@odata.id": "/api/GroupService/Groups(64)/Devices"
}
],
"AllLeafDevices": [
{
"@odata.id": "/api/GroupService/Groups(64)/AllLeafDevices"
}
],
"GroupHierarchy": [
{
"@odata.id": "/api/GroupService/Groups(64)/GroupHierarchy"
}
],
"SubGroups": [
{
"@odata.id": "/api/GroupService/Groups(64)/SubGroups"
}
],
"GroupDevicesSummary": [
{
"@odata.id": "/api/GroupService/Groups(64)/GroupDevicesSummary"
}
9
248 Groups