PUT api/Role

Update role

Request Information

URI Parameters

None.

Body Parameters

Role
NameDescriptionTypeAdditional information
RoleId

integer

None.

Name

string

None.

SysName

string

None.

IsSystem

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "roleId": 1,
  "name": "sample string 2",
  "sysName": "sample string 3",
  "isSystem": true
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Role'.

Response Information

Resource Description

None.