POST api/admin/RoleApi/UpdateRoleMaster
Request Information
URI Parameters
None.
Body Parameters
UpdateRoleMasterName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
OldRoleName | string |
None. |
|
NewRoleName | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "OldRoleName": "sample string 2", "NewRoleName": "sample string 3" }
application/xml, text/xml
Sample:
<UpdateRoleMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAWModels.postModel.Role"> <Id>1</Id> <NewRoleName>sample string 3</NewRoleName> <OldRoleName>sample string 2</OldRoleName> </UpdateRoleMaster>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.