GET api/FeatureRolePermission?roleID={roleID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
roleID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of FeatureRolePermissionDTOName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
UID | globally unique identifier |
None. |
|
FeatureID | integer |
None. |
|
FeatureModuleID | integer |
None. |
|
FeatureCode | string |
None. |
|
UserRoleID | integer |
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. |
Response Formats
application/json, text/json
Sample:
[ { "ID": 1, "UID": "96fb3d0a-288a-4066-8613-02a2341a008b", "FeatureID": 3, "FeatureModuleID": 4, "FeatureCode": "sample string 5", "UserRoleID": 6, "CanView": true, "CanCreate": true, "CanModify": true, "CanDelete": true, "CanReport": true, "CanSuspend": true, "CanAuthorise": true, "CanExtend": true }, { "ID": 1, "UID": "96fb3d0a-288a-4066-8613-02a2341a008b", "FeatureID": 3, "FeatureModuleID": 4, "FeatureCode": "sample string 5", "UserRoleID": 6, "CanView": true, "CanCreate": true, "CanModify": true, "CanDelete": true, "CanReport": true, "CanSuspend": true, "CanAuthorise": true, "CanExtend": true } ]
application/xml, text/xml
Sample:
<ArrayOfFeatureRolePermissionDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTO"> <FeatureRolePermissionDTO> <CanAuthorise>true</CanAuthorise> <CanCreate>true</CanCreate> <CanDelete>true</CanDelete> <CanExtend>true</CanExtend> <CanModify>true</CanModify> <CanReport>true</CanReport> <CanSuspend>true</CanSuspend> <CanView>true</CanView> <FeatureCode>sample string 5</FeatureCode> <FeatureID>3</FeatureID> <FeatureModuleID>4</FeatureModuleID> <ID>1</ID> <UID>96fb3d0a-288a-4066-8613-02a2341a008b</UID> <UserRoleID>6</UserRoleID> </FeatureRolePermissionDTO> <FeatureRolePermissionDTO> <CanAuthorise>true</CanAuthorise> <CanCreate>true</CanCreate> <CanDelete>true</CanDelete> <CanExtend>true</CanExtend> <CanModify>true</CanModify> <CanReport>true</CanReport> <CanSuspend>true</CanSuspend> <CanView>true</CanView> <FeatureCode>sample string 5</FeatureCode> <FeatureID>3</FeatureID> <FeatureModuleID>4</FeatureModuleID> <ID>1</ID> <UID>96fb3d0a-288a-4066-8613-02a2341a008b</UID> <UserRoleID>6</UserRoleID> </FeatureRolePermissionDTO> </ArrayOfFeatureRolePermissionDTO>