group-management/fetch-all-group-lists
Description
- Fetch a comprehensive list of all groups, encompassing Enterprise WeChat groups.
- 参考获取数据库信息
Request URL
http://127.0.0.1:8888/api/
Request Method
Parameters
Parameter Name | Required | Parameter Type | Description |
---|
type | Yes | int | API ID |
dbName | No | string | 数据库名称,优先级低于dbHandle |
dbHandle | No | int | 数据库句柄,优先级高于dbName |
sql | Yes | string | sql |
Request Example
获取群
Type=2050 则表示为企业群
{
"type": 10058,
"dbName": "MicroMsg.db",
"sql": "SELECT UserName,Remark, NickName,PYInitial,RemarkPYInitial,Type FROM Contact t1 WHERE t1.Type in(2,2050);"
}
Return Example
{
"data": {
"status": 0,
"desc": "",
}
}
Return Parameter Description
Parameter Name | Parameter Type | Description |
---|
error_code | int | Error code |
description | string | Error Description |
data | json | Business data |