GET api/RolePermissions

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of RolePermissionDTO
NameDescriptionTypeAdditional 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.

Response 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
  },
  {
    "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:
<ArrayOfRolePermissionDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTO">
  <RolePermissionDTO>
    <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>
  <RolePermissionDTO>
    <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>
</ArrayOfRolePermissionDTO>