车辆轨迹接口

简要描述
  • 车辆轨迹接口
请求URL
  • http://39.106.19.95:81/shippers-portorder/assets/truckGpsLocus
请求方式
  • POST
参数
参数名 必选 类型 说明
truckno string 车号
startTime string 开始时间 yyyy-MM-dd HH:mm:ss
endTime string 结束时间
返回示例
  {
  "code": 200,
  "success": true,
  "data": [
    {
      "id": "20210327000005643785",
      "imei": "868120255323724",
      "deviceTime": "2021-03-27 00:00:04",
      "latitude": 37.584356,
      "longitude": 121.376889,
      "speed": 0,
      "direction": 0,
      "totalDistance": 33767363.49,
      "gotsrc": "gps",
      "attribute": "{\"ignition\":false,\"status\":1,\"type\":0,\"flags\":\"e\",\"sat\":15,\"rssi\":30}",
      "orgMsg": "",
      "uid": 29014189,
      "createTime": "2021-03-27 00:00:05"
    },
    {
      "id": "20210327000015297743",
      "imei": "868120255323724",
      "deviceTime": "2021-03-27 00:00:14",
      "latitude": 37.584356,
      "longitude": 121.376889,
      "speed": 0,
      "direction": 0,
      "totalDistance": 33767363.49,
      "gotsrc": "gps",
      "attribute": "{\"ignition\":false,\"status\":1,\"type\":0,\"flags\":\"e\",\"sat\":15,\"rssi\":30}",
      "orgMsg": "",
      "uid": 29014247,
      "createTime": "2021-03-27 00:00:15"
    },
    {
      "id": "20210327000025482562",
      "imei": "868120255323724",
      "deviceTime": "2021-03-27 00:00:24",
      "latitude": 37.584356,
      "longitude": 121.376889,
      "speed": 0,
      "direction": 0,
      "totalDistance": 33767363.49,
      "gotsrc": "gps",
      "attribute": "{\"ignition\":false,\"status\":1,\"type\":0,\"flags\":\"e\",\"sat\":15,\"rssi\":30}",
      "orgMsg": "",
      "uid": 29014306,
      "createTime": "2021-03-27 00:00:25"
    }
   ],
   "msg": "操作成功"
}
返回参数说明
参数名 类型 说明
imei String 设备号
deviceTime Date 定位时间
latitude Double 维度
longitude Double 经度
speed Double 速度
direction Double 方向
createTime String 设备号
imei Date 创建时间
备注