Interface description
Obtain vehicle equipment number
Request Example
https://v7.cmsv8.com/StandardApiAction_getDeviceByVehicle.action?jsession=66d754dd7f41473dbd2&vehiIdno=S66666
Request parameters
| Parameter name |
Parameter type |
Whether it is required |
Example |
Parameter meaning |
| jsession |
string |
Yes |
66d754dd7f41473dbd2 |
Session number |
| vehiIdno |
string |
No |
S66666 |
License plate number (if the license plate number is blank, all authorized equipment of the account number will be queried) |
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"). |
| devices | array | |
| gbCode | string | |
| vid | string | license plate number |
| channel | object | number of channels |
| | CH1 | string | channel 1 |
| | CH2 | string | channel 2 |
| | CH3 | string | channel 3 |
| | CH4 | string | channel 4 |
| abbr | string | |
| type | number | device Type
1 means video device, 0 means positioning device, if there is only one device, it is both video device and positioning device. |
| did | string | equipment No. |
Return Example
{
"result": 0,
"devices": [
{
"gbCode": "34020000001110000033",
"vid": "S66666",
"channel": {
"CH1": "34020000001310000111",
"CH2": "34020000001310000112",
"CH3": "34020000001310000113",
"CH4": "34020000001310000114"
},
"abbr": "",
"type": 1,
"did": " 013300000001"
}
]
}