POST Admin/SaveOrUpdatePrivilege

Request Information

URI Parameters

None.

Body Parameters

PrivilegeSaveOrUpdateBindingModel
NameDescriptionTypeAdditional information
Name

string

Required

PrivilegeId

integer

None.

Status

integer

None.

OrderBy

integer

None.

Menu

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "PrivilegeId": 2,
  "Status": 3,
  "OrderBy": 4,
  "Menu": 5
}

application/xml, text/xml

Sample:
<PrivilegeSaveOrUpdateBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HLSClientPortal.Models">
  <Menu>5</Menu>
  <Name>sample string 1</Name>
  <OrderBy>4</OrderBy>
  <PrivilegeId>2</PrivilegeId>
  <Status>3</Status>
</PrivilegeSaveOrUpdateBindingModel>

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

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/" />