文档
测试

数据列表16883

GET
/api/agencies/report/quality

请求参数

参数名
类型
描述
必填
agencyId
Long
必填。服务商ID
必填
from
String
必填。开始时间,例如:2020-07-01
必填
to
String
必填。结束时间,例如:2020-07-31
必填
requestType
String
必填。请求图表类型。详情请见下面说明,对应各种图表有相应值。
必填
sAgencyId
Long[]
选填。服务商ID,多选,数组类型
可选
personId
Long
选填。师傅ID,单选
可选
regionIds
Long[]
选填。省市区ID,多选,数组类型
可选

响应参数

参数名
类型
描述
必填
target
String
项目类型
必填
datapoints
数组
【具体数据,毫秒时间戳】
必填

说明 / 示例

**特别说明requestType** ``` QUALITY_AGENCY("服务商服务品质【数据统计TABLE】"), QUALITY_CITY("区域服务质量【数据统计TABLE】"), QUALITY_PERSON("师傅服务品质【数据统计TABLE】"), ``` **表格都是按以下格式返回数据:** ``` [ { "columns":[ {"text":"Time","type":"time"}, {"text":"Country","type":"string"}, {"text":"Number","type":"number"} ], "rows":[ [1234567,"SE",123], [1234567,"DE",231], [1234567,"US",321] ], "type":"table" } ] ``` **以下是接口真实请求返回数据:** ``` [{ "columns": [{ "text": "省", "type": "string" }, { "text": "市", "type": "string" }, { "text": "服务商", "type": "string" }, { "text": "订单总量", "type": "number" }, { "text": "订单合格率", "type": "number" }, { "text": "首派接单率", "type": "number" }, { "text": "放空单量", "type": "number" }, { "text": "放空率", "type": "number" }, { "text": "催单率", "type": "number" }, { "text": "app接单率", "type": "number" }, { "text": "6分钟派单率", "type": "number" }, { "text": "平均派工时长", "type": "string" }, { "text": "30分钟到勘率", "type": "number" }, { "text": "40分钟到勘率", "type": "number" }, { "text": "平均到勘时长", "type": "string" }, { "text": "投诉率", "type": "number" }, { "text": "平安聚合单量", "type": "number" }, { "text": "平安聚合率", "type": "number" }, { "text": "平安聚合成功单量", "type": "number" }, { "text": "平安聚合成功率", "type": "number" }, { "text": "平安聚合单平均到勘时长", "type": "string" }, { "text": "平安聚合单24分钟到勘率", "type": "number" } ], "rows": [ [ "重庆市", "重庆市", "重庆畅通汽车经纪有限公司", 608, 97.36408566721582, 100, 13, 2.138157894736842, 1.6717325227963524, 94.24342105263158, 48.88475836431227, "02:49:31", 16.508538899430743, 25.23719165085389, "04:37:58", 0, 137, 45.25547445255474, 58, 48.275862068965516, "00:38:13", 29.411764705882355 ] ], "type": "table" }] ```