Entity Business Rules - Enabled Rules¶
/api/repositories/{repository}/entities/{entityID}/businessrules/enabledrules
| Parameter | Type | Purpose |
|---|---|---|
| repository | string | The name of the Repository to access |
| entityID | int | The ID of the entity to view |
-
GET/api/repositories/(string: repository)/entities/(int: entityID)/businessrules/enabledrules¶ Get the enabled rules of the entity.
GET /api/repositories/alpha/entities/1/businessrules/enabledrules
Accept: application/json
| Response Code | Reason |
|---|---|
| 200 | No error |
| 500 | Server error |
Paging is supported for this GET request using Standard URL Query String.
The underlying data rows can be returned in a JSON key/value pair by setting the external JSON format parameter. This allows access by different external tools that requires the JSON data in a key/value pair instead of standard array of row data with columns names defined separately.
The response is a Standard Response, with a list of the enabled rules. If external JSON format parameter was set then the details of the business rule will be returned in a JSON key/value pair format.