Interface description
Driver Mileage Daily Report Query
Request Example
https://v7.cmsv8.com/StandardApiAction_selectDriverMileageReport.action?jsession=66d754dd7f41473dbd2&begintime=2024-12-07 00:00:00&endtime=2024-12-07 23:00:00&toMap=2&driverIds=3,5
Request parameters
| Parameter name |
Parameter type |
Required or not |
Example |
Description |
| jsession |
string |
Yes |
66d754dd7f41473dbd2 |
Session number |
| begintime |
string |
Yes |
2024-12-01 00:00:00 |
Start Time (2019- 01- 01 00:00:00) |
| endtime |
string |
Yes |
2024-12-01 23:59:59 |
End Time (2021- 01- 01 00:00:00) |
| toMap |
string |
Yes |
2 |
Map coordinate conversion: 0 means WGS84 coordinates; 1 means Google coordinates (gj02);2 means Baidu coordinates (bd09) |
| driverIds |
string |
Yes |
3,5 |
Driver ID, "*" or null to query all |
Return parameters
| Parameter Name | parameter Type | description |
|---|
| result | number | the return code 0 indicates success, others indicate failure. (For more information, see [Error Code Description](https://help.cmsv8.com/helpCenter/doc/index.html?isStudy=1&pageType=3&docId=1321&type=1&lang=en "Error Code Description").) |
| pagination | object | paging Parameters |
| totalPages | number | total number of pages of query data |
| currentPage | number | current Query Page Number |
| pageRecords | number | number of entries per page |
| totalRecords | number | total number of query data |
| infos | array | |
| vehildno | string | license plate number |
| liCheng | string | mileage |
| liChengLong | long | company Mileage |
| startTime | date | start Time |
| startLiCheng | int | start mileage |
| startYouLiang | int | starting oil quantity |
| startJingDu | int | start Longitude |
| startWeiDu | int | starting Latitude |
| startGaoDu | int | starting height |
| endTime | date | end Time |
| endLiCheng | int | end Mileage |
| endYouLiang | int | end of oil quantity |
| endJingDu | int | end Longitude |
| endWeiDu | int | end Latitude |
| endGaoDu | int | end Altitude |
| startPosition | string | start Geographic Location |
| endPosition | string | end Geographic Location |
| driver | string | driver Information |
| addYouLiang | int | ADD QUANTITY |
| companyName | string | company Name |
| operatingDays | int | operating Days |
Return Example
{
"result": 0,
"pagination": {
"endRecord": 0,
"directQuery": false,
"hasNextPage": false,
"hasPreviousPage": false,
"currentPage": 1,
"pageRecords": 10,
"sortParams": {},
"totalRecords": 1,
"startRecord": 0,
"page": false,
"totalPages": 1,
"pagin": null,
"previousPage": 1,
"nextPage": 1,
"primaryKey": "id"
},
"infos": [
{
"date": null,
"startTime": 1605073464000,
"endTime": 1605871490000,
"driver": "Sam",
"lichengLong": 971768,
"vehiCount": null,
"operatingDays": 0,
"endLiCheng": 0,
"startGaoDu": null,
"endGaoDu": null,
"startLiCheng": 0,
"liChengStr": null,
"vehiIdno": null,
"startPosition": "-22.667045,-113.823632",
"startWeiDu": -22667045,
"endPosition": "-22.648327,-113.826774",
"endWeiDu": -22648327,
"endJingDu": -113826774,
"startJingDu": -113823632,
"startTimeStr": null,
"endTimeStr": null,
"companyName": "A",
"plateType": null,
"abbr": null,
"workTime": null,
"bTimeStr": "2020-11-11 13:44:24",
"eTimeStr": "2020-11-20 19:24:50",
"youLiang": null,
"startYouLiang": null,
"endYouLiang": null,
"addYouLiang": null,
"liCheng": 0
}
]
}