GET api/Permissions/{permissionId}

Gets the permission.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
permissionId

The permission identifier.

integer

Required

Body Parameters

None.

Response Information

Resource Description

The permission model.

ESignSystems.SmartSAFE.Models.Security.PermissionModel
NameDescriptionTypeAdditional 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
}

application/xml, text/xml

Sample:
<PermissionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ESignSystems.SmartSAFE.Models.Security">
  <Name>sample string 1</Name>
  <PermissionCategoryId>1</PermissionCategoryId>
  <PermissionId>1</PermissionId>
  <UserAssignmentCount>2</UserAssignmentCount>
</PermissionModel>