MIFOSX-931 - added API doc for overdraft account
This commit is contained in:
+55
-18
@@ -1978,6 +1978,13 @@ function executeAjaxRequest(url, verbType, jsonData, basicAuthKey, successFuncti
|
|||||||
<tr>
|
<tr>
|
||||||
<td class=fielddesc>The staffId of the staff member dealing with the client office. The staff member is not specifically the loan officer.</td>
|
<td class=fielddesc>The staffId of the staff member dealing with the client office. The staff member is not specifically the loan officer.</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr class=alt>
|
||||||
|
<td>savingsProductId</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class=fielddesc>Optional: Default overdraft savings account of client
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -2023,19 +2030,29 @@ GET https://DomainName/api/v1/clients/template
|
|||||||
</code>
|
</code>
|
||||||
<code class="method-response">
|
<code class="method-response">
|
||||||
{
|
{
|
||||||
"activationDate": [
|
"activationDate":[2014,3,4],
|
||||||
2013,
|
"officeId":1,
|
||||||
4,
|
"officeOptions":[{
|
||||||
17
|
"id":1,
|
||||||
],
|
"name":"Head Office",
|
||||||
"officeId": 1,
|
"nameDecorated":"Head Office"
|
||||||
"officeOptions": [
|
}],
|
||||||
{
|
"staffOptions":[{
|
||||||
"id": 1,
|
"id":1,
|
||||||
"name": "Head Office",
|
"firstname":"xyz",
|
||||||
"nameDecorated": "Head Office"
|
"lastname":"sjs",
|
||||||
}
|
"displayName":"sjs, xyz",
|
||||||
]
|
"officeId":1,
|
||||||
|
"officeName":"Head Office",
|
||||||
|
"isLoanOfficer":true,
|
||||||
|
"isActive":true
|
||||||
|
}],
|
||||||
|
"savingProductOptions":[{
|
||||||
|
"id":4,
|
||||||
|
"name":"account overdraft",
|
||||||
|
"withdrawalFeeForTransfers":false,
|
||||||
|
"allowOverdraft":false
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
</code>
|
</code>
|
||||||
</div>
|
</div>
|
||||||
@@ -2066,7 +2083,7 @@ GET https://DomainName/api/v1/clients/template
|
|||||||
<td><div class="mifosXHeading2">Optional Fields</div></td>
|
<td><div class="mifosXHeading2">Optional Fields</div></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class=alt>
|
<tr class=alt>
|
||||||
<td>groupId, externalId, accountNo, staffId, mobileNo</td>
|
<td>groupId, externalId, accountNo, staffId, mobileNo, savingsProductId</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
@@ -2086,14 +2103,16 @@ Content-Type: application/json Request Body:
|
|||||||
"locale": "en",
|
"locale": "en",
|
||||||
"active": true,
|
"active": true,
|
||||||
"activationDate": "04 March 2009",
|
"activationDate": "04 March 2009",
|
||||||
"submittedOnDate":"04 March 2009"
|
"submittedOnDate":"04 March 2009",
|
||||||
|
"savingsProductId" : 4
|
||||||
}
|
}
|
||||||
</code>
|
</code>
|
||||||
<code class="method-response">
|
<code class="method-response">
|
||||||
{
|
{
|
||||||
"officeId": 1,
|
"officeId": 1,
|
||||||
"clientId": 1,
|
"clientId": 1,
|
||||||
"resourceId": 1
|
"resourceId": 1,
|
||||||
|
"savingsId": 10
|
||||||
}
|
}
|
||||||
</code>
|
</code>
|
||||||
</div>
|
</div>
|
||||||
@@ -13157,6 +13176,13 @@ Content-Type: application/json
|
|||||||
product and the type of the accounting rule to be used
|
product and the type of the accounting rule to be used
|
||||||
<span>Example Values:</span>1=NONE,2=CASH_BASED</td>
|
<span>Example Values:</span>1=NONE,2=CASH_BASED</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
<tr class=alt><td>allowOverdraft</td></tr>
|
||||||
|
<tr><td class=fielddesc><b>Optional</b>: If provided, depending on the value mark the savings account as overdraft account </td></tr>
|
||||||
|
|
||||||
|
<tr class=alt><td>overdraftLimit</td></tr>
|
||||||
|
<tr><td class=fielddesc><b>Optional</b>: If provided, sets the maximum allowed overdraft amount for a savings account e.g. <b>5,000</b> else set the limit as zero</td></tr>
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -13728,7 +13754,7 @@ Content-Type: application/json
|
|||||||
<br/>
|
<br/>
|
||||||
<table class=matrixHeading>
|
<table class=matrixHeading>
|
||||||
<tr class="matrixHeadingBG"><td><div class="mifosXHeading2">Optional Fields</div></td></tr>
|
<tr class="matrixHeadingBG"><td><div class="mifosXHeading2">Optional Fields</div></td></tr>
|
||||||
<tr class=alt><td>minRequiredOpeningBalance, lockinPeriodFrequency, lockinPeriodFrequencyType, withdrawalFeeForTransfers, paymentChannelToFundSourceMappings, feeToIncomeAccountMappings, penaltyToIncomeAccountMappings, charges</tr>
|
<tr class=alt><td>minRequiredOpeningBalance, lockinPeriodFrequency, lockinPeriodFrequencyType, withdrawalFeeForTransfers, paymentChannelToFundSourceMappings, feeToIncomeAccountMappings, penaltyToIncomeAccountMappings, charges, allowOverdraft, overdraftLimit</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<div class="method-example">
|
<div class="method-example">
|
||||||
@@ -13775,6 +13801,8 @@ Request Body:
|
|||||||
"interestCalculationType": "1",
|
"interestCalculationType": "1",
|
||||||
"interestCalculationDaysInYearType": "365",
|
"interestCalculationDaysInYearType": "365",
|
||||||
"minRequiredOpeningBalance": "50",
|
"minRequiredOpeningBalance": "50",
|
||||||
|
"allowOverdraft":true,
|
||||||
|
"overdraftLimit":5000,
|
||||||
"lockinPeriodFrequency": "4",
|
"lockinPeriodFrequency": "4",
|
||||||
"lockinPeriodFrequencyType": "1",
|
"lockinPeriodFrequencyType": "1",
|
||||||
"withdrawalFeeForTransfers":false,
|
"withdrawalFeeForTransfers":false,
|
||||||
@@ -14155,6 +14183,13 @@ Content-Type: application/json
|
|||||||
|
|
||||||
<tr class=alt><td>withdrawalFeeForTransfers</td></tr>
|
<tr class=alt><td>withdrawalFeeForTransfers</td></tr>
|
||||||
<tr><td class=fielddesc><b>Optional</b>: Used along with <i>withdrawalFeeAmount</i> to indicate whether the withdrawal fee should be applied on the account for account transfers .</td></tr>
|
<tr><td class=fielddesc><b>Optional</b>: Used along with <i>withdrawalFeeAmount</i> to indicate whether the withdrawal fee should be applied on the account for account transfers .</td></tr>
|
||||||
|
|
||||||
|
<tr class=alt><td>allowOverdraft</td></tr>
|
||||||
|
<tr><td class=fielddesc><b>Optional</b>: If provided, depending on the value mark the savings account as overdraft account </td></tr>
|
||||||
|
|
||||||
|
<tr class=alt><td>overdraftLimit</td></tr>
|
||||||
|
<tr><td class=fielddesc><b>Optional</b>: If provided, sets the maximum allowed overdraft amount for a savings account e.g. <b>5,000</b> else set the limit as zero</td></tr>
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -14518,7 +14553,7 @@ Content-Type: application/json
|
|||||||
<br/>
|
<br/>
|
||||||
<table class=matrixHeading>
|
<table class=matrixHeading>
|
||||||
<tr class="matrixHeadingBG"><td><div class="mifosXHeading2">Inherited from Product (if not provided)</div></td></tr>
|
<tr class="matrixHeadingBG"><td><div class="mifosXHeading2">Inherited from Product (if not provided)</div></td></tr>
|
||||||
<tr class=alt><td>nominalAnnualInterestRate, interestCompoundingPeriodType, interestCalculationType, interestCalculationDaysInYearType, minRequiredOpeningBalance, lockinPeriodFrequency, lockinPeriodFrequencyType, withdrawalFeeForTransfers</td>
|
<tr class=alt><td>nominalAnnualInterestRate, interestCompoundingPeriodType, interestCalculationType, interestCalculationDaysInYearType, minRequiredOpeningBalance, lockinPeriodFrequency, lockinPeriodFrequencyType, withdrawalFeeForTransfers, allowOverdraft, overdraftLimit</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
@@ -14571,6 +14606,8 @@ Request Body:
|
|||||||
"minRequiredOpeningBalance": "1,000",
|
"minRequiredOpeningBalance": "1,000",
|
||||||
"lockinPeriodFrequency": 6,
|
"lockinPeriodFrequency": 6,
|
||||||
"lockinPeriodFrequencyType": 2,
|
"lockinPeriodFrequencyType": 2,
|
||||||
|
"allowOverdraft":true,
|
||||||
|
"overdraftLimit":5000,
|
||||||
"charges":[{"id":"1"}]
|
"charges":[{"id":"1"}]
|
||||||
}
|
}
|
||||||
</code>
|
</code>
|
||||||
|
|||||||
Reference in New Issue
Block a user