API – Loan Checklist
General
This article covers modifying checklist items for existing loans. This is done through the API by sending a PUT request to the loan on which you wish to modify the checklist item value. It also assumes you already have an existing loan; if not, see Creating a Loan with the API.
To modify the checklist for a loan, you will need to send a PUT request to the url of the desired loan. For example, to modify the loan with the id 515, the url would be https://loanpro.simnang.com/api/public/api/1/odata.svc/Loans(515).
Request Body
{
"ChecklistItemValues": {
"results": [
{
"checklistId": 1,
"checklistItemId": "8",
"checklistItemValue": 1
}
]
}
}
- checklistId – The ID of the checklist
- checklistItemId – The ID of the item on the checklist
- checklistItemValue – The value to set the checklist item to (1 = checked, 0 = unchecked)