GET api/v3/permissions.{json|xml}
Scopes
Security(Roles and Permissions) › Read Permissions security.permissions.readonly
Request Parameters
| Name | Type | Location | Description | Required | Default | Options |
|---|---|---|---|---|---|---|
| ApplicationId | Guid | Query String | Application Id where the permission is being granted. If neither Group Id nor Application Id is provided, the permisison will be granted to the site root. | Optional | ||
| GroupId | int | Query String | Group Id where the permission is being granted. If neither Group Id nor Application Id is provided, the permisison will be granted to the site root. | Optional | ||
| RoleId | int | Query String | Role Id being granted the permission | Required |
Example Requests
Widget Javascript
jQuery.telligent.evolution.get({
url: jQuery.telligent.evolution.site.getBaseUrl() + 'api/v3/permissions.json?RoleId=6',
data: {
'RoleId': '6'
}
}).then(function(response) {
// use response
});Example Responses
JSON
{
"Permission": {"Warnings":[],"Errors":[]},
"Errors": ["string","string"]
}XML
<?xml version="1.0" encoding="utf-16"?>
<Response>
<Permission />
<Errors>
<Message>string</Message>
<Message>string</Message>
</Errors>
</Response>