Interface description
Add equipment to the platform, usually with the license plate number at the same time.
Complete API interface example
https://v7.cmsv8.com/StandardApiAction_addDevice.action?jsession=66d754dd7f41473dbd2&devIdno=013300000001&protocol=3&devType=7&factoryType=0&companyName=cmsv6&account=cmsv6&channelNum=2
Request parameters
| Parameter name |
Parameter type |
Whether it is required |
Example |
Parameter meaning |
| jsession |
string |
Yes |
66d754dd7f41473dbd2 |
Session Number |
| devIdno |
string |
Yes |
013300000001 |
Equipment No. |
| protocol |
string |
Yes |
3 |
0: Unknown 1: Ministry Mark (2011) 2: Ministry Mark (Beidou) 3: Ministry Mark 1078 (Video) 23:28181(2011) 15:28181(2016) |
| devType |
string |
Yes |
7 |
Device type 7 indicates video device, 5 indicates positioning device, and - 7 indicates main defense terminal |
| companyName |
string |
Yes |
cmsv6 |
If the company name does not exist, add a Chinese reference, format reference |
| account |
string |
No |
None |
Main account number: the company does not need to account, the company does not exist must be account |
| factoryType |
number |
Yes |
0 |
Manufacturer type 0 means unknown, 17 means GM,20 means HD21 means FZE ,23 means HB,24 means BSJ26 means HK ,28 means YX,29 means RM44 means DW- N |
| channelNum |
number |
No |
4 |
Number of channels |
| model |
string |
No |
TTX- 007 |
Product Model |
| factory |
string |
No |
MK |
Product Manufacturer |
| audioCodec |
number |
No |
10 |
0:UNKOWN 1:G726_40KBPS 2:ADPCM 3:G726_MEDIA_40KBPS 4:G726_MEDIA_32KBPS5:G726_MEDIA_24KBPS 6:G726_MEDIA_16KBPS 7:G726_32KBPS 8:G726_24KBPS9:G726_16KBPS 10:G711A 11:G711U 12:AAC_8KBPS 13:AAC_16KBPS14:AMR 15:AAC_24KBPS 16:ADPCM_IMA 17:G711A_EX18:G711U_EX 19:NELLY_8KBPS 20:PCM_8K 21:PCM_16K 22:AAC_32KBPS 23:AAC_40KBPS 24:AAC_44KBPS 25:AAC_48KBPS |
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"). |
Return Example
{
"result": 0
}