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

  • POST

Parameters

Parameter NameRequiredParameter TypeDescription
typeYesintAPI ID
dbNameNostring数据库名称,优先级低于dbHandle
dbHandleNoint数据库句柄,优先级高于dbName
sqlYesstringsql

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 NameParameter TypeDescription
error_codeintError code
descriptionstringError Description
datajsonBusiness data

Remark