Query groups
The interface will return all group names under the current account
for example: http://api.shinemonitor.com/public/?sign=7f220b6f21d0b52d0452d9c66ffe1f4f84635b81&salt=2337424845041575962&token=91a6c87e89acbfb2fa482f3b02ee071ee58ea0293dd92f243a88ee51415f497f&action=queryAccountGroup&source=0&_app_client_=android&_app_id_=com.demo.test&_app_version_=3.6.2.1
Parameter |
Description |
Required |
action |
queryAccountGroup |
True |
page |
Paging processing, page number, starting from 0. If this parameter is not passed, it is defaulted to 0 |
False |
pagesize |
Paging processing, with 1 to 50 records per page. If this parameter is not passed, it defaults to 1 |
False |
response:
Parameter |
Description |
Required |
group[x].id |
Group id |
True |
group[x].name |
Group name |
True |
group[x].desc |
Group description |
False |
group[x].memberCount |
Number of members |
True |
Multiple groups are always returned in the dictionary order of group names
{
"err":0,
"desc":"ERR_NONE",
"dat":{
"group":[
{
"id":"597f1fa2849cac1dcc86f50d",
"name":"group00",
"desc" : "深圳市",
"memberCount":1
}
]
}
}
Possible errors:
Response error code |
Description |
Details |
0x0171 |
ERR_NOT_FOUND_USR_GROUP |
Unable to find user group |