发布检测报告
背景介绍
检测流程中,在检测项目列表中,选择某个检测项目,就进入到具体的检测流程。此检测流程会首先罗列所有需要操作的检测模块。点击某个检测模块,比如“机舱初检”,就会打开对应的检测项列表,如下图所示:

在检测项列表页面,完成一个检测点的检测后,点击“提交报告”按钮,就可以更新此检测模块。
当所有的检测模块都完成检测后,页面中的红色感叹号都变成绿色,就可以点击页面下方的“提交报告”按钮,如下图所示:

请求地址
环境
HTTPS请求地址
国内沙盒环境
https://cnopenapi.autox3.com/openapi/api-v1/rest
国内生产环境
https://cnopengateway.autox3.com/openapi/api-v1/rest
其他国家环境
略
请求参数
名称
子项
是否必填
长度
类型
说明
示例值
method
是
64
String
方法名
autox3.order.
detection.report.
create
content
是
--
String
请求接口内容字符串JSON
inspectionOrderId
是
64
String
开放平台检测单Id
35890
technicianId
否
64
String
检测人员id
8922332
technicianUrl
否
255
String
检测人员图像
https://a.com/b.jpg
technicianName
否
64
String
检测姓名
技师张
technicianMobile
否
64
String
检测人员手机号
13609889990
请求命令(以curl命令为例)示例如下:
curl 'https://jiqunwww.autox3.com/openapi/api-v1/rest' \
-H "accept: */*" \
-H "Authorization: eyJhbGciOiJIUzUxMiJ9.eyJpc09wZW5BcGkiOnRydWUsInN1YiI6IkFLNTg3OEE3QUI4NEZCNDM0MCIsImV4cCI6MTYyODk1ODQ3MCwiY3JlYXRlZCI6MTYyODA5NDQ3MDczMSwiYnJhbmRJZCI6MTY3fQ.zL8TYzVRpP3OPlnUDdyDeKhEUyrUYhiKUmKW7jb7AB8n2XEq6sFpnE8Q03FZdVeWW_LD9VeE4HBEXKpxup9pkA" \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Mechanic-Mobile: 170267' \
--data-raw '{"method": "autox3.order.detection.report.create",
"content":"{\"inspectionOrderId\":\"7869\"}"}' \
--compressed
应答参数
应答参数,请参考接口“获取车辆检测报告”的应答部分
"data": {
"carNum": "HUYUNLONG", // 车牌号
"externalInspectionOrderId": null, // 第三方订单id
"h5Url": "https://sandbox.openapi.drouter.autox3.com/s/q/dev/4190/v2", // 检测报告h5url
"inspectionOrderId": 4190, // 检测单id
"releaseDate": "2021-07-16 13:52:17", // 检测报告发布时间
"passStatus":true, // 检测是否通过
"totalDangerousCheckpoint":9, // 紧急检测点数量
"totalMajorCheckpoint":24, // 异常检测点数量
"totalMinorCheckpoint":16, // 轻微异常检测点数量
"totalPassCheckpoint":25, // 正常检测点数量
"storeInfo":{ // 门店信息
"storeLogo":"https:/a.com/b.png", // 门店logo
"storeName":"天寿路店" // 门店名称
},
"reportInfo": {
"currentMileage": 80701, // 车辆当前里程
"dailyMileage": 29.22, // 车辆日均里程
"jobName": "全车油液检查", // 检测项目名称
"moduleList": [ // 检测模块列表
{
"comment": null, // 技师评论
"itemAmount": null, // 检测模块检测点数量
"moduleId": 1619, // 检测模块id
"moduleName": "刹车油", // 检测模块名称
"submoduleList": [ // 检测项目列表
{
"checkpointList": [ // 检测点列表
{
"checkpointId": 7337, // 检测点id
"checkpointName": "刹车油剩余", // 检测点名称
"checkpointStatus": "MINOR", // 检测点状态(PASS,正常;MINOR,轻微异常;MAJOR,异常;DANGEROUS,紧急;)
"checkpointStatusDesc": "Minor", // 检测点状态描述
"checkpointType": "CHOICE", // 检测选项类型(CHOICE,单选题;TYRE_CHOICE,轮胎单选组合题;NUMBER,数值;)
"checkpointTypeDesc": null, // 检测点类型描述
"conditionValue": "70%", // 检测点答案内容
"currentMiles": null, // 当前里程
"normalOrNot": 3, // 正常选项 (0异常 1正常 2紧急 3轻微异常 )
"normalValue": "D", // 正常选项值
"recommendation": [
{
"currentMileage": 50145, // 车辆创建检测报告时的当前里程
"dailyMileage": 18.1564662, // 车辆创建检测报告时的日均里程
"externalServiceId": null, // 第三方服务id
"jobName": "刹车油更换01", // 推荐服务项目名称
"jobSn": "replace0101", // 推荐服务项目名称SN
"safeUntil": null, // 车辆创建检测报告时的安全里程
"touchCheckPointName": "刹车油剩余", // 触发的检测点名称
"touchCheckpointId": 7337 / 触发的检测点ID
}
]
}
],
"mimeTupleList": null, // 检测结果照片/视频 list
"normalResourceUrl": null,
"normalVideoUrl": null, // 正常情况参考视频
"referenceResourceUrl": null, // 正常情况参考图片
"resourceUrlList": null, // 检测结果图片url List
"submoduleId": 4671, // 检测项目名称
"submoduleName": "刹车油" // 检测项目名称
}
],
"totalCheckpoint": 1 // 检测项数量
}
],
"resultDetail": null
},
"reportScore": 0.5 // 报告评分
},
"errorInfo": null,
"status": 0
}
最后更新于
这有帮助吗?