GET api/Permissions
Gets all permissions.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
A list of permission models.
Collection of ESignSystems.SmartSAFE.Models.Security.PermissionModelName | Description | Type | Additional information |
---|---|---|---|
PermissionId |
Gets or sets the primary key of the Permission. |
integer |
None. |
Name |
Gets or sets the Name. |
string |
Max length: 256 |
PermissionCategoryId |
Gets or sets the permission category identifier. |
integer |
Required |
UserAssignmentCount |
Gets or sets the UserAssignmentCount. |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "PermissionId": 1, "Name": "sample string 1", "PermissionCategoryId": 1, "UserAssignmentCount": 2 }, { "PermissionId": 1, "Name": "sample string 1", "PermissionCategoryId": 1, "UserAssignmentCount": 2 } ]
application/xml, text/xml
Sample:
<ArrayOfPermissionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ESignSystems.SmartSAFE.Models.Security"> <PermissionModel> <Name>sample string 1</Name> <PermissionCategoryId>1</PermissionCategoryId> <PermissionId>1</PermissionId> <UserAssignmentCount>2</UserAssignmentCount> </PermissionModel> <PermissionModel> <Name>sample string 1</Name> <PermissionCategoryId>1</PermissionCategoryId> <PermissionId>1</PermissionId> <UserAssignmentCount>2</UserAssignmentCount> </PermissionModel> </ArrayOfPermissionModel>