POST Admin/SaveOrUpdateRolePrivilege

Request Information

URI Parameters

None.

Body Parameters

RolePrivilegeSaveOrUpdateBindingModel
NameDescriptionTypeAdditional information
RoleId

string

Required

PrivilegeId

string

None.

Id

integer

None.

MenuId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "RoleId": "sample string 1",
  "PrivilegeId": "sample string 2",
  "Id": 3,
  "MenuId": "sample string 4"
}

application/xml, text/xml

Sample:
<RolePrivilegeSaveOrUpdateBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HLSClientPortal.Models">
  <Id>3</Id>
  <MenuId>sample string 4</MenuId>
  <PrivilegeId>sample string 2</PrivilegeId>
  <RoleId>sample string 1</RoleId>
</RolePrivilegeSaveOrUpdateBindingModel>

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

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />