Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Loan Loss Provision API(s)

1) https://serveraddress:port/mifosng-provider/api/v1/

...

loanprovision

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. Date request parameter indicates on which the provision entries should be created. If createjournalentry 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 is false then it will not create the journal entries. If regenerateprovisions 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

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 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.