Merge pull request #354 from vishwasbabu/develop

updating api-docs with examples of mapping fees and penalties to income ...
This commit is contained in:
Vishwas Babu A J
2013-06-11 08:23:45 -07:00
+18 -5
View File
@@ -7590,7 +7590,7 @@ GET https://DomainName/api/v1/loanproducts/{productId}
<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>inArrearsTolerance, graceOnPrincipalPayment, graceOnInterestPayment, graceOnInterestCharged, charges, paymentChannelToFundSourceMappings</td> <td>inArrearsTolerance, graceOnPrincipalPayment, graceOnInterestPayment, graceOnInterestCharged, charges, paymentChannelToFundSourceMappings, feeToIncomeAccountMappings, penaltyToIncomeAccountMappings</td>
</tr> </tr>
<tr class="matrixHeadingBG"> <tr class="matrixHeadingBG">
@@ -7673,14 +7673,27 @@ Request Body:
"writeOffAccountId":"41", "writeOffAccountId":"41",
"paymentChannelToFundSourceMappings": [ "paymentChannelToFundSourceMappings": [
{ {
"paymentTypeId": "14", "paymentTypeId": "11",
"fundSourceAccountId": "2" "fundSourceAccountId": "11"
}
],
"feeToIncomeAccountMappings": [
{
"chargeId": "1",
"incomeAccountId": "5"
}, },
{ {
"paymentTypeId": "14", "chargeId": "2",
"fundSourceAccountId": "2" "incomeAccountId": "8"
}
],
"penaltyToIncomeAccountMappings": [
{
"chargeId": "6",
"incomeAccountId": "9"
} }
] ]
} }
</code> </code>
<code class="method-response"> <code class="method-response">