GET api/v1/Role/GetTenantPermissionInfo
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of PermissionsName | Description | Type | Additional information |
---|---|---|---|
PermissionId | integer |
None. |
|
PermissionKey | string |
None. |
|
PermissionName | string |
None. |
|
AssociatedRoles | string |
None. |
|
lstRoles | Collection of Role |
None. |
Response Formats
application/json, text/json
Sample:
[ { "PermissionId": 1, "PermissionKey": "sample string 2", "PermissionName": "sample string 3", "AssociatedRoles": "sample string 4", "lstRoles": [ { "RoleName": "sample string 1", "RoleID": 2, "IsUserInRole": true, "IsSelected": true, "IsMenuselected": 5, "IsDefault": 6 }, { "RoleName": "sample string 1", "RoleID": 2, "IsUserInRole": true, "IsSelected": true, "IsMenuselected": 5, "IsDefault": 6 } ] }, { "PermissionId": 1, "PermissionKey": "sample string 2", "PermissionName": "sample string 3", "AssociatedRoles": "sample string 4", "lstRoles": [ { "RoleName": "sample string 1", "RoleID": 2, "IsUserInRole": true, "IsSelected": true, "IsMenuselected": 5, "IsDefault": 6 }, { "RoleName": "sample string 1", "RoleID": 2, "IsUserInRole": true, "IsSelected": true, "IsMenuselected": 5, "IsDefault": 6 } ] } ]
text/html
Sample:
[{"PermissionId":1,"PermissionKey":"sample string 2","PermissionName":"sample string 3","AssociatedRoles":"sample string 4","lstRoles":[{"RoleName":"sample string 1","RoleID":2,"IsUserInRole":true,"IsSelected":true,"IsMenuselected":5,"IsDefault":6},{"RoleName":"sample string 1","RoleID":2,"IsUserInRole":true,"IsSelected":true,"IsMenuselected":5,"IsDefault":6}]},{"PermissionId":1,"PermissionKey":"sample string 2","PermissionName":"sample string 3","AssociatedRoles":"sample string 4","lstRoles":[{"RoleName":"sample string 1","RoleID":2,"IsUserInRole":true,"IsSelected":true,"IsMenuselected":5,"IsDefault":6},{"RoleName":"sample string 1","RoleID":2,"IsUserInRole":true,"IsSelected":true,"IsMenuselected":5,"IsDefault":6}]}]
text/xml
Sample:
<ArrayOfPermissions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShotClassCore.Models"> <Permissions> <AssociatedRoles>sample string 4</AssociatedRoles> <PermissionId>1</PermissionId> <PermissionKey>sample string 2</PermissionKey> <PermissionName>sample string 3</PermissionName> <lstRoles> <Role> <IsDefault>6</IsDefault> <IsMenuselected>5</IsMenuselected> <IsSelected>true</IsSelected> <IsUserInRole>true</IsUserInRole> <RoleID>2</RoleID> <RoleName>sample string 1</RoleName> </Role> <Role> <IsDefault>6</IsDefault> <IsMenuselected>5</IsMenuselected> <IsSelected>true</IsSelected> <IsUserInRole>true</IsUserInRole> <RoleID>2</RoleID> <RoleName>sample string 1</RoleName> </Role> </lstRoles> </Permissions> <Permissions> <AssociatedRoles>sample string 4</AssociatedRoles> <PermissionId>1</PermissionId> <PermissionKey>sample string 2</PermissionKey> <PermissionName>sample string 3</PermissionName> <lstRoles> <Role> <IsDefault>6</IsDefault> <IsMenuselected>5</IsMenuselected> <IsSelected>true</IsSelected> <IsUserInRole>true</IsUserInRole> <RoleID>2</RoleID> <RoleName>sample string 1</RoleName> </Role> <Role> <IsDefault>6</IsDefault> <IsMenuselected>5</IsMenuselected> <IsSelected>true</IsSelected> <IsUserInRole>true</IsUserInRole> <RoleID>2</RoleID> <RoleName>sample string 1</RoleName> </Role> </lstRoles> </Permissions> </ArrayOfPermissions>