Versions Compared

Key

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

...

API to link loan modules to Shares module ( also modify savings products to have this API linkage) for automatic management of Compulsory Savings needed for Loan proceeds. e.g 20,000 loan may require one to have 3 shares and 15% loan amount as compulsory savings, 45,000 loan may require 5 shares and 15% loan amount as compulsory savings and this should be a loan checker hence if condition is not met then loan proceeds fails.

Product Level API(s)

List all Share Products

Request Method: GET
https://server:port/mifosng-provider/api/v1/shareproducts

Get Share Product Details

Request Method: GET
https://server:port/mifosng-provider/api/v1/shareproducts/1?template=true

Preview of the Dividend Calculation for Individual Accounts

Request Method: GET
https://server:port/mifosng-provider/api/v1/shareproducts/1?command=previewdividends

Modify Share Product

Request Method: PUT
https://server:port/mifosng-provider/api/v1/shareproducts/1

Create a Share Product

Request Method: POST
https://server:port/mifosng-provider/api/v1/shareproducts

Post Dividends to Individual Accounts

Request Method: POST
https://server:port/mifosng-provider/api/v1/shareproducts/1?command=giveoutdividends

Notes

Questions

Below is a list of questions to be addressed as a result of this requirements document:

...