投诉单查看回访记录
接口说明
查询指定投诉单的回访记录列表,数据来自投诉单 visit 字段(JSON 数组)。若无记录或字段为空,返回空数组(旧版页面为字符串 no,开放平台统一为数组便于解析)。
仅允许查询当前登录工厂下、与经销商关联的投诉单。
请求信息
请求 URL:
http://lbl-open.thinkerx.com/api/lbl/after-sales/complaints/{complaint_id}/visit-records请求方式:
GETContent-Type:
application/json(login_token可放在 query)
请求参数
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| login_token | 是 | string | 通行证 |
| complaint_id | 是 | int | 路径参数,投诉单 id |
返回示例
{
"status": 0,
"message": "ok",
"data": {
"complaint_id": 1,
"visit": [
{
"name": "admin",
"content": "已电话回访,客户满意",
"time": "2026-05-06 15:00:00"
}
]
}
}无回访记录时 visit 为 []。
返回参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| data.complaint_id | int | 投诉单 id |
| data.visit | array | 回访记录列表,每项含 name(回访人)、content(内容)、time(时间) |
