Interface description
Modify the device protocol, audio type, and manufacturer type parameters on the platform.
Complete API interface example
https://v7.cmsv8.com/StandardApiAction_editDevice.action?jsession=66d754dd7f41473dbd2&devIdno=013300000001&devType=7&factoryType=0&protocol=1&audioCodec=10&channelNum=4
Request parameters
| Parameter name |
Parameter type |
Whether it is required |
Example |
Parameter meaning |
| jsession |
string |
Yes |
66d754dd7f41473dbd2 |
Session number |
| devIdno |
string |
Yes |
013300000001 |
Device number |
| devType |
string |
No |
7 |
Device type 7 means video device, 5 means positioning device,- 7 means primary defense terminal |
| protocol |
string |
No |
3 |
0: Unknown 1: Department Mark (2011) 2: Department Mark (Beidou) 3: Department Mark 1078 (Video) 23:28181(2011) 15:28181(2016) |
| audioCodec |
string |
No |
10 |
0:UNKOWN 1:G726_40KBPS 2:ADPCM 3:G726_MEDIA_40KBPS 4:G726_MEDIA_32KBPS 5:G726_MEDIA_24KBPS 6:G726_MEDIA_16KBPS 7:G726_32KBPS 8:G726_24KBPS 9:G726_16KBPS 10:G711A 11:G711U 12:AAC_8KBPS 13:AAC_16KBPS 14:AMR 15:AAC_24KBPS 16:ADPCM_IMA 17:G711A_EX 18:G711U_EX 19:NELLY_8KBPS 20:PCM_8K 21:PCM_16K 22:AAC_32KBPS 23:AAC_40KBPS 24:AAC_44KBPS 25:AAC_48KBPS |
| factoryType |
number |
No |
0 |
Manufacturer Type 0 means unknown, 17 means GM,20 means HD 21 means FZE ,23 means HB,24 means BSJ 26 means HK ,28 means YX,29 means RM 44 means DW- N |
| channelNum |
number |
No |
4 |
Number of channels |
| model |
string |
No |
TTX- 007 |
Product Model |
| factory |
string |
No |
TTX |
Manufacturer |
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"). |
Return Example
{
"result": 0
}