Interface description
Obtain device history trace
Request Example
https://v7.cmsv8.com/StandardApiAction_queryTrackDetail.action?jsession=2024apics&devIdno=013300000001&begintime=2024-12-01 00:00:00&endtime=2024-12-01 23:59:59&distance=0&parkTime=0¤tPage=1&pageRecords=50&toMap=1
Request parameters
| Parameter name |
Parameter type |
Whether it is required |
Example |
Parameter meaning |
| jsession |
string |
Yes |
66d754dd7f41473dbd2 |
Session number |
| devIdno |
string |
Yes |
01330000001 |
Device number |
| begintime |
string |
Yes |
2024-12-01 00:00:00 |
Start Time |
| endtime |
string |
Yes |
2024-12-01 23:59:59 |
End time, start time must not be greater than end time, query time must not exceed 31 days |
| distance |
number |
No |
1 |
Distance in KM. |
| parkTime |
number |
no |
60 |
parking duration unit: seconds. |
| geoaddress |
number |
No |
1 |
Whether to resolve geographic location 1 means to provide geographic location resolution service. If not, geographic location will not be resolved |
| currentPage |
number |
No |
1 |
If the current query page number is empty, the page will not be paged. |
| pageRecords |
number |
No |
10 |
If the number of pages is empty, there is no page. |
| toMap |
number |
No |
0 |
Map coordinate conversion: 0 means WGS84 coordinates (default);1 means Google coordinates (gj02);2 means Baidu coordinates (bd09) |
Return parameters
| Parameter Name | parameter Type | meaning of parameters |
|---|
| result | number | interface status code, 0 is normal, and other information is abnormal. For more information, see [Error Code Description](/helpCenter/doc/index.html?isStudy=1&pageType=3&docId=1321&type=1&lang=en "Error Code Description"). |
| pagination | object | |
| currentPage | number | current Query Page Number |
| totalPages | number | total number of pages of query data |
| pageRecords | number | number of entries per page |
| totalRecords | number | total number of query data |
| startRecord | number | |
| endRecord | number | |
| nextPage | number | |
| previousPage | number | |
| hasNextPage | boolean | |
| hasPreviousPage | boolean | |
| primaryKey | string | |
| sortParams | string | |
| pagin | string | |
| rp | string | |
| query | string | |
| qtype | string | |
| page | boolean | |
| directQuery | boolean | |
| infos | array | |
| id | string | |
| net | number | |
| netn | string | |
| gw | string | |
| ol | string | |
| s1 | number | |
| s2 | number | |
| s3 | number | |
| s4 | number | |
| t1 | number | |
| t2 | number | |
| t3 | number | |
| t4 | number | |
| yl | number | |
| sp | number | |
| hx | number | |
| lng | number | |
| lat | number | |
| mlng | string | |
| mlat | string | |
| ps | string | |
| pk | number | |
| lc | number | |
| gt | string | |
| gte | string | |
| upt | string | |
| pt | number | |
| dt | number | |
| ac | number | |
| ft | number | |
| fdt | number | |
| vid | string | |
| vi | string | |
| imei | string | |
| imsi | string | |
| hv | string | |
| sv | string | | | lid | string | |
| drid | number | |
| dct | string | |
| sfg | string | |
| snm | string | |
| sst | string | |
| or | string | |
| OS | string | |
| ov | string | |
| ojt | string | |
| ost | string | |
| ojm | string | |
| po | string | |
| ef | number | |
| p1 | string | |
| p2 | string | |
| p3 | string | |
| p4 | string | |
| p5 | string | |
| p6 | string | |
| p7 | string | |
| p8 | string | |
| p9 | string | |
| p10 | string | |
| glng | string | |
| glat | string | |
| dn | string | |
| jn | string | |
| lt | string | |
| tsp | number | |
| abbr | string | |
| ust | string | |
| lg | number | |
| rt | string | |
| ls | number | |
| ct | number | |
| ios | number | |
| es | number | |
| aq | number | |
| adas1 | number | |
| adas2 | number | |
| dsm1 | number | |
| dsm2 | number | |
| bsd1 | number | |
| bsd2 | number | |
| fvs | number | |
| dst | number | |
| rfd | number | |
| dvt | number | |
| rft | number | |
| fl | number | |
| yn | number | |
| cet | number | |
| wc | number | |
| tp | string | |
| pss | string | |
| sn | number | |
| driSw | string | |
| driJn | string | |
| driSwStr | string | |
| dinfo | string | |
| clockd | string | |
| pu | string | |
| pd | string | |
| pc | string | |
| gd | number | |
| tyreData | array | |
| wayBill | string | |
| viceYl | number | |
| simulationYL | string | |
| water | number | |
| tm | string | |
| lcVal | string | |
| lcValGps | string | |
| <td colspan= "2">driftGps string | |
| ifSupplement | boolean | |
| capture | string | |
| auxiliaryTankSupport | boolean | |
| parseAuxiliaryTankSupport | boolean | |
Return Example
{
"result": 0,
"pagination": {
"currentPage": 1,
"totalPages": 117,
"pageRecords": 50,
"totalRecords": 5848,
"startRecord": 0,
"endRecord": 50,
"nextPage": 2,
"previousPage": 1,
"hasNextPage": true,
"hasPreviousPage": false,
"primaryKey": "id",
"sortParams": null,
"pagin": null,
"rp": null,
"query": null,
"qtype": null,
"page": false,
"directQuery": false
},
"infos": [
{
"id": "013300000001",
"net": 1,
"netn": null,
"gw": null,
"ol": null,
"s1": 805309827,
"s2": 20480,
"s3": 65280,
"s4": 0,
"t1": 0,
"t2": 0,
"t3": 0,
"t4": 0,
"yl": 0,
"sp": 0,
"hx": 0,
"lng": 113698296,
"lat": 22992207,
"mlng": "113.703467",
"mlat": "22.989425",
"ps": "22.992207,113.698296",
"pk": 0,
"lc": 0,
"gt": "2024-12-03 00:00:00",
"gte": null,
"upt": null,
"pt": 6,
"dt": 2,
"ac": 0,
"ft": 0,
"fdt": 259,
"vid": "S66666",
"vi": null,
"imei": null,
"imsi": null,
"hv": null,
"sv": null,
"lid": null,
"drid": 0,
"dct": null,
"sfg": null,
"snm": null,
"sst": null,
"or": null,
"os": null,
"ov": null,
"ojt": null,
"ost": null,
"ojm": null,
"po": "22.992207,113.698296",
"ef": 0,
"p1": null,
"p2": null,
"p3": null,
"p4": null,
"p5": null,
"p6": null,
"p7": null,
"p8": null,
"p9": null,
"p10": null,
"glng": null,
"glat": null,
"dn": null,
"jn": null,
"lt": null,
"tsp": 0,
"abbr": "",
"ust": null,
"lg": 2,
"rt": "2024-12-03 00:00:00",
"ls": 0,
"ct": 0,
"ios": 0,
"es": 0,
"aq": 0,
"adas1": 0,
"adas2": 0,
"dsm1": 0,
"dsm2": 0,
"bsd1": 0,
"bsd2": 0,
"fvs": 0,
"dst": 0,
"rfd": 0,
"dvt": 0,
"rft": 0,
"fl": 0,
"yn": 0,
"cet": 0,
"wc": 0,
"tp": "000000000000000000000000000000000000000000000000000000000000",
"pss": null,
"sn": 0,
"driSw": null,
"driJn": null,
"driSwStr": null,
"dinfo": null,
"clockd": null,
"pu": null,
"pd": null,
"pc": null,
"gd": 0,
"tyreData": [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null],
"wayBill": null,
"viceYl": 0,
"simulationYL": null,
"water": 0,
"tm": null,
"lcVal": null,
"lcValGps": null,
"driftGps": null,
"ifSupplement": false,
"capture": null,
"auxiliaryTankSupport": false,
"parseAuxiliaryTankSupport": false
}