GET v1/Entities({CompanyId})/SecurityRoles({SecurityRoleId})/Permissions

Returns All the Permissions for a Security Role in a Company

Information:

Base URL:

https://api.covasoft.net/usermanager

Example of a call would be:

https://api.covasoft.net/usermanager/v1/Entities({CompanyId})/SecurityRoles({SecurityRoleId})/Permissions

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CompanyId

The unique Company Id that was provided in your onboarding pacakage

integer

Required

SecurityRoleId

The Security Role Id for which you want Permissions

integer

Required

Body Parameters

None.

Response Information

Resource Description

All the Permissions for a Security Role in a Compnay

Collection of GetPermissionsforSecurityRoleReturn
NameDescriptionTypeAdditional information
Id

integer

None.

Code

string

None.

Name

string

None.

Description

string

None.

Category

string

None.

ParentPermissionId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Code": "sample string 2",
    "Name": "sample string 3",
    "Description": "sample string 4",
    "Category": "sample string 5",
    "ParentPermissionId": 1
  },
  {
    "Id": 1,
    "Code": "sample string 2",
    "Name": "sample string 3",
    "Description": "sample string 4",
    "Category": "sample string 5",
    "ParentPermissionId": 1
  }
]