API – Rules Applied Settings for Loans
General
Rules Applied can make changes to Loan Settings. You can configure which rules will trigger which changes either using the UI or through the LoanPro API, which is explained here.
How To
To change a rules applied settings for a loan, send a PUT request to the loan on which the setting should be modified. This URL is unique to each loan and contains the loan ID. A loan with the ID of 101, for example, would look like this:
https://loanpro.simnang.com/api/public/api/1/odata.svc/Loans(101)
If you don't know a loan's ID, see our article on Finding Loan and Customer IDs.
Below is the body request:
{
"RuleAppliedLoanSettings": {
"results": [
{
"__id": 1,
"enabled": true,
"__destroy": false
}
]
}
}
__id | The ID of the rule applied settings (found in tenant settings) |
enabled | Whether or not the rule application is enabled for the loan |
__destroy | Whether or not you want to destroy the promise on the loan. |