Rule Flow Solver API (DEPRECATED)
In version 1.16.0 and newer you can solve your ruleflow with Rule Solver API endpoint.
Rule flow Solver API endpoint is now depreated.
Solves desired RuleFlow stored in decisionRules.
post
https://api.decisionrules.io/
composition/solve/:ruleFlowId/:version
RuleFlow Solver
URL
https://api.decisionrules.io/composition/solve/:ruleFlowId/:version
Headers:
Content-Type: application/json
Authorization: Bearer DOZpz-h6xnOrKGIINlYvkd9hn41pRR3oG6cqH
Note that you can use rule alias instead of rule ID to identify the rule flow. In that case, make sure that the rule alias is unique within the space, otherwise the request will fail.
{
"data": {
// INPUT OBJECT
}
}
{
"data": {
"package": {
"age": 30,
"salary": 4000,
"loanType": "household",
"loan": 30000
}
}
}
Last modified 2mo ago