Hello guys.
I have a question to evaluate a decision definition.
When I use the API: “/decision-definition/key/{key}/evaluate”, can I send a input JSON variable? And return a JSON variable?
// Input Evaluate
{
“variables”:{
“bankAccount”:{
“value”:“{"accountNumber":"137000319524","routingNumber":"000000000","currentBalance":5000,"availableBalance":5000}”,
“type”:“Json”
}
}
}
// Response Evaluate
{
“close-audit-check”: {
“type”: “String”,
“value”: “FAIL”,
“valueInfo”: {}
},
“all-investors-accredited”: {
“type”: “String”,
“value”: “FAIL”,
“valueInfo”: {}
}
}
Regards,