Interface description
Get device online status
Request Example
https://v7.cmsv8.com/StandardApiAction_getDeviceOlStatus.action?jsession=66d754dd7f41473dbd2&vehiIdno=S66666&status=1
Request parameters
| Parameter name |
Parameter type |
Whether it is required |
Example |
Parameter meaning |
| jsession |
string |
Yes |
66d754dd7f41473dbd2 |
Session number |
| devIdno |
string |
No |
01330000001 |
The device number can be multiple, divided. If it is empty, the license plate number is judged. |
| vehiIdno |
string |
No |
S66666 |
The license plate number can be multiple, divided. If the license plate number is also empty, query all authorized equipment of the account number |
| status |
number |
no |
1 |
online status, 0 not online 1 online, empty query all |
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"). |
| onlines | array | other Information |
| did | string | equipment No. |
| vid | string | if the license plate number is queried by equipment number, it is empty. |
| online | number | online status 1 means online, otherwise not online. |
Return Example
{
"result": 0,
"onlines": [
{
"vid": "S66666",
"online": 1,
"abbr": "",
"did": "013300000001"
}
]
}