PUT api/bo/userRoles/{userRoleId}

Update User Role

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userRoleId

integer

Required

Body Parameters

m_user_role
NameDescriptionTypeAdditional information
UserRoleCode

string

Required

String length: inclusive between 0 and 2

UserRoleName

string

Required

String length: inclusive between 0 and 20

Request Formats

application/json, text/json

Sample:
{
  "UserRoleCode": "sample string 1",
  "UserRoleName": "sample string 2"
}

application/xml, text/xml

Sample:
<m_user_role xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KFA.Modules.Models.Backoffice">
  <UserRoleCode>sample string 1</UserRoleCode>
  <UserRoleName>sample string 2</UserRoleName>
</m_user_role>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.