POST Admin/SaveOrUpdateUserPrivilege
Request Information
URI Parameters
None.
Body Parameters
UserPrivilegeSaveOrUpdateBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | string |
Required |
|
| PrivilegeId | string |
None. |
|
| Id | integer |
None. |
|
| MenuId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": "sample string 1",
"PrivilegeId": "sample string 2",
"Id": 3,
"MenuId": "sample string 4"
}
application/xml, text/xml
Sample:
<UserPrivilegeSaveOrUpdateBindingModel 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> <UserId>sample string 1</UserId> </UserPrivilegeSaveOrUpdateBindingModel>
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/" />