POST apimobileoauth/mobile/mobilemultiplegroup
Get multiple groups for a user
Request Information
URI Parameters
None.
Body Parameters
OAuthMobileMultipleGroupRequest
OAuthMobileMultipleGroupRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| GroupIDs |
A collection of group ids to query or send empty if you want the groups a user can see directly |
Collection of unsigned integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"GroupIDs": [
1,
2
]
}
application/xml, text/xml
Sample:
<OAuthMobileMultipleGroupRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<GroupIDs>
<unsignedLong>1</unsignedLong>
<unsignedLong>2</unsignedLong>
</GroupIDs>
</OAuthMobileMultipleGroupRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
A list of MobileGroupResponse
Collection of MobileGroupResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ID |
The unique id of the group |
unsigned integer |
None. |
| Name |
The name of the group |
string |
None. |
| ParentID |
The parent group id |
unsigned integer |
None. |
| HasGroups |
Indicates if there are child groups |
boolean |
None. |
| NumberOfServices |
The number of services in a group |
integer |
None. |
| NumberOfAssets |
The number of assets in a group |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ID": 1,
"Name": "sample string 2",
"ParentID": 3,
"HasGroups": true,
"NumberOfServices": 5,
"NumberOfAssets": 6
},
{
"ID": 1,
"Name": "sample string 2",
"ParentID": 3,
"HasGroups": true,
"NumberOfServices": 5,
"NumberOfAssets": 6
}
]
application/xml, text/xml
Sample:
<ArrayOfMobileGroupResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<MobileGroupResponse>
<ID>1</ID>
<Name>sample string 2</Name>
<ParentID>3</ParentID>
<HasGroups>true</HasGroups>
<NumberOfServices>5</NumberOfServices>
<NumberOfAssets>6</NumberOfAssets>
</MobileGroupResponse>
<MobileGroupResponse>
<ID>1</ID>
<Name>sample string 2</Name>
<ParentID>3</ParentID>
<HasGroups>true</HasGroups>
<NumberOfServices>5</NumberOfServices>
<NumberOfAssets>6</NumberOfAssets>
</MobileGroupResponse>
</ArrayOfMobileGroupResponse>