From cf9a90042a0a028fd39eae1b8dd659ab3a4a34fd Mon Sep 17 00:00:00 2001 From: Pramod Nuthakki Date: Tue, 4 Mar 2014 10:43:49 +0530 Subject: [PATCH] MIFOSX-931 - added API doc for overdraft account --- api-docs/apiLive.htm | 73 +++++++++++++++++++++++++++++++++----------- 1 file changed, 55 insertions(+), 18 deletions(-) diff --git a/api-docs/apiLive.htm b/api-docs/apiLive.htm index a26e0af04..3cac9ece3 100644 --- a/api-docs/apiLive.htm +++ b/api-docs/apiLive.htm @@ -1978,6 +1978,13 @@ function executeAjaxRequest(url, verbType, jsonData, basicAuthKey, successFuncti The staffId of the staff member dealing with the client office. The staff member is not specifically the loan officer. + + savingsProductId + + + Optional: Default overdraft savings account of client + + @@ -2023,19 +2030,29 @@ GET https://DomainName/api/v1/clients/template { - "activationDate": [ - 2013, - 4, - 17 - ], - "officeId": 1, - "officeOptions": [ - { - "id": 1, - "name": "Head Office", - "nameDecorated": "Head Office" - } - ] + "activationDate":[2014,3,4], + "officeId":1, + "officeOptions":[{ + "id":1, + "name":"Head Office", + "nameDecorated":"Head Office" + }], + "staffOptions":[{ + "id":1, + "firstname":"xyz", + "lastname":"sjs", + "displayName":"sjs, xyz", + "officeId":1, + "officeName":"Head Office", + "isLoanOfficer":true, + "isActive":true + }], + "savingProductOptions":[{ + "id":4, + "name":"account overdraft", + "withdrawalFeeForTransfers":false, + "allowOverdraft":false + }] } @@ -2066,7 +2083,7 @@ GET https://DomainName/api/v1/clients/template
Optional Fields
- groupId, externalId, accountNo, staffId, mobileNo + groupId, externalId, accountNo, staffId, mobileNo, savingsProductId @@ -2086,14 +2103,16 @@ Content-Type: application/json Request Body: "locale": "en", "active": true, "activationDate": "04 March 2009", - "submittedOnDate":"04 March 2009" + "submittedOnDate":"04 March 2009", + "savingsProductId" : 4 } { "officeId": 1, "clientId": 1, - "resourceId": 1 + "resourceId": 1, + "savingsId": 10 } @@ -13157,6 +13176,13 @@ Content-Type: application/json product and the type of the accounting rule to be used Example Values:1=NONE,2=CASH_BASED + + allowOverdraft + Optional: If provided, depending on the value mark the savings account as overdraft account + + overdraftLimit + Optional: If provided, sets the maximum allowed overdraft amount for a savings account e.g. 5,000 else set the limit as zero + @@ -13728,7 +13754,7 @@ Content-Type: application/json
- +
Optional Fields
minRequiredOpeningBalance, lockinPeriodFrequency, lockinPeriodFrequencyType, withdrawalFeeForTransfers, paymentChannelToFundSourceMappings, feeToIncomeAccountMappings, penaltyToIncomeAccountMappings, charges
minRequiredOpeningBalance, lockinPeriodFrequency, lockinPeriodFrequencyType, withdrawalFeeForTransfers, paymentChannelToFundSourceMappings, feeToIncomeAccountMappings, penaltyToIncomeAccountMappings, charges, allowOverdraft, overdraftLimit
@@ -13775,6 +13801,8 @@ Request Body: "interestCalculationType": "1", "interestCalculationDaysInYearType": "365", "minRequiredOpeningBalance": "50", + "allowOverdraft":true, + "overdraftLimit":5000, "lockinPeriodFrequency": "4", "lockinPeriodFrequencyType": "1", "withdrawalFeeForTransfers":false, @@ -14155,6 +14183,13 @@ Content-Type: application/json withdrawalFeeForTransfers Optional: Used along with withdrawalFeeAmount to indicate whether the withdrawal fee should be applied on the account for account transfers . + + allowOverdraft + Optional: If provided, depending on the value mark the savings account as overdraft account + + overdraftLimit + Optional: If provided, sets the maximum allowed overdraft amount for a savings account e.g. 5,000 else set the limit as zero +
@@ -14518,7 +14553,7 @@ Content-Type: application/json
- +
Inherited from Product (if not provided)
nominalAnnualInterestRate, interestCompoundingPeriodType, interestCalculationType, interestCalculationDaysInYearType, minRequiredOpeningBalance, lockinPeriodFrequency, lockinPeriodFrequencyType, withdrawalFeeForTransfers
nominalAnnualInterestRate, interestCompoundingPeriodType, interestCalculationType, interestCalculationDaysInYearType, minRequiredOpeningBalance, lockinPeriodFrequency, lockinPeriodFrequencyType, withdrawalFeeForTransfers, allowOverdraft, overdraftLimit
@@ -14571,6 +14606,8 @@ Request Body: "minRequiredOpeningBalance": "1,000", "lockinPeriodFrequency": 6, "lockinPeriodFrequencyType": 2, + "allowOverdraft":true, + "overdraftLimit":5000, "charges":[{"id":"1"}] }