API Guide

/api/GroupService/Groups(Id)/GroupHierarchy
This URI represents the hierarchy of the subgroup within a group.
GET method for GroupHierarchy
This method returns the hierarchy of the subgroups within a group.
Description Returns the hierarchy of the subgroups.
Privilege VIEW
HTTP response
codes
200
Example
Input:
Output:
{
"@odata.context": "$metadata#Collection(GroupService.GroupHierarchy)",
"@odata.count": 1,
"value": [
{
"ParentGroupId": 64,
"ChildGroupId": 19164
}
]
}
Table 94. Attributes
Attribute name Description
Id ID of the group.
ParentGroupId ID of the parent group.
ChildGroupId ID of the subgroup within the group.
/api/GroupService/GroupTypes
This URI represents the group types.
GET method for GroupTypes
This method returns a list of all the group types.
Description
Returns all the group types.
Privilege VIEW
HTTP response
codes
200
Example
Input:
Output:
{
"@odata.context": "$metadata#Collection(GroupService.GroupType)",
"@odata.count": 5,
"value": [
{
"@odata.id": "/api/GroupService/GroupTypes(1000)",
"Id": 1000,
220 Groups