Interface Description
Add a user account to use as a monitoring account.
Request Example
https://v7.cmsv8.com/StandardApiAction_mergeUserAccount.action?jsession=66d754dd7f41473dbd2&account=cmsv6&cid=1&roleId=1&password=cmsv6&level=1&validity=2024-12-01&name=cmsv6
Request Paramete
| Parameter name |
Parameter type |
Is required |
Example |
Description |
| jsession |
string |
Yes |
66d754dd7f41473dbd2 |
Session number |
| account |
string |
Yes |
cmsv6 |
User account |
| roleId |
string |
Yes |
1 |
Role Permission Id (multiple in English, split) |
| cid |
number |
Yes |
1 |
Organization ID |
| encryptPwd |
number |
No |
|
Account password (MD5 encryption) |
| password |
number |
No |
cmsv6 |
Clear text password [encryptPwd is preferred, if the encryptPwd and password are both empty, the default is 000000] |
| name |
string |
No |
cmsv6 |
User name (default account name) |
| status |
number |
no |
1 |
user usage status 0- disabled, 1- application default 1 |
| modifyPassword |
number |
No |
0 |
Whether to prohibit password modification 0- No 1- Yes; Default 0 |
| singleLogin |
number |
no |
0 |
single sign- on: 0- no 1- yes; default 0 |
| level |
number |
no |
1 |
user level: 0- 4 [corresponding I- V]; Default 0 |
| validity |
string |
No |
2024-12-01 |
Account Validity Period [Format: 2024-12-01] |
| id |
string |
No |
|
Used when modifying user information. If the user ID cannot be found, add the user ID. [It is recommended to read before modifying] |
| # Return Parameter |
|
|
|
|
| Parameter Name | parameter Type | meaning of parameters |
|---|
| result | number | 0 indicates success, others indicate failure, [error code description](https://help.cmsv8.com/helpCenter/doc/index.html?isStudy=1&pageType=3&docId=1321&type=1&lang=en "error code description") |
| id | number | user id |
Return Example
{
"result": 0
"id": 18
}