Skip to main content

OpenManage Enterprise 3.10 RESTful API Guide

PDF

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
    }
  ]
}

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\