From 2c654019bedb7741aa3333ce1f9c42b8fd19b9eb Mon Sep 17 00:00:00 2001 From: John Woodlock Date: Fri, 1 Jun 2012 17:38:08 +1000 Subject: [PATCH] api docs update --- APIFolder/api.htm | 32 +++++++++++++++++++++----------- APIFolder/apidocs.css | 17 +++++++++++++++++ 2 files changed, 38 insertions(+), 11 deletions(-) diff --git a/APIFolder/api.htm b/APIFolder/api.htm index 89cb7a15d..e422e5d77 100644 --- a/APIFolder/api.htm +++ b/APIFolder/api.htm @@ -1885,25 +1885,35 @@ Request Body: Override the default value for digitsAfterDecimal associated with the currencyCode selected. principal - Default loan principal. + Loan amount. inArrearsTolerance - repaymentFrequencyType + numberOfRepayments + Number of installments to repay. + interestRatePerPeriod repaymentEvery - numberOfRepayments - - interestRatePerPeriod - - interestRateFrequencyType - + Each of the items below has an id, code and (english) value.
+ Only the id (integer) is used when updating. All 3 are returned on GET (read) requests.
+ The options are fully listed in Retrieve Loan Product Details Template. + + repaymentFrequencyType + + Example Values: Days, Weeks, Months + + interestRateFrequencyTypePer month + + Example Values: Per month, Per year amortizationType - + + Example Values: Equal principle payments, Equal installments interestType - + + Example Values: Declining Balance, Flat interestCalculationPeriodType - + + Example Values: Same as repayment period, Daily diff --git a/APIFolder/apidocs.css b/APIFolder/apidocs.css index a09b7ebbd..3e04d578f 100644 --- a/APIFolder/apidocs.css +++ b/APIFolder/apidocs.css @@ -48,11 +48,28 @@ font-weight: bold; //font-size: 125% } + +.fieldtype { + padding-right: 40px; + padding-left:40px; + padding-top:20px; + font-size: 85%; +} + +.fielddesc span, .fieldtype { + font-style: italic; + font-weight: normal; +} + .fielddesc { padding-bottom:10px; padding-left:20px; } +.fielddesc span { + font-style: italic; + font-weight: normal; +} .normalli {list-style:disc outside none;}