GET api/mobile/mobilegroup/{userID}/{token}/{groupID}
Get groups for a user
Request Information
URI Parameters
| Name | Description | Type | Additional information | 
|---|---|---|---|
| userID | 
                         The ID returned from a successful login  | 
                    unsigned integer | 
                                 Required  | 
                
| token | 
                         The authentication token returned from a successful login  | 
                    string | 
                                 Required  | 
                
| groupID | 
                         The group id being queried  | 
                    unsigned integer | 
                                 Default value is 0  | 
                
Body Parameters
None.
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>