Evaluate
POST/rules/:name/evaluate
Evaluate rules with name {name}.
Request
Path Parameters
name stringrequired
The ruleset's name
- application/json
Body
required
The request body can contain fields with keys the names of the Rule Conditions and the names of placeholders in the condition values.
Responses
- 200
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
group string
An identifier for rules with similar condition checks as defined in the rules configuration
actions object
This object contains the results of the evaluation for based on the columns with label "ACTIONS" in the ruleset.
[
{
"group": "GR1",
"actions": {
"action1": 5,
"action2": "a"
}
}
]
Internal Server Error
Loading...