...
Loan Loss Provision API(s)
1) http://serveraddress:port/mifosng-provider/api/vi/loanprovision/list
optional request parameters for GET request
Code Block |
---|
{ "offset" : 0, "limit" : 15, } |
...
Description: This API will return the provision data on which provision report is created.The request parameter offset and limit are used for the pagination. Organization can select a particular date and can view the provision report. Please find the mock up screen below
2) https://serveraddress:port/mifosng-provider/api/v1/loanprovisioning
...
Code Block |
---|
{ "createjournalentries" : true, "date" : true, "recalculateprovisioning": true } |
...
Description: This API should be used to generate loan loss provision entries. Date request parameter indicates on which the provision entries should be created. If createjournalentries parameter is true, then loan loss provision details will be added into journal entry. Before creating new journal entries, it will reverse previous journal entries if they present. If createjournalentries is false then it will not create the journal entries. If recalculateprovisioning true, then it will delete previous provision entries if present and it will create new provision entries. If recalculateprovisioning is false, it will return previous provision entries if present.The request parameters offset and limit are used for the pagination. This method will return list of provision entries in JSON data format
Optional parameters for Get Provisioning details
Code Block |
---|
{ "summaryview=false", "branch=all", "offset" : 0, "limit" : 15, } |
Loan Loss Provision Implementation in Mifos X:
...