帮助中心 回调文档

机动车维修保养记录-回调文档

更多

加密规则:md5(time+appid+密钥)
#只有time appid参与加密,其它返回参数不参与,密钥与提交时的密钥是一致的

请求方式:POST

在接受到请求之后,请返回包函 success 的字段串,否则我们系统会在以下时间再次请求:5分钟,1小时,12小时

返回加密参数:

名称 类型 说明 示例
time Integer 时间戳 1603872381
appid Integer 提交数据时的appid,这里返回用于加密身份验证 1365
request Array 提交上来的数据
response Array 回调的数据

返回参数字段说明:

名称 类型 说明 示例
brand String (不再返回数据)车型品牌 沃尔沃亚太
carComponentRecordsFlag String (不再返回数据)重要组件部分是否有维修,0-否,1-是 0
carConstructRecordsFlag String 结构件是否有维修,0-否,1-是 0
carType NULL
code Integer 0 正常返回 0
content String 维修详细内容 检查底盘
date String 维保时间 2014-09-27
displacement NULL
lastMainTainTime String 最后维保时间 2019-12-29
lastRepairTime String 最后一次维修时间
mainTainDate NULL
mainTainTimes String 每年保养次数 2
makeDate NULL
makeReportDate String 报告生成时间 1603160086
manufacturer NULL
materal String 维修的材料
mileage String 维修的公里数 494
mileageEstimate String 预估公里数(如果为0,说明没有预估出来) 73183
mileageEveryYear String 每年行驶公里数 12198
mileageIsNormalFlag String 公里数是否正常,0-否,1-是 0
modelName String 车型 沃尔沃亚太 2015款 沃尔沃亚太 沃尔沃S60L 三厢 2.0T 手自一体 智驭版 (VCC7204C12) 沃尔沃S60L
msg String 成功
normalRepairRecords Array 所有详细维修记录(普通报告) [{"content":"\u66f4\u6362\u5236\u52a8\u6cb9;\u66f4\u6362\u53d1\u52a8\u673a\u673a\u6cb9\u548c\u6ee4\u6e05\u5668;\u517b\u8f66\u65e0\u5fe7\uff08\u6d77\u5916\u6e38\u623f\u5238\uff09;\u4fdd\u517b","date":"2019-12-29","material":"\u673a\u6ee4;\u8f85\u6599;\u6c83\u5c14\u6c83\u5168\u5408\u6210\u673a\u6cb9 0W20 208L;\u586b\u6599;\u5239\u8f66\u6cb9;\u666e\u5409\u5c9b4\u59293\u591c\u623f\u5361\u5238","materal":"\u673a\u6ee4;\u8f85\u6599;\u6c83\u5c14\u6c83\u5168\u5408\u6210\u673a\u6cb9 0W20 208L;\u586b\u6599;\u5239\u8f66\u6cb9;\u666e\u5409\u5c9b4\u59293\u591c\u623f\u5361\u5238","mileage":"73183","remark":"","repairRecordsDate":"2019-12-29","type":"\u4fdd\u517b"},{"content":"\u8282\u6c14\u95e8\u6e05\u6d17;\u4fdd\u517b;\u66f4\u6362\u53d1\u52a8\u673a\u673a\u6cb9\u548c\u6ee4\u6e05\u5668","date":"2018-11-17","material":"\u673a\u6ee4;\u586b\u6599;\u8f85\u6599;OIL OW-30 208L;\u9ad8\u6548\u8282\u6c14\u95e8\u6e05\u6d17\u5242","materal":"\u673a\u6ee4;\u586b\u6599;\u8f85\u6599;OIL OW-30 208L;\u9ad8\u6548\u8282\u6c14\u95e8\u6e05\u6d17\u5242","mileage":"66680","remark":"","repairRecordsDate":"2018-11-17","type":"\u4fdd\u517b"},{"content":"\u66f4\u6362\u71c3\u6cb9\u6ee4\u6e05\u5668;\u66f4\u6362\u706b\u82b1\u585e\u5957\u4ef6;\u66f4\u6362\u7a7a\u6c14\u6ee4\u82af;\u7535\u5b50\u8282\u6c14\u95e8\u6e05\u6d17(\u8d60\u9001\u4ef7\u503c230);\u6da6\u6ed1\u7cfb\u7edf\u6e05\u6d17;\u6392\u653e-\u91cd\u65b0\u586b\u5145\/\u66f4\u6362\u51b7\u5374\u6db2;\u66f4\u6362\u53d1\u52a8\u673a\u673a\u6cb9\u548c\u6ee4\u6e05\u5668","date":"2017-11-12","material":"\u9ad8\u6027\u80fd\u53d1\u52a8\u673a\u5185\u90e8\u6e05\u6d17;\u9ad8\u6027\u80fd\u673a\u6cb9\u4fdd\u62a4;\u9ad8\u6548\u8282\u6c14\u95e8\u6e05\u6d17\u5242;\u6c7d\u6ee4;\u7a7a\u6ee4;\u9632\u51bb;\u706b\u82b1\u585e\u5957\u4ef6;\u8f85\u6599;\u586b\u6599;OIL OW-30 208L","materal":"\u9ad8\u6027\u80fd\u53d1\u52a8\u673a\u5185\u90e8\u6e05\u6d17;\u9ad8\u6027\u80fd\u673a\u6cb9\u4fdd\u62a4;\u9ad8\u6548\u8282\u6c14\u95e8\u6e05\u6d17\u5242;\u6c7d\u6ee4;\u7a7a\u6ee4;\u9632\u51bb;\u706b\u82b1\u585e\u5957\u4ef6;\u8f85\u6599;\u586b\u6599;OIL OW-30 208L","mileage":"58535","remark":"","repairRecordsDate":"2017-11-12","type":"\u4fdd\u517b"},{"content":"\u5e73\u5b89\u90012\u4e2a\u9762\u6cb9\u6f06;\u62c6\u88c5\u53f3\u524d\u53cd\u5149\u955c\uff0c\u95e8\u9970\u677f\uff0c\u5916\u538b\u6761\uff0c\u95e8\u628a\u624b;\u53f3\u524d\u95e8\u70e4\u6f06(P);\u53f3\u524d\u95e8\u94a3\u91d1(B);\u62c6\u88c5\u524d\u4fdd\u53ca\u4fee\u590d;\u524d\u4fdd\u58f3\u70e4\u6f06(P)","date":"2017-02-04","material":"\u6cb9\u6f06\uff08\u5e73\uff09;\u5939","materal":"\u6cb9\u6f06\uff08\u5e73\uff09;\u5939","mileage":"48356","remark":"","repairRecordsDate":"2017-02-04","type":"\u5e73\u5b89\u90012\u4e2a\u9762\u6cb9\u6f06"},{"content":"\u68c0\u67e5\u65e0\u94a5\u5319\u8fdb\u5165\u4e0d\u5de5\u4f5c;\u7535\u5b50\u8282\u6c14\u95e8\u6e05\u6d17;Service 2.0\uff0c\u8f6f\u4ef6\u63a7\u5236\u6a21\u5757\u4e0b\u8f7d\uff0c\u84c4\u7535\u6c60 \u72b6;\u4fdd\u517b;\u66f4\u6362\u53d1\u52a8\u673a\u673a\u6cb9\u548c\u6ee4\u6e05\u5668","date":"2017-02-04","material":"\u7ef4\u4fee 2.0 \u5347\u7ea7;\u9ad8\u6548\u8282\u6c14\u95e8\u6e05\u6d17\u5242;\u673a\u6ee4;\u586b\u6599;\u8f85\u6599;OIL 0W-20 208L","materal":"\u7ef4\u4fee 2.0 \u5347\u7ea7;\u9ad8\u6548\u8282\u6c14\u95e8\u6e05\u6d17\u5242;\u673a\u6ee4;\u586b\u6599;\u8f85\u6599;OIL 0W-20 208L","mileage":"48356","remark":"","repairRecordsDate":"2017-02-04","type":"\u4fdd\u517b"},{"content":"\u68c0\u67e5\u4e3b\u9a7e\u9a76\u95e8\u65e0\u94a5\u5319\u8fdb\u5165\u7cfb\u7edf;\u66f4\u6362\u5236\u52a8\u6cb9;\u66f4\u6362\u53d1\u52a8\u673a\u673a\u6cb9\u548c\u6ee4\u6e05\u5668;\u4fdd\u517b","date":"2016-08-03","material":"\u673a\u6ee4;\u586b\u6599;\u8f85\u6599;OIL OW\/30 208L;\u5239\u8f66\u6cb9","materal":"\u673a\u6ee4;\u586b\u6599;\u8f85\u6599;OIL OW\/30 208L;\u5239\u8f66\u6cb9","mileage":"39409","remark":"","repairRecordsDate":"2016-08-03","type":"\u4fdd\u517b"},{"content":"3\u4e07\u516c\u91cc\u4fdd\u517b","date":"2016-03-01","material":"\u673a\u6ee4;\u7a7a\u6ee4;\u71c3\u6599\u8fc7\u6ee4\u5668;\u57ab\u7247;\u4fdd\u517b\u5957\u99102;Castrol 0W-20\/1L","materal":"\u673a\u6ee4;\u7a7a\u6ee4;\u71c3\u6599\u8fc7\u6ee4\u5668;\u57ab\u7247;\u4fdd\u517b\u5957\u99102;Castrol 0W-20\/1L","mileage":"31104","remark":"","repairRecordsDate":"2016-03-01","type":"\u4fdd\u517b"},{"content":"\u62c6\u88c5\u524d\u540e\u4fdd\u9669\u6760;\u540e\u4fdd\u58f3\u70e4\u6f06(P);\u540e\u4fdd\u58f3\u94a3\u91d1(B);\u524d\u4fdd\u58f3\u70e4\u6f06(P);\u524d\u4fdd\u58f3\u94a3\u91d1(B);\u53f3\u6237\u5b9a\u70e4\u6f06(P);\u53f3\u6237\u5b9a\u94a3\u91d1(B);\u53f3\u540e\u53f6\u70e4\u6f06(P);\u53f3\u540e\u53f6\u94a3\u91d1(B);\u53f3\u540e\u95e8\u70e4\u6f06(P);\u53f3\u540e\u95e8\u94a3\u91d1(B)","date":"2015-10-10","material":"","materal":"","mileage":"19396","remark":"","repairRecordsDate":"2015-10-10","type":"\u4e8b\u6545\u7ef4\u4fee"},{"content":"\uff12\u4e07\u516c\u91cc\u4e07\u7ea7\u4fdd\u517b\uff08\u673a\u6cb9\uff0c\u673a\u6ee4\uff09","date":"2015-09-14","material":"\u673a\u6cb9OIL OW\/30 208L;\u673a\u6ee4(S40,NEW802.5T) S80L 5CYL;\u653e\u6cb9\u87ba\u4e1d\u57ab\u7247","materal":"\u673a\u6cb9OIL OW\/30 208L;\u673a\u6ee4(S40,NEW802.5T) S80L 5CYL;\u653e\u6cb9\u87ba\u4e1d\u57ab\u7247","mileage":"18094","remark":"","repairRecordsDate":"2015-09-14","type":"\u4fdd\u517b"},{"content":"\u66f4\u6362\u4e58\u5ba2\u5ba4\u7a7a\u6c14\u6ee4\u6e05\u5668","date":"2015-09-14","material":"\u5fae\u7c92\u8fc7\u6ee4\u5668","materal":"\u5fae\u7c92\u8fc7\u6ee4\u5668","mileage":"18094","remark":"","repairRecordsDate":"2015-09-14","type":"\u9644\u52a0\u9879\u76ee"},{"content":"\uff11\u4e07\u516c\u91cc\u4e07\u7ea7\u4fdd\u517b(\u673a\u6cb9\u673a\u6ee4)","date":"2015-04-12","material":"\u673a\u6ee4(S40,NEW802.5T) S80L 5CYL;\u653e\u6cb9\u87ba\u4e1d\u57ab\u7247;\u673a\u6cb9OIL OW\/30 208L","materal":"\u673a\u6ee4(S40,NEW802.5T) S80L 5CYL;\u653e\u6cb9\u87ba\u4e1d\u57ab\u7247;\u673a\u6cb9OIL OW\/30 208L","mileage":"9762","remark":"","repairRecordsDate":"2015-04-12","type":"\u4fdd\u517b"},{"content":"\u68c0\u67e5\u5e95\u76d8","date":"2014-09-27","material":"","materal":"","mileage":"494","remark":"","repairRecordsDate":"2014-09-27","type":"\u68c0\u67e5\u5e95\u76d8\u662f\u5426\u6f0f\u673a\u6cb9"}]
payType NULL
remark String 备注
repairRecordsDate String 维修日期 2014-09-27
reportNo String 报告编号 1465929114
result Array 查询结果列表 [{"dangerSingleType":"2","dangerSingleName":"\u524d\u4fdd\u9669\u6760(\u5168\u55b7)","dangerSingleMoney":"70000"}]
seriesName NULL
transmissionType NULL
type String 类型 检查底盘是否漏机油
vin String 车架号(VIN) LYVFD63A3FB014427

JSON回调示例:

PHP代码回调示例:

$secret = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'; //提交查询是的appid 对应的密钥。
$sign = $_POST['sign'];
$md5sign = md5($_POST['time'].$_POST['appid'].$secret);
if($md5sign==$sign){
    //通过验证,在条件内完成其它逻辑操作
    //下面是回调的数据。也就是查询结果
    $response = json_decode($_POST['response'],true);
    //下面是您提交查询时请求的数据;如果有提交自定义参数,在这里面可以找到
    $request = json_decode($_POST['request'],true);
    //下面的逻辑代码请自行编写

    echo 'success'; //不要删除,用于通知服务器接收到回调信息
}else{

    echo 'fail';
    /**
     * 返回失败后服务器会继续回调,分别在以下时间内回次回调
     * 10分钟
     * 1小时
     * 12小时
     * 总共尝试回调4次,4次之后不再回调
    */
}

                    

查看接口详情