From b64ec8addbf32f0566de43617c28920a6a5e944c Mon Sep 17 00:00:00 2001 From: Vishwas Babu AJ Date: Tue, 11 Jun 2013 20:46:39 +0530 Subject: [PATCH] updating api-docs with examples of mapping fees and penalties to income heads --- api-docs/apiLive.htm | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/api-docs/apiLive.htm b/api-docs/apiLive.htm index 615b327e9..d86d021e2 100644 --- a/api-docs/apiLive.htm +++ b/api-docs/apiLive.htm @@ -7590,7 +7590,7 @@ GET https://DomainName/api/v1/loanproducts/{productId}
Optional Fields
- inArrearsTolerance, graceOnPrincipalPayment, graceOnInterestPayment, graceOnInterestCharged, charges, paymentChannelToFundSourceMappings + inArrearsTolerance, graceOnPrincipalPayment, graceOnInterestPayment, graceOnInterestCharged, charges, paymentChannelToFundSourceMappings, feeToIncomeAccountMappings, penaltyToIncomeAccountMappings @@ -7673,14 +7673,27 @@ Request Body: "writeOffAccountId":"41", "paymentChannelToFundSourceMappings": [ { - "paymentTypeId": "14", - "fundSourceAccountId": "2" + "paymentTypeId": "11", + "fundSourceAccountId": "11" + } + ], + "feeToIncomeAccountMappings": [ + { + "chargeId": "1", + "incomeAccountId": "5" }, { - "paymentTypeId": "14", - "fundSourceAccountId": "2" + "chargeId": "2", + "incomeAccountId": "8" + } + ], + "penaltyToIncomeAccountMappings": [ + { + "chargeId": "6", + "incomeAccountId": "9" } ] + }