From 03f4644a613116416b712ce6abc5fadac97e6a2a Mon Sep 17 00:00:00 2001 From: ashok-conflux Date: Thu, 2 May 2013 11:25:17 +0530 Subject: [PATCH] MIFOSX-302 updated api doc with loanType and templateType details for loan --- api-docs/apiLive.htm | 41 ++++++++++++++++++++++++++++++++++++++--- 1 file changed, 38 insertions(+), 3 deletions(-) diff --git a/api-docs/apiLive.htm b/api-docs/apiLive.htm index d776ea6bd..5157b92f0 100644 --- a/api-docs/apiLive.htm +++ b/api-docs/apiLive.htm @@ -1,4 +1,4 @@ - + @@ -3725,6 +3725,20 @@ GET https://DomainName/mifosng-provider/api/v1/groups + + loanType + + + To represent different type of loans.
+ At present there are three type of loans are supported. +
Available loan types: +
    +
  1. id=1, code=individual, description: Loan given to individual member
  2. +
  3. id=2, code=group, description: Loan given to group as a whole
  4. +
  5. id=3, code=jlg, description: Joint liability group loan given to members in a group on individual basis. JLG loan can be given to one or more members in a group.
  6. +
+ + @@ -3744,6 +3758,26 @@ GET https://DomainName/mifosng-provider/api/v1/groups

Arguments
+
templateType
+
+ String mandatory, allowed values are individual, group, jlg, jlgbulk +
+
+
templateType value decides the required template data for creating a new loan application. + +
+
+
'individual': Loan template data for creating individual loans. +
+
+ 'group': Loan template data for creating a group loan (loan given to group as a whole). +
+
+ 'jlg': Loan template data for creating a Joint liability group loan for a client. +
+
+ 'jlgbulk': Loan template data for creating a Joint liability group loan for multiple clients at a time in a group. +
clientId
Integer mandatory @@ -4410,7 +4444,7 @@ Request Body: repaymentFrequencyType, interestRatePerPeriod, amortizationType, interestType, interestCalculationPeriodType, transactionProcessingStrategyId, - expectedDisbursementDate, submittedOnDate + expectedDisbursementDate, submittedOnDate, loanType @@ -4439,7 +4473,8 @@ Request Body: "interestCalculationPeriodType": 1, "transactionProcessingStrategyId": 1, "expectedDisbursementDate": "20 September 2011", - "submittedOnDate": "20 September 2011" + "submittedOnDate": "20 September 2011", + "loanType": "individual" }