PUT api/RolePermissions?id={id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
RolePermissionDTOName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
UserRoleID | integer |
None. |
|
SystemModuleID | integer |
None. |
|
SystemModuleCode | string |
None. |
|
CanView | boolean |
None. |
|
CanCreate | boolean |
None. |
|
CanModify | boolean |
None. |
|
CanDelete | boolean |
None. |
|
CanReport | boolean |
None. |
|
CanSuspend | boolean |
None. |
|
CanAuthorise | boolean |
None. |
|
CanExtend | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "UserRoleID": 2, "SystemModuleID": 3, "SystemModuleCode": "sample string 4", "CanView": true, "CanCreate": true, "CanModify": true, "CanDelete": true, "CanReport": true, "CanSuspend": true, "CanAuthorise": true, "CanExtend": true }
application/xml, text/xml
Sample:
<RolePermissionDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTO"> <CanAuthorise>true</CanAuthorise> <CanCreate>true</CanCreate> <CanDelete>true</CanDelete> <CanExtend>true</CanExtend> <CanModify>true</CanModify> <CanReport>true</CanReport> <CanSuspend>true</CanSuspend> <CanView>true</CanView> <ID>1</ID> <SystemModuleCode>sample string 4</SystemModuleCode> <SystemModuleID>3</SystemModuleID> <UserRoleID>2</UserRoleID> </RolePermissionDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>