Interface description
Fuel Dynamic Schedule/Fuel Consumption Curve Report
Request Example
https://v7.cmsv8.com/StandardApiAction_oilTrackDetail.action?jsession=66d754dd7f41473dbd2&begintime=2024-12-07 00:00:00&endtime=2024-12-07 20:00:00&vehiIdno=S66666&toMap=2&pageRecords=10¤tPage=1
`
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 | Time format (2021- 01- 01 00:00:00) |
| endtime | string | Yes | 2024-12-01 23:59:59 | Time Format (2021- 01- 02 00:20:00) |
| vehiIdno | string | Yes | S66666 | License plate number (transcoding required), only single vehicle query is supported |
| toMap | string | No | 2 | Map coordinate conversion: 0 means WGS84 coordinates; 1 means Google coordinates (gj02);2 means Baidu coordinates (bd09) |
| distance | string | No | | Track spacing in m |
| pageRecords | number | No | 10 | Number of items per page (optional, paginated query) |
| currentPage | number | No | 1 | Current Page Number (Optional, Page Query) |
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").) | |
| infos | array | ||
| vehildno | string | license plate number | |
| companyName | string | company to which the vehicle belongs | |
| plateType | number | license plate color | |
| gpsTimeStr | string | time | |
| youLiang | number | oil quantity at that time (main tank); 100=1 litre | |
| viceYouLiang | number | oil quantity at that time (auxiliary oil tank); 100=1 liter | |
| liCheng | number | mileage at that time, in meters | |
| position | string | location at the time | |
| speed | string | speed at the time; 10=1 km/h | |
| 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 | |
Return Example
{
"result": 0,
"pagination": {
"previousPage": 1,
"nextPage": 1,
"hasPreviousPage": false,
"primaryKey": "id",
"currentPage": 1,
"sortParams": null,
"pageRecords": 10,
"totalRecords": 7,
"startRecord": 0,
"page": false,
"directQuery": false,
"hasNextPage": false,
"totalPages": 1,
"pagin": null,
"endRecord": 0
},
"infos": [
{
"type": null,
"protocol": null,
"locale": "zh_CN",
"position": "13 meters near the North Ring Keyuan Interchange, No. 23 Keyuan Road, Nanshan District, Shenzhen City, Guangdong Province",
"vehiIdno": "linux-demo",
"devIdno": "135000000003",
"auxiliaryTankSupport": true,
"parseWaterLevelSupport": false,
"parseAuxiliaryTankSupport": false,
"speedErrorCount": null,
"lichengErrorCount": null,
"waterLevelSupport": false,
"huangXiangString": "北",
"storageAlarmExtra": {"normal": [], "alarm": [] },
"waterLevelValStr": "",
"oilSensorSupport": true,
"countPeopeleStr": null,
"peopleUp": 20,
"peopleCur": 0,
"peopleDown": 50,
"sensor2": null,
"sensor3": null,
"sensor10": null,
"extraFlag": 4096,
"sensor9": null,
"sensor6": null,
"sensor7": null,
"sensor1": null,
"sensor5": null,
"sensor8": null,
"obdStatus": "",
"driveRecorderspeed": 0,
"muckTruck": false,
"jingDu": 113940494,
"sensor4": null,
"weiDu": 22555163,
"companyName": "Different types of vehicles 1",
"plateType": 2,
"vehiId": 238,
"abbr": null,
"gpsTimeStr": "2021-01-28 11:46:55",
"liChengRun": null,
"liChengGpsRun": null,
"nomalCount": null,
"playBackParked": true,
"tyreData": [],
"gpsDistance": null,
"videoStatus": {
"normal": [
"General network signal",
"Video loss:CH2,CH3,CH4",
"videotape:CH1,CH2,CH3,CH4"
],
"alarm": [
"SD card (does not exist)"
]
},
"youLiangStr": "Main fuel tank: 88.88L",
"carBatteryStatus": "",
"electricStatus": "",
"waterDepthSupport": false,
"tempSensor1": 0,
"tempSensor4": 2592,
"trackTime": 1611805615306,
"gpsValid": true,
"speed": 0,
"isParking": true,
"tempSensor2": 0,
"liCheng": 11323400,
"gpsTime": "2021-01-28 11:46:55",
"parkTime": 100,
"tempSensor3": 15000,
"lineID": 0,
"trackExtra": {
"newLong": false,
"reserve": null,
"reserve2": null,
"analogQuantity": 0,
"compartmentTemp": 0,
"frontVehiSpeed": 0,
"bsdAlarmL1": 0,
"closedEyeTime": 0,
"longStatus": 0,
"adasAlarmL2": 0,
"ioStatus": 0,
"bsdAlarmL2": 0,
"dsmAlarmL1": 0,
"dsmAlarmL2": 0,
"roadFlagType": 0,
"deviationType": 0,
"adasAlarmL1": 0,
"extraStatus": 0,
"fatigueLv": 0,
"winkCount": 0,
"distinceTime": 0,
"yawningNum": 0,
"roadFlagData": 0,
"driverId": 0,
"recvTime": "2021-01-28 11:46:47",
"tirePpressures": "000000000000000000000000000000000000000000000000000000000000",
"distractedDriving": 0,
"todayLicheng": null
},
"direction": 0,
"overSpeed": false,
"statusEx": null,
"youLiang": 8888,
"viceYouLiang": 0.0,
"diskStatus": {
"normal": [],
"alarm": [
"SD card (does not exist)"
]
},
"odbJQMPos": 102,
"obdRpm": 1000,
"odbVotage": 123,
"odbStatus": 32,
"odbJQTemp": 33,
"obdSpeed": 0,
"tempCount": 0,
"totalYouLiang": 8888.0,
"waterLevelVal": 0,
"mapJingDu": "113.951925",
"tempName": "",
"mapWeiDu": "22.557814",
"huangXiang": 2,
"status1": 51457155,
"status4": 0,
"status3": 232984334,
"gaoDu": 0,
"status2": 268451840,
"parkedNewImage": false,
"lngLatStr": "22.555163,113.940494",
"satellite": 0,
"netWork": 3,
"alarmShield": null,
"oilStatus": "",
"countPeopele": null
}
]
}