Edit Plant browsing account
Parameter | Description | Required |
---|---|---|
action | editPlantBrowser | True |
uid | Plant viewer id | True |
pwd | Password, encrypted by RC4 (SECRET, SHA-1 (PWD)) | False |
False | ||
mobile | mobile phone | False |
qname | Nickname | False |
photo | Avatar | False |
cname | Company name | False |
ctel | Company phone | False |
rid | Custom Role ID | False |
desc | Description | False |
pid | Plant IDs to be retrieved, multiple separated by ',' | Fasle |
When all optional parameters are not passed, it means there is no need to modify them. Passing a null value means leaving the parameter blank, such as "&cname=", which can leave the company name blank
response: No text
{
"err":0,
"desc":"ERR_NONE"
}
Possible errors:
Response error code | Description | Details |
---|---|---|
0x0006 | ERR_FORMAT_ERROR | Format error |
0x0105 | ERR_NOT_FOUND_USR | User not found |
0x0170 | ERR_NOT_FOUND_DEFINEDROLE | Role not found |