- 开发指南
- 基础接口
- 客户设置
- 消息推送
- 客户&线索&待分配
- 公海
- 企微组织架构
- 企微标签库
- 企业
- 合同
- 电商平台
- 营销
- 营销内容
- 企微获客
- 渠道活码
- 一客一码
- 问答库
- 获客活动
- 数据统计
- 内容访客
- 电销手机
- SOP任务
- 群发消息
- 管控
- 工单
- 素材
- 应用通知
- 附录
- 群数据
- 店主活码
层级展示分组
POST
/api/v3/faqApi/group/listByRange
请求参数
Header 参数
appId
string
应用 appId
默认值:
{{appId}}
timestamp
string
请求时间戳
默认值:
{{timestamp}}
sign
string
请求消息签名值
默认值:
{{sign}}
appKey
string
应用 appKey
默认值:
{{appKey}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v3/faqApi/group/listByRange' \
--header 'appId;' \
--header 'timestamp;' \
--header 'sign;' \
--header 'appKey: {{appKey}}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
message
string
必需
data
array [object {17}]
必需
id
integer
分组id
corpid
string
应用appid
name
string
分组名称
parentId
integer
父分组id
topLevelId
integer
一级分组id
level
string
分组路径
num
integer
排序
auth
integer
是否为公共分组
deleted
integer
删除标志
editable
boolean
编辑标志
departments
array[string]
生效部门列表
users
array[string]
生效用户列表
children
array [object {17}]
子分组
updateAuth
integer
是否可编辑
reachesUpId
null
上级分组id
reachesUpLevel
null
上级分组路径
gmtSyncTime
string | null
上次同步时间
示例
{
"code": 0,
"message": "success",
"data": [
{
"id": 905,
"corpid": "ww9c5530210a0d5116",
"name": "问题内容长度超过个字问题内容长度超过个字问题内容长度超过个字问题内容长度超过个字问题内容长度超过个字",
"parentId": 0,
"topLevelId": 905,
"level": "0.905.",
"num": 59,
"auth": 0,
"deleted": 0,
"editable": true,
"departments": [],
"users": [],
"children": [
{
"id": 1475,
"corpid": "ww9c5530210a0d5116",
"name": "123",
"parentId": 905,
"topLevelId": 905,
"level": "0.905.1475.",
"num": 1,
"auth": 0,
"deleted": 0,
"editable": true,
"departments": [],
"users": [],
"children": [],
"updateAuth": 1,
"reachesUpId": null,
"reachesUpLevel": null,
"gmtSyncTime": null
}
],
"updateAuth": 1,
"reachesUpId": null,
"reachesUpLevel": null,
"gmtSyncTime": null
},
{
"id": 1170,
"corpid": "ww9c5530210a0d5116",
"name": "郑斌测试重名二",
"parentId": 0,
"topLevelId": 1170,
"level": "0.1170.",
"num": 70,
"auth": 0,
"deleted": 0,
"editable": true,
"departments": [],
"users": [],
"children": [
{
"id": 1173,
"corpid": "ww9c5530210a0d5116",
"name": "重名了",
"parentId": 1170,
"topLevelId": 1170,
"level": "0.1170.1173.",
"num": 1,
"auth": 0,
"deleted": 0,
"editable": true,
"departments": [],
"users": [],
"children": [],
"updateAuth": 1,
"reachesUpId": null,
"reachesUpLevel": null,
"gmtSyncTime": null
}
],
"updateAuth": 1,
"reachesUpId": null,
"reachesUpLevel": null,
"gmtSyncTime": "2022-03-21 16:49:27"
},
{
"id": 1189,
"corpid": "ww9c5530210a0d5116",
"name": "郑斌测试修改",
"parentId": 0,
"topLevelId": 1189,
"level": "0.1189.",
"num": 75,
"auth": 0,
"deleted": 0,
"editable": true,
"departments": [],
"users": [],
"children": [],
"updateAuth": 1,
"reachesUpId": null,
"reachesUpLevel": null,
"gmtSyncTime": "2022-03-22 19:06:30"
},
{
"id": 1472,
"corpid": "ww9c5530210a0d5116",
"name": "大的",
"parentId": 0,
"topLevelId": 1472,
"level": "0.1472.",
"num": 76,
"auth": 0,
"deleted": 0,
"editable": true,
"departments": [],
"users": [],
"children": [],
"updateAuth": 1,
"reachesUpId": null,
"reachesUpLevel": null,
"gmtSyncTime": null
}
]
}
修改于 2023-08-15 11:50:58