车辆驾驶行为查询

  • 接口地址:https://api.itink.com.cn/api/behavior/getByDay.json
  • 返回格式:json
  • 请求方式:GET
  • 请求示例:https://api.itink.com.cn/api/behavior/getByDay.json?token=您的token&carId=车架号或车牌号&queryDate=查询日期
  • 接口描述:按照日期查询车辆的驾驶行为数据。

  • 请求参数说明

名称 是否必填 数据类型 说明
token string 访问凭据;由数据开放平台提供
carId string 车辆VIN信息,必须输入完整的17位车架号或者车牌LPN信息
queryDate string 查询的日期
- 返回参数说明
名称 数据类型 说明
code string 返回值:1: 成功,-1:失败
msg string 接口请求后的返回的中文描述
data
totalGrade Double 驾驶行为综合评分
economyGrade Double 驾驶行为经济评分
securityGrade Double 驾驶行为安全评分
damageGrade Double 驾驶行为车损评分
queryDate string 查询的日期(YYYY-MM-DD)
vin string 查询车辆的VIN
details
type int 驾驶行为类型
total_count Long 驾驶行为总次数
total_during_time Long 驾驶行为持续时间 (单位:ms)
behaviorName string 驾驶行为名称
  • 返回内容示例
    正常返回示例:
    {
      "data" : {
    "totalGrade" : 75.0
    “economyGrade”:66.0
    “securityGrade”:77.0
    “damageGrade”:82.0
    "queryDate" : "2018-08-14",
        "vin" : "LRDS6PEBXGL607421",
        "details" : [ {
          "type" : 8,
          "total_count" : 9,
          "total_during_time" : 80000,
          "behaviorName" : "空挡滑行"
        }, {
          "type" : 14,
          "total_count" : 95,
          "total_during_time" : 4900000,
          "behaviorName" : "长时间离合"
        }, {
          "type" : 9,
          "total_count" : 1,
          "total_during_time" : 0,
          "behaviorName" : "停车立即熄火"
        }, {
          "type" : 15,
          "total_count" : 17,
          "total_during_time" : 1004000,
          "behaviorName" : "粘离合"
        }, {
          "type" : 26,
          "total_count" : 17,
          "total_during_time" : 188000,
          "behaviorName" : "猛踩油门"
        }, {
          "type" : 1,
          "total_count" : 6,
          "total_during_time" : 79000,
          "behaviorName" : "普通超速"
        }, {
          "type" : 17,
          "total_count" : 1,
          "total_during_time" : 1000,
          "behaviorName" : "停车状态踩踏油门"
        }, {
          "type" : 36,
          "total_count" : 1,
          "total_during_time" : 15760000,
          "behaviorName" : "疲劳驾驶"
        }, {
          "type" : 13,
          "total_count" : 4,
          "total_during_time" : 50000,
          "behaviorName" : "长时间刹车"
        }, {
          "type" : 3,
          "total_count" : 2,
          "total_during_time" : 1259000,
          "behaviorName" : "过长怠速"
        }, {
          "type" : 7,
          "total_count" : 1,
          "total_during_time" : 3000,
          "behaviorName" : "超转行驶"
        } ],
        },
      "code" : 1,
      "msg" : ""
    }