...
Loan Loss Provision API(s)
1)
...
http://serveraddress:port/mifosng-provider/api/vi/
...
loanprovision/
...
list
Optional optional request parameters for Create GET request
Code Block |
---|
{ "createjournalentriesoffset" : true0, "datelimit" : true, "recalculateprovisioning": true 15, } |
Request Parameters: "Date:date on which report to be generated, createjournalentry=true/false, regenerateprovisions:true/false, offset=number, limit=number", Method: GET
Description: This API should be used to generate loan loss provision entries.
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
Optional parameters for Create request
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 createjournalentry 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 createjournalentry createjournalentries is false then it will not create the journal entries. If regenerateprovisions recalculateprovisioning true, then it will delete previous provision entries if present and it will create new provision entries. If regenerateprovisions 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
Get Provisioning details
Code Block |
---|
|
2) http://serveraddress:port/mifosng-provider/api/vi/loanprovision/list
Request Parameters; "offset=number, limit=number', Method: GET
Description: This API will return the provision data on which provision entries are created.The request parameter 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 available data. MFI can select a particular date and can see the provision entries by using https://serveraddress:port/mifosng-provider/api/v1/loanprovision API. Please find the mock up screen below
entries in JSON data format
Optional parameters for Get Provisioning details
Code Block |
---|
{
"offset" : 0,
"limit" : 15,
} |
Loan Loss Provision Implementation in Mifos X:
...