POST Admin/SaveOrUpdatePrivilege
Request Information
URI Parameters
None.
Body Parameters
PrivilegeSaveOrUpdateBindingModelName | Description | Type | Additional 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:
Response Information
Resource Description
ObjectNone.
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/" />