开/关车辆锁

功能介绍

根据终端号进行车型油耗分析

接口说明

URL

POST https://open.iauto360.cn/srv/3001/{appId}/{sign}

URL参数

参数 类型 必填 说明
appId String 合作方ID, 获取方式详见如何接入
sign String 签名, 生成方式详见如何接入

请求

content-type: application/json
参数(L1) 参数(L2) 类型 必填 说明
time Int64 请求时间,采用unix时间,精确到毫秒
plan Int32 计费计划,不传该参数,将会自动匹配适用的计费计划
data Object 请求实际参数,内嵌json对象
esn String 终端编号

应答

参数(L1) 参数(L2) 类型 必填 说明
flag Int32 请求接口的状态( 1 成功 0 失败)
data Object 实际返回的业务数据,内嵌json对象
accelerateTimes Int32 急加速次数单位为1/100,比如21944,表示219.44
avgSpeed Int32 平均车速,单位为km/h
breakTimes Int32 急踩刹车次数单位为1/100,比如23022,表示230.22
goodWaterPercent Int32 最佳水温百分比
idlePercent Int32 怠速百分比
idleTime Int32 怠速时间

示例

请求

{
    "time":1468024618564,
    "data":{
        "esn":"86127667888972656"
    },
    "plan":1001
}

应答

{
    "flag":1,
    "data":{
        "accelerateTimes":21944,
        "avgSpeed":70,
        "breakTimes":23022,
        "idlePercent":22,
        "idleTime":274
    }
}

更新日志

日期 版本 变更说明 备注
2019-09-01 1.0 新增服务 -

常见问题

results matching ""

    No results matching ""