物流行业解决方案
专业、智能、成熟的解决方案,助力物流行业降本增效
货车历史轨迹

货车历史轨迹管理接口

调用地址:http://xsa.songaw.com/truck/vehicle/openApiTrajectory2?vehicleNo=%E9%B2%81Q123GA&startTime=1689964997000&endTime=1690051399000&sign=您申请的key

请求方式:GET

返回类型:Json

 

 

请求参数(Body)

?vehicleNo=%E9%B2%81Q123GA&startTime=1689964997000&endTime=1690051399000&sign=您申请的key

 

请求参数说明:

参数

参数类型

是否必填

描述

vehicleNo

String

车牌号,如: YH0008

vco

String

待开发

车牌颜色 (1 蓝色、2 黄色、3 黄绿色)

startTime

String

开始时间,近 6 个月自然月

endTime

String

结束时间与开始时间相差,72 小 时之内

 

请求示例

demo

 

正常返回示例

{
    
    "num": 243,
    "position": {
        "status": 1,
        "trackSpotStr": "17896797:72890667:1689965127000:1689977590000,17896959:72890601:1689977830000:1689994879000,17896884:72890537:1689994909000:1689995414000,17532556:73053843:1690002948000:1690007702000,17532611:73053811:1690007791000:1690011357000,17532693:73052978:1690011407000:1690015725000,18446058:72558790:1690030570000:1690031116000,19738716:72522078:1690047671000:1690048430000",
        "trackSpot": [
            {
                "agl": "29",
                "startTime": 1689965127000,
                "endTime": 1689977590000,
                "lat": 17896797,
                "lon": 72890667
            },
            {
                "agl": "11",
                "startTime": 1689977830000,
                "endTime": 1689994879000,
                "lat": 17896959,
                "lon": 72890601
            },
            {
                "agl": "193",
                "startTime": 1689994909000,
                "endTime": 1689995414000,
                "lat": 17896884,
                "lon": 72890537
            },
            {
                "agl": "103",
                "startTime": 1690002948000,
                "endTime": 1690007702000,
                "lat": 17532556,
                "lon": 73053843
            },
            {
                "agl": "316",
                "startTime": 1690007791000,
                "endTime": 1690011357000,
                "lat": 17532611,
                "lon": 73053811
            },
            {
                "agl": "286",
                "startTime": 1690011407000,
                "endTime": 1690015725000,
                "lat": 17532693,
                "lon": 73052978
            },
            {
                "agl": "327",
                "startTime": 1690030570000,
                "endTime": 1690031116000,
                "lat": 18446058,
                "lon": 72558790
            },
            {
                "agl": "342",
                "startTime": 1690047671000,
                "endTime": 1690048430000,
                "lat": 19738716,
                "lon": 72522078
            }
        ],
        "trackPointStr": "17896797:72890667:20230722/024527:0:null,17896797:72890665:20230722/024827:0:0.0,17896794:72890664:20230722/025127:0:0.0,17896792:72890666:20230722/025427:0:0.0,19936536:72378040:20230723/024220:630:659.25,19939050:72376653:20230723/024250:630:659.76"
    }
}


/**
 * 状态码
 *   -1 未入网 0 未查出结果 1 查询出结果
 */
private int status = 0;
/**
 * 轨迹停车点
 *16243053:71601905:1689271370000:1689283980000,16524994:72258933:1689292875000:1689295340000
 * lat:lon:startTime:endTime
 * 方向需前端计算出来
 */
private String trackSpotStr;
/**
 * 轨迹停车点
 */
private List<Spot> trackSpot;
/**
 * 轨迹点
 * 16352076:71209776:20230714/001121:645:null,16358095:71209327:20230714/001221:635:1.12
 * lat:lon:时间:速度:上报里程
 * lat/lon都是: 1/600000.0(WGS84 坐标系)
 */
private String trackPointStr;


服务热线
16588888826