Loan API REST Endpoints
ICL Services/Loan API
This service is used for Loan API
- Adds a new loan
- Method: postPath:
/loan
- Get all valid loan
- Method: getPath:
/loan
- Get pending loans for given customers
- Method: getPath:
/loan/pending/{lendingCustId}/{borrowingCustId}
- Initiate loan settlement
- Method: postPath:
/loan/{id}/initiateSettlement
- Record payment on an existing loan
- Method: patchPath:
/loan/{sweepLogId}/recordRepayment
- Reject an existing loan
- Method: patchPath:
/loan/{sweepLogId}/reject
- Retrieves the loan by ID
- Method: getPath:
/loan/{id}
- Update an existing loan
- Method: putPath:
/loan/{id}
- Update existing loan status
- Method: patchPath:
/loan/{sweepLogId}/updateLoanStatus/{loanStatus}
- Update sweep log ID
- Method: patchPath:
/loan/{id}/updateSweepLogID/{sweepLogId}