Edit the project name
| parameter | description | required |
|---|---|---|
| action | editPlantEs | true |
| pid | Project id | true |
| name | Project name, length [1,64] | true |
| source | the User origin default to energy storage if not transmitted:1 | false |
| picBig | Project image, large image | false |
| picSmall | Project image, small image | falses |
if all optional parameters are not passed, means that they do not have to be modified, Passing a null value indicates that the parameter is set empty, such as: "&cname=", leave the company name blank.
response: no text
{
"err":0,
"desc":"ERR_NONE"
}
possible error:
| Returns an error code | description | detailed description |
|---|---|---|
| 0x0001 | ERR_FAIL | fail(update failure) |
| 0x0006 | ERR_FORMAT_ERROR | parameter error |
| 0x0104 | ERR_NOT_FOUND_PLANT | Projecr not found |
| 0x0008 | ERR_FORBIDDEN | Rejection (reject(invoked the projectowner/distributor/equipment manufacturer, rejected other roles) |
| 0x000B | ERR_NO_PERMISSION | No permission (the user does not have permission to operate on the project) |
| 0x010F | ERR_NONE_OPERATION | There are no modifications |