POST api/Action/UpdateRoleAccess

Request Information

URI Parameters

None.

Body Parameters

RolesAccess
NameDescriptionTypeAdditional information
Id

integer

None.

RoleName

string

None.

ControllerName

string

None.

action

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RoleName": "sample string 2",
  "ControllerName": "sample string 3",
  "action": "sample string 4"
}

application/octet-stream

Sample:
{"$id":"1","Id":1,"RoleName":"sample string 2","ControllerName":"sample string 3","action":"sample string 4"}

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 'RolesAccess'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/octet-stream

Sample:

Sample not available.