Interface description
Get track integrity and driving time
API address
https://v7.cmsv8.com/api/drive/drivingTime?jsession=66d754dd7f41473dbd2&vehicleNo=S66666&start=2024-12-01 00:00:00&end=2024-12-01 23:59:59
Request parameters
| Parameter name |
Parameter type |
Whether it is required |
Default value |
Parameter meaning |
| jsession |
string |
Yes |
66d754dd7f41473dbd2 |
Session number |
| vehicleNo |
string |
Yes |
S66666,S77777 |
License plate number, multiple divided by "," |
| start |
string |
Yes |
2024-12-01 00:00:00 |
Query start time |
| end |
string |
Yes |
2024-12-01 23:59:59 |
Query End Time |
Return parameters
| Parameter Name | parameter Type | parameter meaning |
|---|
| 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 & docType = 3 & docId = 1321 & type = 1 "Error Code Description"). |
| message | string | success or failure content |
| data | array | |
| vehicleNo | string | license plate number |
| workTime | string | driving duration (in seconds) |
| trackRate | number | trajectory integrity rate |
| pagination | string | |
| infos | string | |
| key | string | |
| resMap | string | |
Return Example
{
"result": 0,
"message": "OK",
"data": [
{
"vehicleNo": "S66666",
"workTime": " 20 hours, 20 minutes, 3 seconds",
"trackRate": 9.68
},
{
"vehicleNo": "S77777",
"workTime": "17 days, 19 hours, 10 minutes, 48 seconds",
"trackRate": 76.41
}
],
"pagination": "",
"infos": "",
"key": "",
"resMap": ""
}