Purpose
To get the entitlement by user, asset and account using Sectona API interface.
Accessing the API
|
HTTP METHOD
|
Parameters
|
Parameters |
Data type |
Required |
Description |
|---|---|---|---|
|
EntitlementType |
String |
Yes |
All/User |
|
Username |
String |
No |
Required if entitlement type is User. |
|
AssetHost |
String |
No |
Asset Host |
|
AccountName |
String |
No |
Account |
|
Instance |
String |
YES |
Instance name |
Sample Request (JSON)
|
Sample Response (JSON)
|
Standard Error Response Codes
|
Error Code |
Error Description |
|---|---|
|
011649 |
Current user doesn’t have permission to take action |
|
011651 |
The authorization header is either empty or not basic |
|
011673 |
Invalid credentials |
|
011674 |
Invalid credentials |
|
011675 |
Unable to validate request |
|
011683 |
Invalid instance name |
|
011803 |
Unable to insert API log details |
|
032417 |
Unable to get entitlement information |
|
011656 |
Invalid directory store |
|
011671 |
Invalid account name |
|
011685 |
Unable to get asset information |
|
011690 |
Account does not belong to asset |
|
011805 |
Unable to get user group |
|
011853 |
Requested asset is not valid |