PUT api/Role/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
Body Parameters
RoleParam| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
Required String length: inclusive between 0 and 150 |
|
| Description | string |
Required String length: inclusive between 0 and 150 |
|
| IsMasking | boolean |
Required |
|
| IsDefault | boolean |
Required |
|
| MenuIds | Collection of integer |
Required |
|
| Action | string |
Required |
|
| UserId | string |
None. |
|
| UserName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"Description": "sample string 2",
"IsMasking": true,
"IsDefault": true,
"MenuIds": [
1,
2
],
"Action": "sample string 5",
"UserId": "sample string 6",
"UserName": "sample string 7"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.