Interface description
Device Query
Complete API interface example
https://v7.cmsv8.com/StandardApiAction_selectDeviceList.action?jsession=66d754dd7f41473dbd2&pagin=1&pageRecords=10¤tPage=1
Request parameters
| Parameter name |
Parameter type |
Must |
Example |
Parameter meaning |
| jsession |
string |
Yes |
66d754dd7f41473dbd2 |
Session number |
| Pagin |
string |
No |
1 |
Pagin parameter, JSON format, and URLEncode |
| pageRecords |
int |
Yes |
10 |
Number of records per page, default 10 |
| currentPage |
int |
Yes |
1 |
the current number of pages, default 1 |
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"). |
| deviceList | object | |
| pageList | array | |
| | id | number | device ID |
| | devIDNO | string | equipment No. |
| | companyId | number | company ID |
| | companyName | string | company Name |
| | devType | number | device Type |
| | serialID | string | device Serial Number |
| | actualCardNumber | string | |
| | brand | string | equipment Brand |
| | model | string | equipment Model |
| | install | number | install 1 Installed 0 Not Installed |
| | stlTm | number | bind vehicle time |
| | stlTmStr | string | |
| | vehiIdno | string | license Plate Number |
| | simInfo | string | sim card information |
| | chnName | string | channel Name |
| | stlTmEx | string | |
| | stlTmExStr | string | |
| | factoryDevType | number | manufacturer Equipment Type |
| | checkStatus | string | |
| | checkTime | string | |
| | checkTimeStr | string | |
| | ifMainDefense | number | |
| pagination | object | |
| | currentPage | number | |
| | totalPages | number | |
| | pageRecords | number | |
| | totalRecords | number | |
| | 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 | |
| fail | boolean | |
| queryParam | string | |
| resultExist | boolean | |
Return Example
{
"result": 0,
"deviceList": {
"pageList": [
{
"id": 3,
"devIDNO": "013300000001",
"companyId": 1,
"companyName": "ttx",
"devType": 7,
"serialID": null,
"actualCardNumber": null,
"brand": null,
"model": null,
"install": 1,
"stlTm": 1731640193000,
"stlTmStr": "2024-11-15",
"vehiIdno": "66666",
"simInfo": null,
"chnName": "CH1,CH2,CH3,CH4",
"stlTmEx": null,
"stlTmExStr": null,
"factoryDevType": 3,
"checkStatus": null,
"checkTime": null,
"checkTimeStr": null,
"ifMainDefense": 0
},
{
"id": 4,
"devIDNO": "013300000002",
"companyId": 1,
"companyName": "ttx",
"devType": 7,
"serialID": "",
"actualCardNumber": "",
"brand": null,
"model": "",
"install": 1,
"stlTm": 1732083322000,
"stlTmStr": "2024-11-20",
"vehiIdno": "粤S77777",
"simInfo": null,
"chnName": "CH1,CH2,CH3,CH4",
"stlTmEx": null,
"stlTmExStr": null,
"factoryDevType": 0,
"checkStatus": null,
"checkTime": null,
"checkTimeStr": null,
"ifMainDefense": 0
}
],
"pagination": {
"currentPage": 1,
"totalPages": 1,
"pageRecords": 10,
"totalRecords": 3,
"startRecord": 0,
"endRecord": 0,
"nextPage": 1,
"previousPage": 1,
"hasNextPage": false,
"hasPreviousPage": false,
"primaryKey": "id",
"sortParams": null,
"pagin": null,
"rp": null,
"query": null,
"qtype": null,
"page": false,
"directQuery": false
},
"fail": false,
"queryParam": null,
"resultExist": true
}
}