PUT api/bo/permissions/{permissionId}
Update Permission
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| permissionId | integer |
Required |
Body Parameters
m_permission| Name | Description | Type | Additional information |
|---|---|---|---|
| Create | boolean |
None. |
|
| Read | boolean |
None. |
|
| Update | boolean |
None. |
|
| Delete | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Create": true,
"Read": true,
"Update": true,
"Delete": true
}
application/xml, text/xml
Sample:
<m_permission xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Project.Modules.Models.Backoffice"> <Create>true</Create> <Delete>true</Delete> <Read>true</Read> <Update>true</Update> </m_permission>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.