用户权限
Path:/third_api/users/import_modules
Method:POST
接口描述:
- 用户权限
Header 参数说明
| 参数名称 | 参数值 | 必填 | 备注 |
|---|---|---|---|
| Content-Type | application/json | 是 | 数据类型 |
| Access-Token | **** | 是 | 励销云为每个平台单独颁发唯一Token;通过申请人邮件发送 |
| Company-Code | **** | 是 | 企业/账号绑定标识 |
Body 参数说明
| 参数名称 | 类型 | 必填 | 备注 |
|---|---|---|---|
| operator_id | String | 是 | 第三方账号标识 |
返回数据
{
"code": 0,
"success": true,
"message": "接口请求成功",
"data": {
"available_modules": [
{
"entity_type": "OutboundTask",
"entity_label": "创建外呼任务"
},
{
"entity_type": "Lead",
"entity_label": "线索"
},
{
"entity_type": "LeadCommon",
"entity_label": "线索池",
"options": [
{
"id": 1,
"name": "线索池"
},
{
"id": 2,
"name": "线索池1"
},
{
"id": 3,
"name": "线索池2"
},
{
"id": 4,
"name": "ceshi11"
},
{
"id": 5,
"name": "ceshi11222"
},
{
"id": 6,
"name": "a1"
}
]
},
{
"entity_type": "Customer",
"entity_label": "客户"
},
{
"entity_type": "CustomerCommon",
"entity_label": "客户公海",
"options": [
{
"id": 1,
"name": "客户公海"
},
{
"id": 2,
"name": "001"
}
]
}
]
}
}
返回 参数说明
| 参数名称 | 类型 | 必需 | 备注 |
|---|---|---|---|
| code | Integer | 状态码 | |
| success | Boolean | ||
| message | String | 成功/错误描述 | |
| data | Object | ||
| ├─ available_modules | Array | 可转入的模块 | |
| ├─ ─ entity_type | String | 模块 | |
| ├─ ─ entity_label | String | 模块显示名 | |
| ├─ ─ options | Array | 线索池/公海列表 | |
| ├─ ─ ─ id | Integer | 线索池/公海id | |
| ├─ ─ ─ name | String | 线索池/公海名 |
文档更新时间: 2025-09-23 15:23 作者:胡强