API Guide
/api/GroupService/MembershipTypes(Id)
This URI represents a specific membership type within the collection.
GET method for MembershipTypes(Id)
This method returns the details of a specific membership type.
Description Returns the details of a specific membership type.
Privilege VIEW
HTTP response
codes
200
Example response
body
{
"@odata.context": "$metadata#GroupService.MembershipType/$entity",
"@odata.id": "/api/GroupService/MembershipTypes(12)",
"Id": 12,
"Name": "Static",
"Description": "Static type"
}
Table 113. Attributes
Attribute name Description
Id ID of the membership type.
Name Name of the membership type.
Description Description of the membership type.
/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,
296 Groups