Interface description
Query incoming and outgoing area alarm details
Request Example
https://v7.cmsv8.com/StandardApiAction_queryAccessAreaInfo.action?jsession=66d754dd7f41473dbd2&vehiIdno=S66666&begintime=2024-12-01 00:00:00&endtime=2024-12-01 23:59:59&toMap=0¤tPage=1&pageRecords=5
Request parameters
| Parameter name |
Parameter type |
Whether it is required |
Default value |
Parameter meaning |
| jsession |
string |
Yes |
66d754dd7f41473dbd2 |
Session number |
| vehiIdno |
string |
Yes |
S66666 |
The license plate number can be multiple, divided by ',', e.g. S66666,S66667 |
| begintime |
string |
Yes |
2024-12-01 00:00:00 |
Start time The start time must not be greater than the end time |
| endtime |
string |
Yes |
2024-12-01 23:59:59 |
End Time |
| 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 "Error Code Description"). |
| infos | array | |
| vehicle | string | license plate number |
| gpsTime | number | positioning time |
| lat | string | latitude |
| lon | string | longitude |
| customArea | string | area Name |
| passType | number | in and out status (in: 1, out: 2) |
| pagination | object | |
| 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 |
| sortParams | string | |
| hasNextPage | boolean | |
| hasPreviousPage | boolean | |
| nextPage | number | |
| previousPage | number | |
| startRecord | number | |
| page | boolean | |
| endRecord | number | |
| rp | string | |
| primaryKey | string | |
| directQuery | boolean | |
| pagin | string | |
| qtype | string | |
Return Example
{
"result": 0,
"infos":[
{
"vehicle":"S66666",
"gpsTime":1676346074000,
"lat":"22.638488",
"lon":"113.853973",
"customArea":"xi an distribution point",
"passType":2
}
],
"pagination":
{
"totalPages": 1
"currentPage": 1
"pageRecords": 50
"totalRecords": 1
"sortParams": null
"hasNextPage": false
"hasPreviousPage": false
"nextPage": 1
"previousPage": 1
"startRecord": 0
"page": false
"endRecord": 5
"rp": null
"primaryKey": "id"
"directQuery": false
"pagin": null
"qtype": null
}
}