Business Rule Permissions¶
/api/repositories/{repository}/entities/{entityID}/businessrules/{ruleID}/permissions
Parameter | Type | Purpose |
---|---|---|
repository | string | The name of the Repository the entity is in |
entityID | int | The ID of the Entity the rule belongs to |
ruleID | int | The ID of the desired rule |
-
GET
/api/repositories/
(string: repository)/entities/
(int: entityID)/businessrules/
(int: ruleID)/permissions
¶ Get list of edit and delete permissions for a business rule
GET /api/repositories/jupiter/entities/1/businessrules/1/permissions HTTP/1.1
Accept: application/json
Response Code | Reason |
---|---|
200 | No error |
500 | Server error |
The response is a Standard Response, with the details of edit and delete permissions for the business rule.
{
"EDIT": "1",
"DELETE": "1"
}
The value of EDIT and DELETE fields will be either 1 or 0 depending on whether the user can edit/delete business rules from the given entity.