POST api/FeatureRolePermission
Request Information
URI Parameters
None.
Body Parameters
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. |
Request Formats
application/json, text/json
Sample:
[ { "ID": 1, "UID": "ddc0195a-960e-4a69-b745-e38e57e37a39", "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": "ddc0195a-960e-4a69-b745-e38e57e37a39", "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>ddc0195a-960e-4a69-b745-e38e57e37a39</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>ddc0195a-960e-4a69-b745-e38e57e37a39</UID> <UserRoleID>6</UserRoleID> </FeatureRolePermissionDTO> </ArrayOfFeatureRolePermissionDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
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": "09288533-780e-4724-99b4-2da8bed3d340", "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": "09288533-780e-4724-99b4-2da8bed3d340", "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>09288533-780e-4724-99b4-2da8bed3d340</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>09288533-780e-4724-99b4-2da8bed3d340</UID> <UserRoleID>6</UserRoleID> </FeatureRolePermissionDTO> </ArrayOfFeatureRolePermissionDTO>