Returns collection of saving products in JSON format.
/api/sacco_savingproducts/list or /api/sacco_savingproducts/list?start={start}&limit={limit}
PROPERTY | DESCRIPTION |
---|---|
Method | GET |
Response formats | JSON |
Requires authentication? | Yes |
PARAM | TYPE | REQUIRED/OPTIONAL | DESCRIPTION |
---|---|---|---|
companyId |
number | required | specify sacco company |
start |
number | optional | Specify beginning of paging |
limit |
number | optional | Specify end of paging |
Response
{ "count": 1, "list": [ { "compulsory": null, "memberClassId": null, "memberClassName": null, "companyId": 36765664, "minActivePeriod": 0, "interestDeclAccId": null, "interestWhtAccId": null, "withdrawPayableAccId": null, "id": 36768364, "effectiveDate": 1577826000000, "name": "DEPOSIT/CONTRIBUTION", "code": "SA001", "descr": "", "initialMinAmount": null, "initialMaxAmount": null, "accountMinBal": 0.00, "accountMaxBal": null, "interestEarnMinBal": 0.00, "interestEarnMaxBal": null, "interestFreq": "ANNUALLY", "guaranteeRate": null, "status": null, "depositFreq": "MONTHLY", "depositMode": null, "depositMinAmount": 2000.00, "depositMaxAmount": null, "accountTransferable": null, "memberTransferable": null, "collateralAssignable": null, "guaranteeAssignable": null, "withdrawable": null, "interestPostingFreq": null, "allowRegularTxn": null, "atmCardEligible": null } ] }
Returns saving product details in JSON format. ID must be provided as path parameter.
/api/sacco_savingproducts/load/{id}
PROPERTY | DESCRIPTION |
---|---|
Method | GET |
Response formats | JSON |
Requires authentication? | Yes |
Always specify companyId
param
PARAM | TYPE | REQUIRED/OPTIONAL | DESCRIPTION |
---|---|---|---|
id |
number | required | The ID of the bank to load details. |
HTTP Status Code | Reason |
---|---|
200 |
Found Record |
404 |
Record not found |
405 |
Invalid input |
500 |
Internal server error |
Response
{ "compulsory": null, "memberClassId": null, "memberClassName": null, "companyId": 36765664, "minActivePeriod": 0, "interestDeclAccId": null, "interestWhtAccId": null, "withdrawPayableAccId": null, "id": 36768364, "effectiveDate": 1577826000000, "name": "DEPOSIT/CONTRIBUTION", "code": "SA001", "descr": "", "initialMinAmount": null, "initialMaxAmount": null, "accountMinBal": 0.00, "accountMaxBal": null, "interestEarnMinBal": 0.00, "interestEarnMaxBal": null, "interestFreq": "ANNUALLY", "guaranteeRate": null, "status": null, "depositFreq": "MONTHLY", "depositMode": null, "depositMinAmount": 2000.00, "depositMaxAmount": null, "accountTransferable": null, "memberTransferable": null, "collateralAssignable": null, "guaranteeAssignable": null, "withdrawable": null, "interestPostingFreq": null, "allowRegularTxn": null, "atmCardEligible": null }