POST https://qw-openapi-tx.dustess.com/customer/v1/recordTemplateList?accessToken=
Content-Type: application/json| 字段 | 类型 | 描述 | 是否必须 |
|---|---|---|---|
| accessToken | String | accessToken | true |
| 请求参数名 | 类型 | 说明 | 是否必须 |
|---|---|---|---|
| enable | Int | 模版状态,不传查所有(0-全部 1-启用 2-禁用) | false |
json - Request-Example:
{
"enable":1
}| 响应参数名 | 类型 | 说明 |
|---|---|---|
| code | Int | 响应码 |
| msg | String | 消息提示 |
| success | Bool | 成功标识 |
| data | Object[] | 响应码 |
| data._id | String | 跟进类型id |
| data.enable | Bool | 是否启用 |
| data.remark | String | 展示名称 |
| trace_id | String | 跟踪id |
{
"success": true,
"msg": "",
"data": [{
"enable": true,
"id": "doorVisit",
"remark": "上门拜访"
}, {
"enable": true,
"id": "callVisit",
"remark": "电话拜访"
}, {
"enable": true,
"id": "chartVisit",
"remark": "企微聊天"
}],
"trace_id": "7e2ab1c19b2f6598"
}{
"success": false,
"code": 40020,
"msg": "param enable error ex:0|1|2",
"data": {},
"trace_id": ""
}