API - Get Computation Fields

General

If you want to see the list of computation fields for you company, you can use the following endpoint:

GET https://loanpro.simnang.com/api/public/api/1/odata.svc/ComputationFields

The response will look something like this:

{
"d": {
"results": [
{
"__metadata": {
"uri": "https://loanpro.simnang.com/api/public/api/1/odata.svc/ComputationFields(id=1)",
"type": "Entity.ComputationField"
},
"id": 1,
"title": "Date Last Current",
"round": "computationField.round.no",
"format": "computationField.format.date",
"display": "computationField.display.loanSummary",
"rule": "(u/date-- current-date status-days-past-due)",
"state": "{\"lisp\":\"(u/date-- current-date status-days-past-due)\",\"valid\":true}",
"entityType": "Entity.Loan",
"created": "/Date(1552416960)/",
"field": "date-last-current"
},
{
"__metadata": {
"uri": "https://loanpro.simnang.com/api/public/api/1/odata.svc/ComputationFields(id=2)",
"type": "Entity.ComputationField"
},
"id": 2,
"title": "Primary Payment Method",
"round": "computationField.round.no",
"format": "computationField.format.date",
"display": "computationField.display.loanSummary",
"rule": "status-amount-due",
"state": "{\"editor\":\"\",\"valid\":false,\"lisp\":\"status-amount-due\"}",
"entityType": "Entity.Loan",
"created": "/Date(1558715097)/",
"field": "primary-payment-method"
}
],
"summary": {
"start": 0,
"pageSize": 50,
"total": 2
}
}
}


How did we do?


Powered by HelpDocs (opens in a new tab)