GET v1/Entities({CompanyId})/SecurityRoles
Returns All the Security Roles 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
Request Information
URI Parameters
| Name | Description | Type | Additional information | 
|---|---|---|---|
| CompanyId | The unique Company Id that was provided in your onboarding pacakage | integer | Required | 
Body Parameters
None.
Response Information
Resource Description
All the Security Roles in a Company
Collection of GetSecurityRolesByCompanyReturn| Name | Description | Type | Additional information | 
|---|---|---|---|
| Id | integer | None. | |
| Name | string | None. | |
| SecurityModelVersion | integer | None. | |
| IsCrossEntity | boolean | None. | 
Response Formats
application/json, text/json
            Sample:
[
  {
    "Id": 1,
    "Name": "sample string 1",
    "SecurityModelVersion": 2,
    "IsCrossEntity": true
  },
  {
    "Id": 1,
    "Name": "sample string 1",
    "SecurityModelVersion": 2,
    "IsCrossEntity": true
  }
]