POST api/Perms/EditPermsByUser
Request Information
URI Parameters
None.
Body Parameters
PermsUserEditName | Description | Type | Additional information |
---|---|---|---|
UserId | string |
None. |
|
UserPerms | Collection of Permissions |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserId": "sample string 1", "UserPerms": [ { "Id": 1, "Type": 2, "Name": "sample string 3", "Description": "sample string 4", "Active": true }, { "Id": 1, "Type": 2, "Name": "sample string 3", "Description": "sample string 4", "Active": true } ] }
application/xml, text/xml
Sample:
<PermsUserEdit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CLVSPOS.DAO"> <UserId>sample string 1</UserId> <UserPerms> <Permissions> <Active>true</Active> <Description>sample string 4</Description> <Id>1</Id> <Name>sample string 3</Name> <Type>2</Type> </Permissions> <Permissions> <Active>true</Active> <Description>sample string 4</Description> <Id>1</Id> <Name>sample string 3</Name> <Type>2</Type> </Permissions> </UserPerms> </PermsUserEdit>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |