OpenAPI
  • Quick Start
  • Documentation
    • Instruction
    • Log Update
    • Glossary
  • Integration Instruction
    • Interface Specification
    • Callback Rules
    • Public Parameters
  • Best Practice
    • Integration Procedures
    • Integration Solution
  • Standardized Interface
    • Obtain Platform Access Credentials
    • Obtain Vehicle Health Check Report
    • Create Service Order Callback
    • Release Health Check Report Callback
      • Basic Integration: Embedded URL to H5 Health Check Report
      • Deep Integration: Comprehensive Health Check Result Data
    • Vehicle Condition & Maintenance Plan Callback
  • Customized Interface
    • Synchronize Vehicle Service Item Info
    • Synchronize Work Procedure Info
    • Synchronize Work Report Info
      • Basic Integration: Embedded URL to H5 Work Report
      • Deep Integration: Comprehensive Work Result Data
  • FAQ
    • Code Encryption DEMO
    • HTTPS Settings Instruction
  • ⚙️Translation
    • 简体中文
Powered by GitBook
On this page

Was this helpful?

  1. Standardized Interface

Release Health Check Report Callback

event.autox3.order.detection.finish.report

PreviousCreate Service Order CallbackNextBasic Integration: Embedded URL to H5 Health Check Report

Last updated 3 years ago

Was this helpful?

When the technician completed the health check order through the Intelligent Technician app.

Message Type:

event.autox3.order.detection.finish.report

Message Content:

{
  "content": {
    "carNum": "京M65068",        //  License plate车牌号
    "detectionPercentage": 0.5,  //  Report score (percentage)此检测报告评分(百分比)
    "receiveBaseId": 6210,       //  Service order ID接车单id
    "reportJson": {              //  检测报告JSON字符串
      "workBaseStatus": false,           
      "carNum": "京M65068",               // License Plate 车牌号 
      "serviceBaseName": "Fluid Inspection",    // Inspection item检测项目名称 
      "list": [                           // Inspection asnwer list 检测答案List 
        {
          "evaluation": "This is a comment",     // Technician comments技师评论
          "itemAmount": 1,                // Number of nspection item检测项数量 
          "questionToSystemId": 1619,     // Systen problem ID 问题系统ID
          "templetItemEntityList": [      // Inspection entity list 检测项对象数组
            { 
              "carId": 1846,              // Vehicle ID 车辆id 
              "mimeTupleList": [          // Inspection result photots/videos list 检测结果照片/视频 list 
                {
                  "key": 338578,          // Resource ID资源id 
                  "mimeType": "image/*",  // Resource Type image/* video/* 资源类型 image/*  video/*
                  "value": "${url}"       // Resource URL资源URL
                }
              ],
              "questionDetectionTempletQuestionList": [    // Inspection point list 检测点列表
                {
                  "answer": "20%",                // Inspection point answer 检测点答案
                  "currentMiles": 49709,          // Vehicle total mileage when creating inspection report 车辆创建检测报告时的里程
                  "description": "Brake Fluid Level",      // Inspection point name 检测点名称 
                  "id": 10862,                    // Inspection point template ID 模版检测点ID
                  "normalOrNot": 2,               // Normal Choice 正常选项 (0.Dangerous 1.Pass 2.Major 3.Minor ) 
                  "normalValue": "D",             // Normal Choice Value
                  "perMiles": 12.0980971,         //  Vehicle daily mileage when creating inspection report 车辆创建检测报告时的日均里程
                  "questionBaseId": 7337,         // Inspection point ID 检测点id
                  "questionBaseStatus": "DANGEROUS",    // Inspection point status (PASS; MINOR; MAJOR; DANGEROUS;) 检测点状态(PASS,正常;MINOR,轻微异常;MAJOR,异常;DANGEROUS,紧急;)
                  "questionBaseStatusDesc": "DANGEROUS",      // Inspection point status description 检测点状态 描述 
                  "soundOrNot": false,                  // 
                  "takePhotoOrNot": true,
                  "touchCycleBaseServiceEntityList": [  // Inspection point recommended service item 检测点推荐项目
                    {
                      "currentMiles": 49709,               // Vehicle current mileage when creating inspection report 车辆创建检测报告时的当前里程
                      "detectionPointName": "Brake Fluid Level",    // Inspection point name检测点名称
                      "perMiles": 12.0980971,              // Vehicle daily averyage mileage when creating inspection report 车辆创建检测报告时的日均里程
                      "restSafeMilesKm": 0,                // vechile safety mileage when creating inspection report 车辆创建检测报告时的安全里程
                      "serviceBaseName": "12345copy1",     // Recommended service item 推荐服务项目名称
                      "serviceBaseSn": "0009copy10704051301",  // Recommended service item SN 推荐服务项目名称SN
                      "touchQuestionBaseId": 7337          // Active inspection point ID 触发的检测点ID
                    }
                  ],
                  "type": "CHOICE"       // Inspection choice type(CHOICE,Multiple Choice;TYRE_CHOICE,Tyre Multiple Choice Group;NUMBER,Value;) 检测选项类型(CHOICE,单选题;TYRE_CHOICE,轮胎单选组合题;NUMBER,数值;)
                }
              ],
              "questionToItemId": 4671,  // Inspection item ID 检测项ID
              "resourceIdList": [        // Inspection result image ID 检测结果图片id List 
                338578,
                338579
              ],
              "resourceUrlList": [       // Inspection result image URL list 检测结果图片url List
                "${url}"
              ],
              "toItemDesc": "Brake Fluid"      // Inspection item description 检测项描述
            }
          ],
          "toSystemDesc": "Brake Fluid"        // Corresponding system description 所属系统的描述
        }
      ],
      "perMiles": 19.47,                // Predicted daily mileage预估动态日均里程
      "currentMiles": 80000             // Preticted total mileage预估动态当前里程
    }
  },
  "createTime": 1616502610117,                          // Push timestamp推送时间戳
  "msgType": "event.autox3.order.detection.finish",     // Push message type 推送消息类型
  "msgSignature": "${hashCode}",                        // Push message signature 推送消息签名
  "msgId": "e6ddea1d-0b8b-24e7-cb26-91c3aa0969db",      // Push message ID 推送消息 id
  "staffInfo": {                       // Staff info 员工信息
    "areaCode": "+44",                 // Country area code 所属国家区号
    "brandId": 114,                    // Brand ID 品牌id
    "mobile": "17666166190",           // Phone number 手机号
    "staffId": 380,                    // Staff ID 员工id
    "staffName": "A梦 哆啦",            // Staff name 员工名称
    "storeId": 84                      // Shop ID 店铺id
  }
}        

Developer Normal Response Data:

{
	"data":null,
	"errorInfo":"",    // Error Information
	"status":0		     // 0 stands for successful callback reception
}
  1. For the deduplication process, msgid is recommended.

  2. When the AutoX3 server does not receive a normal response, it will initiate a retry six times, with intervals of 2s, 4s, 8s, 16s, 32s, and 64s.

  3. Signature rule: sha1(msgId + msgType + staffInfo + createTime + content + appSecret).