PUT api/Roles
修改角色
Request Information
URI Parameters
None.
Body Parameters
ID=[ID,Guid],Name=[Name,string],LogoUrl=[LogoUrl,string],CompanyCID=[节点ID,long?]
UploadParameters| Name | Description | Type | Additional information |
|---|---|---|---|
| u |
用户ID StaffID |
integer |
None. |
| t |
全局数据(加密) 1.单点登陆格式:[[用户密码,加密]|[requestTime]|[设备标识],加密] 2.其他数据通讯格式:[[用户ID]|[用户密码,加密]|[requestTime]|[设备标识],加密] |
string |
Required |
| d |
数据参数 加密(单点登陆除外) 不同API,参数格式不同 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"u": 1,
"t": "sample string 2",
"d": "sample string 3"
}
application/x-www-form-urlencoded
Sample:
u=Value&t=Value&d=Value
Response Information
Resource Description
修改角色
booleanResponse Formats
application/json, text/json
Sample:
true