put https://loanpro.simnang.com/api/public/api/1/odata.svc/ComputationFields()
This request edits a Computation Field.
{
"title": "API Import Test",
"round": "computationField.round.no",
"format": "computationField.format.currency",
"display": "computationField.display.loanSummary",
"rule": "(-> customer :primary :ssn-masked)",
"state": "{\"editor\":\"\",\"valid\":true,\"lisp\":\"(= (-> customer :primary :primary-pmt-method-type) \\\"'payment.methods.echeck\\\")\"}",
"__update": true,
"__id": 10
}
IMPORTANT
It is possible to import an invalid rule through the API. To ensure the rule is valid, it must be written in correct Clojure syntax and enclosed in parentheses.
Click here to learn more about this request
Field | Expected Value | Value Description |
---|---|---|
round | ||
computationField.round.* | Rounds the output to either 1,2,3,4,5, or 6 digits. Input the desired number of digits at the end. | |
computationFIeld.round.whole | Rounds the output to a whole number. | |
computationFIeld.round.no | Set this to not round the computation field number. | |
format | ||
computationField.format.currency | Output formatted as currency (defaults to tenant settings for currency type). | |
computationField.format.date | Output formatted as a date (date will be output in tenant default format unless specified in the rule). | |
computationField.format.number | Output formatted as a number. | |
display | ||
computationField.display.no | The computation field will be displayed no where. | |
computationField.display.loanSummary | Displays the computation field on the loan summary page. | |
computationField.display.loanSettings | Displays the computation field on the loan settings page. | |
computationField.display.insurance | Displays the computation field on the insurance page. | |
computationField.display.initialSetup | Displays the computation field in the initial setup wizard. | |
computationField.display.collateral | Displays the computation field on the collateral page. | |
computationField.display.adminStatsPaidOf | Displays the computation field in the admin stats of loans in "closed" stats. | |
computationField.display.adminStatsChargeOff | Displays the computation field in the admin stats of loans in "collection" stats. | |
computationField.display.adminStatsActive | Displays the computation field in the admin stats of loans in "standard" stats. |