Interface description
Equipment control
Request Example
https://v7.cmsv8.com/StandardApiAction_vehicleControlOthers.action?jsession=66d754dd7f41473dbd2&DevIDNO=013300000001&CtrlType=1&Usr=cmsv6&Pwd=cmsv6
Request parameters
| Parameter name |
Parameter type |
Is required |
Example |
Description |
| jsession |
string |
Yes |
66d754dd7f41473dbd2 |
Session number |
| DevIDNO |
string |
Yes |
013300000001 |
Device number |
| CtrlType |
number |
is |
1 |
control command type 1 means to disconnect the oil circuit; 2 means to restore the oil circuit; 3 means to turn off the power supply; 4 means to turn on the power supply; 5 means to restart the equipment; 6 means to restore factory settings; 7 means sleep; 8 means wake up; 9 means to turn on the device for recording (the high two bytes are the channel number of recording, and the low two bytes are instructions, for example, the sending instruction of channel 1 is Number(0<<16) Number(9));10 means to turn off the device recording (the high two bytes are the channel number of the recording, and the low two bytes are the instruction);11 means that the client starts polling this channel (the high two bytes are the channel number, and the low two bytes are the instruction) 12 means that the client stops polling this channel (the high two bytes are the channel number, the lower two bytes are instructions). 13 means that the logging function is started (the upper two bytes greater than 0 means writing the log, and 0 means not writing the log). 14 indicates that the hard disk is formatted (the high bit indicates the hard disk number, the hard disk number starts from 0, and the low bit indicates the command number, for example, the sending instruction of hard disk 1 is Number(0<<16) Number(14));15 indicates that mileage is cleared; 16 indicates forward rotation (the high two bytes are channel numbers and the low two bytes are instructions). 17 represents the reverse flip (the high two bytes are the channel number and the low two bytes are the instructions). 18 indicates that the alarm is cleared. 19 indicates switching cameras. 20 indicates the start of recording (the upper two bytes are the channel number of recording, and the lower two bytes are instructions). 21 means to stop recording (the high two bytes are the channel number of recording, and the low two bytes are instructions). 22 indicates the end of the wifi download. 23 indicates that the device takes pictures. 24 indicates equipment recording (high bit indicates recording duration) |
| Usr |
string |
Yes |
cmsv6 |
Login account |
| Pwd |
string |
Yes |
cmsv6 |
The logon password requires md5 encryption |
Return parameters
| Parameter Name | parameter Type | meaning of parameters |
|---|
| cmsserver | number | server 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"). |
Return Example
{
"cmsserver": 1
"result": 0
}