From 92ea0576155e28fc968daf72a6fc94609c83aa01 Mon Sep 17 00:00:00 2001 From: John Woodlock Date: Wed, 30 May 2012 18:06:10 +1000 Subject: [PATCH] api docs and notes --- APIFolder/api.htm | 760 ++++++++++++++++---------------- APIFolder/docUpdateComments.txt | 18 + APIFolder/exampleArgList.txt | 23 + 3 files changed, 409 insertions(+), 392 deletions(-) create mode 100644 APIFolder/exampleArgList.txt diff --git a/APIFolder/api.htm b/APIFolder/api.htm index 41327979b..5cd85c554 100644 --- a/APIFolder/api.htm +++ b/APIFolder/api.htm @@ -860,33 +860,11 @@ Request Body:

Loans

-

Loan stuff. +

-
-
-
Attributes
-
-
- id -
-
- string jpw ipsum as an example of showing the (at least important) columns -
-
- amount -
-
blah -
-
blah
-
- card -
-
-
-
 
@@ -1383,397 +1361,395 @@ Request Body:

Retrieve a Loan

-

Returns loan fields. -

-

Example Request: - https://localhost:8443/mifosng-provider/api/v1/loans/1 +

+ Note: template=true parameter doesn't apply to this resource.

+

Example Requests:

+ https://localhost:8443/mifosng-provider/api/v1/loans/1?pretty=true +

+ https://localhost:8443/mifosng-provider/api/v1/loans/1?pretty=true&fields=id,principal,interestRatePerYear
GET https://thedomainname/api/v1/loans/{loanId} { - "open": false, - "openWithRepaymentMade": false, - "closed": true, - "interestRebateOutstanding": false, - "pendingApproval": false, - "waitingForDisbursal": false, - "lifeCycleStatusText": "Closed", - "lifeCycleStatusDate": "2009-11-13", - "id": 1, - "externalId": null, - "loanProductName": "Agricultural Loan", - "submittedOnDate": "2009-01-05", - "approvedOnDate": "2009-01-08", - "expectedDisbursementDate": "2009-01-15", - "actualDisbursementDate": "2009-01-15", - "undoDisbursalAllowed": false, - "expectedFirstRepaymentOnDate": null, - "interestCalculatedFromDate": null, - "closedOnDate": "2009-11-13", - "expectedMaturityDate": "2009-11-15", - "principal": { - "currencyCode": "XOF", - "currencyDigitsAfterDecimal": 0, - "amount": 100000, - "defaultName": "CFA Franc BCEAO", - "nameCode": "currency.XOF", - "displaySymbol": "CFA", - "zero": false, - "greaterThanZero": true, - "displaySymbolValue": "100000 CFA" + "open" : false, + "openWithRepaymentMade" : false, + "closed" : true, + "interestRebateOutstanding" : false, + "pendingApproval" : false, + "waitingForDisbursal" : false, + "lifeCycleStatusText" : "Closed", + "lifeCycleStatusDate" : [ 2009, 11, 13 ], + "id" : 1, + "externalId" : null, + "loanProductName" : "Agricultural Loan", + "submittedOnDate" : [ 2009, 1, 5 ], + "approvedOnDate" : [ 2009, 1, 8 ], + "expectedDisbursementDate" : [ 2009, 1, 15 ], + "actualDisbursementDate" : [ 2009, 1, 15 ], + "undoDisbursalAllowed" : false, + "expectedFirstRepaymentOnDate" : null, + "interestCalculatedFromDate" : null, + "closedOnDate" : [ 2009, 11, 13 ], + "expectedMaturityDate" : [ 2009, 11, 15 ], + "principal" : { + "currencyCode" : "XOF", + "currencyDigitsAfterDecimal" : 0, + "amount" : 100000, + "defaultName" : "CFA Franc BCEAO", + "nameCode" : "currency.XOF", + "displaySymbol" : "CFA", + "zero" : false, + "greaterThanZero" : true, + "displaySymbolValue" : "100000 CFA" }, - "interestRatePerYear": 21, - "interestRatePerPeriod": 1.75, - "interestPeriodFrequencyType": 2, - "interestPeriodFrequencyText": "MONTHS", - "interestMethodType": 0, - "interestMethodText": "DECLINING_BALANCE", - "amortizationMethodValue": 1, - "amortizationMethodText": "EQUAL_INSTALLMENTS", - "numberOfRepayments": 1, - "repaymentFrequencyNumber": 10, - "repaymentFrequencyTypeEnumOrdinal": 2, - "repaymentFrequencyTypeText": "MONTHS", - "interestRebateOwed": { - "currencyCode": "XOF", - "currencyDigitsAfterDecimal": 0, - "amount": 0, - "defaultName": "CFA Franc BCEAO", - "nameCode": "currency.XOF", - "displaySymbol": "CFA", - "zero": true, - "greaterThanZero": false, - "displaySymbolValue": "0 CFA" + "interestRatePerYear" : 21.0, + "interestRatePerPeriod" : 1.75, + "interestPeriodFrequencyType" : 2, + "interestPeriodFrequencyText" : "MONTHS", + "interestMethodType" : 0, + "interestMethodText" : "DECLINING_BALANCE", + "amortizationMethodValue" : 1, + "amortizationMethodText" : "EQUAL_INSTALLMENTS", + "numberOfRepayments" : 1, + "repaymentFrequencyNumber" : 10, + "repaymentFrequencyTypeEnumOrdinal" : 2, + "repaymentFrequencyTypeText" : "MONTHS", + "interestRebateOwed" : { + "currencyCode" : "XOF", + "currencyDigitsAfterDecimal" : 0, + "amount" : 0, + "defaultName" : "CFA Franc BCEAO", + "nameCode" : "currency.XOF", + "displaySymbol" : "CFA", + "zero" : true, + "greaterThanZero" : false, + "displaySymbolValue" : "0 CFA" }, - "loanData": { - "repaymentSchedule": { - "periods": [ - { - "period": 1, - "date": "2009-11-15", - "disbursed": { - "currencyCode": "XOF", - "currencyDigitsAfterDecimal": 0, - "amount": 0, - "defaultName": "CFA Franc BCEAO", - "nameCode": "currency.XOF", - "displaySymbol": "CFA", - "zero": true, - "greaterThanZero": false, - "displaySymbolValue": "0 CFA" - }, - "principal": { - "currencyCode": "XOF", - "currencyDigitsAfterDecimal": 0, - "amount": 100000, - "defaultName": "CFA Franc BCEAO", - "nameCode": "currency.XOF", - "displaySymbol": "CFA", - "zero": false, - "greaterThanZero": true, - "displaySymbolValue": "100000 CFA" - }, - "principalPaid": { - "currencyCode": "XOF", - "currencyDigitsAfterDecimal": 0, - "amount": 100000, - "defaultName": "CFA Franc BCEAO", - "nameCode": "currency.XOF", - "displaySymbol": "CFA", - "zero": false, - "greaterThanZero": true, - "displaySymbolValue": "100000 CFA" - }, - "principalOutstanding": { - "currencyCode": "XOF", - "currencyDigitsAfterDecimal": 0, - "amount": 0, - "defaultName": "CFA Franc BCEAO", - "nameCode": "currency.XOF", - "displaySymbol": "CFA", - "zero": true, - "greaterThanZero": false, - "displaySymbolValue": "0 CFA" - }, - "interest": { - "currencyCode": "XOF", - "currencyDigitsAfterDecimal": 0, - "amount": 17500, - "defaultName": "CFA Franc BCEAO", - "nameCode": "currency.XOF", - "displaySymbol": "CFA", - "zero": false, - "greaterThanZero": true, - "displaySymbolValue": "17500 CFA" - }, - "interestPaid": { - "currencyCode": "XOF", - "currencyDigitsAfterDecimal": 0, - "amount": 17500, - "defaultName": "CFA Franc BCEAO", - "nameCode": "currency.XOF", - "displaySymbol": "CFA", - "zero": false, - "greaterThanZero": true, - "displaySymbolValue": "17500 CFA" - }, - "interestOutstanding": { - "currencyCode": "XOF", - "currencyDigitsAfterDecimal": 0, - "amount": 0, - "defaultName": "CFA Franc BCEAO", - "nameCode": "currency.XOF", - "displaySymbol": "CFA", - "zero": true, - "greaterThanZero": false, - "displaySymbolValue": "0 CFA" - }, - "total": { - "currencyCode": "XOF", - "currencyDigitsAfterDecimal": 0, - "amount": 117500, - "defaultName": "CFA Franc BCEAO", - "nameCode": "currency.XOF", - "displaySymbol": "CFA", - "zero": false, - "greaterThanZero": true, - "displaySymbolValue": "117500 CFA" - }, - "totalPaid": { - "currencyCode": "XOF", - "currencyDigitsAfterDecimal": 0, - "amount": 117500, - "defaultName": "CFA Franc BCEAO", - "nameCode": "currency.XOF", - "displaySymbol": "CFA", - "zero": false, - "greaterThanZero": true, - "displaySymbolValue": "117500 CFA" - }, - "totalOutstanding": { - "currencyCode": "XOF", - "currencyDigitsAfterDecimal": 0, - "amount": 0, - "defaultName": "CFA Franc BCEAO", - "nameCode": "currency.XOF", - "displaySymbol": "CFA", - "zero": true, - "greaterThanZero": false, - "displaySymbolValue": "0 CFA" - }, - "totalWaived": null, - "totalArrears": { - "currencyCode": "XOF", - "currencyDigitsAfterDecimal": 0, - "amount": 0, - "defaultName": "CFA Franc BCEAO", - "nameCode": "currency.XOF", - "displaySymbol": "CFA", - "zero": true, - "greaterThanZero": false, - "displaySymbolValue": "0 CFA" - }, - "arrearsFrom": null, - "arrearsTo": null, - "paidInFullOn": "2009-11-13", - "lastAffectingPaymentOn": "2009-11-13", - "fullyPaid": true - } - ] + "loanData" : { + "repaymentSchedule" : { + "periods" : [ { + "period" : 1, + "date" : [ 2009, 11, 15 ], + "disbursed" : { + "currencyCode" : "XOF", + "currencyDigitsAfterDecimal" : 0, + "amount" : 0, + "defaultName" : "CFA Franc BCEAO", + "nameCode" : "currency.XOF", + "displaySymbol" : "CFA", + "zero" : true, + "greaterThanZero" : false, + "displaySymbolValue" : "0 CFA" + }, + "principal" : { + "currencyCode" : "XOF", + "currencyDigitsAfterDecimal" : 0, + "amount" : 100000, + "defaultName" : "CFA Franc BCEAO", + "nameCode" : "currency.XOF", + "displaySymbol" : "CFA", + "zero" : false, + "greaterThanZero" : true, + "displaySymbolValue" : "100000 CFA" + }, + "principalPaid" : { + "currencyCode" : "XOF", + "currencyDigitsAfterDecimal" : 0, + "amount" : 100000, + "defaultName" : "CFA Franc BCEAO", + "nameCode" : "currency.XOF", + "displaySymbol" : "CFA", + "zero" : false, + "greaterThanZero" : true, + "displaySymbolValue" : "100000 CFA" + }, + "principalOutstanding" : { + "currencyCode" : "XOF", + "currencyDigitsAfterDecimal" : 0, + "amount" : 0, + "defaultName" : "CFA Franc BCEAO", + "nameCode" : "currency.XOF", + "displaySymbol" : "CFA", + "zero" : true, + "greaterThanZero" : false, + "displaySymbolValue" : "0 CFA" + }, + "interest" : { + "currencyCode" : "XOF", + "currencyDigitsAfterDecimal" : 0, + "amount" : 17500, + "defaultName" : "CFA Franc BCEAO", + "nameCode" : "currency.XOF", + "displaySymbol" : "CFA", + "zero" : false, + "greaterThanZero" : true, + "displaySymbolValue" : "17500 CFA" + }, + "interestPaid" : { + "currencyCode" : "XOF", + "currencyDigitsAfterDecimal" : 0, + "amount" : 17500, + "defaultName" : "CFA Franc BCEAO", + "nameCode" : "currency.XOF", + "displaySymbol" : "CFA", + "zero" : false, + "greaterThanZero" : true, + "displaySymbolValue" : "17500 CFA" + }, + "interestOutstanding" : { + "currencyCode" : "XOF", + "currencyDigitsAfterDecimal" : 0, + "amount" : 0, + "defaultName" : "CFA Franc BCEAO", + "nameCode" : "currency.XOF", + "displaySymbol" : "CFA", + "zero" : true, + "greaterThanZero" : false, + "displaySymbolValue" : "0 CFA" + }, + "total" : { + "currencyCode" : "XOF", + "currencyDigitsAfterDecimal" : 0, + "amount" : 117500, + "defaultName" : "CFA Franc BCEAO", + "nameCode" : "currency.XOF", + "displaySymbol" : "CFA", + "zero" : false, + "greaterThanZero" : true, + "displaySymbolValue" : "117500 CFA" + }, + "totalPaid" : { + "currencyCode" : "XOF", + "currencyDigitsAfterDecimal" : 0, + "amount" : 117500, + "defaultName" : "CFA Franc BCEAO", + "nameCode" : "currency.XOF", + "displaySymbol" : "CFA", + "zero" : false, + "greaterThanZero" : true, + "displaySymbolValue" : "117500 CFA" + }, + "totalOutstanding" : { + "currencyCode" : "XOF", + "currencyDigitsAfterDecimal" : 0, + "amount" : 0, + "defaultName" : "CFA Franc BCEAO", + "nameCode" : "currency.XOF", + "displaySymbol" : "CFA", + "zero" : true, + "greaterThanZero" : false, + "displaySymbolValue" : "0 CFA" + }, + "totalWaived" : null, + "totalArrears" : { + "currencyCode" : "XOF", + "currencyDigitsAfterDecimal" : 0, + "amount" : 0, + "defaultName" : "CFA Franc BCEAO", + "nameCode" : "currency.XOF", + "displaySymbol" : "CFA", + "zero" : true, + "greaterThanZero" : false, + "displaySymbolValue" : "0 CFA" + }, + "arrearsFrom" : null, + "arrearsTo" : null, + "paidInFullOn" : [ 2009, 11, 13 ], + "lastAffectingPaymentOn" : [ 2009, 11, 13 ], + "fullyPaid" : true + } ] }, - "summary": { - "originalPrincipal": { - "currencyCode": "XOF", - "currencyDigitsAfterDecimal": 0, - "amount": 100000, - "defaultName": "CFA Franc BCEAO", - "nameCode": "currency.XOF", - "displaySymbol": "CFA", - "zero": false, - "greaterThanZero": true, - "displaySymbolValue": "100000 CFA" + "summary" : { + "originalPrincipal" : { + "currencyCode" : "XOF", + "currencyDigitsAfterDecimal" : 0, + "amount" : 100000, + "defaultName" : "CFA Franc BCEAO", + "nameCode" : "currency.XOF", + "displaySymbol" : "CFA", + "zero" : false, + "greaterThanZero" : true, + "displaySymbolValue" : "100000 CFA" }, - "originalInterest": { - "currencyCode": "XOF", - "currencyDigitsAfterDecimal": 0, - "amount": 17500, - "defaultName": "CFA Franc BCEAO", - "nameCode": "currency.XOF", - "displaySymbol": "CFA", - "zero": false, - "greaterThanZero": true, - "displaySymbolValue": "17500 CFA" + "originalInterest" : { + "currencyCode" : "XOF", + "currencyDigitsAfterDecimal" : 0, + "amount" : 17500, + "defaultName" : "CFA Franc BCEAO", + "nameCode" : "currency.XOF", + "displaySymbol" : "CFA", + "zero" : false, + "greaterThanZero" : true, + "displaySymbolValue" : "17500 CFA" }, - "originalTotal": { - "currencyCode": "XOF", - "currencyDigitsAfterDecimal": 0, - "amount": 117500, - "defaultName": "CFA Franc BCEAO", - "nameCode": "currency.XOF", - "displaySymbol": "CFA", - "zero": false, - "greaterThanZero": true, - "displaySymbolValue": "117500 CFA" + "originalTotal" : { + "currencyCode" : "XOF", + "currencyDigitsAfterDecimal" : 0, + "amount" : 117500, + "defaultName" : "CFA Franc BCEAO", + "nameCode" : "currency.XOF", + "displaySymbol" : "CFA", + "zero" : false, + "greaterThanZero" : true, + "displaySymbolValue" : "117500 CFA" }, - "principalPaid": { - "currencyCode": "XOF", - "currencyDigitsAfterDecimal": 0, - "amount": 100000, - "defaultName": "CFA Franc BCEAO", - "nameCode": "currency.XOF", - "displaySymbol": "CFA", - "zero": false, - "greaterThanZero": true, - "displaySymbolValue": "100000 CFA" + "principalPaid" : { + "currencyCode" : "XOF", + "currencyDigitsAfterDecimal" : 0, + "amount" : 100000, + "defaultName" : "CFA Franc BCEAO", + "nameCode" : "currency.XOF", + "displaySymbol" : "CFA", + "zero" : false, + "greaterThanZero" : true, + "displaySymbolValue" : "100000 CFA" }, - "principalOutstanding": { - "currencyCode": "XOF", - "currencyDigitsAfterDecimal": 0, - "amount": 0, - "defaultName": "CFA Franc BCEAO", - "nameCode": "currency.XOF", - "displaySymbol": "CFA", - "zero": true, - "greaterThanZero": false, - "displaySymbolValue": "0 CFA" + "principalOutstanding" : { + "currencyCode" : "XOF", + "currencyDigitsAfterDecimal" : 0, + "amount" : 0, + "defaultName" : "CFA Franc BCEAO", + "nameCode" : "currency.XOF", + "displaySymbol" : "CFA", + "zero" : true, + "greaterThanZero" : false, + "displaySymbolValue" : "0 CFA" }, - "interestPaid": { - "currencyCode": "XOF", - "currencyDigitsAfterDecimal": 0, - "amount": 17500, - "defaultName": "CFA Franc BCEAO", - "nameCode": "currency.XOF", - "displaySymbol": "CFA", - "zero": false, - "greaterThanZero": true, - "displaySymbolValue": "17500 CFA" + "interestPaid" : { + "currencyCode" : "XOF", + "currencyDigitsAfterDecimal" : 0, + "amount" : 17500, + "defaultName" : "CFA Franc BCEAO", + "nameCode" : "currency.XOF", + "displaySymbol" : "CFA", + "zero" : false, + "greaterThanZero" : true, + "displaySymbolValue" : "17500 CFA" }, - "interestOutstanding": { - "currencyCode": "XOF", - "currencyDigitsAfterDecimal": 0, - "amount": 0, - "defaultName": "CFA Franc BCEAO", - "nameCode": "currency.XOF", - "displaySymbol": "CFA", - "zero": true, - "greaterThanZero": false, - "displaySymbolValue": "0 CFA" + "interestOutstanding" : { + "currencyCode" : "XOF", + "currencyDigitsAfterDecimal" : 0, + "amount" : 0, + "defaultName" : "CFA Franc BCEAO", + "nameCode" : "currency.XOF", + "displaySymbol" : "CFA", + "zero" : true, + "greaterThanZero" : false, + "displaySymbolValue" : "0 CFA" }, - "totalPaid": { - "currencyCode": "XOF", - "currencyDigitsAfterDecimal": 0, - "amount": 117500, - "defaultName": "CFA Franc BCEAO", - "nameCode": "currency.XOF", - "displaySymbol": "CFA", - "zero": false, - "greaterThanZero": true, - "displaySymbolValue": "117500 CFA" + "totalPaid" : { + "currencyCode" : "XOF", + "currencyDigitsAfterDecimal" : 0, + "amount" : 117500, + "defaultName" : "CFA Franc BCEAO", + "nameCode" : "currency.XOF", + "displaySymbol" : "CFA", + "zero" : false, + "greaterThanZero" : true, + "displaySymbolValue" : "117500 CFA" }, - "totalOutstanding": { - "currencyCode": "XOF", - "currencyDigitsAfterDecimal": 0, - "amount": 0, - "defaultName": "CFA Franc BCEAO", - "nameCode": "currency.XOF", - "displaySymbol": "CFA", - "zero": true, - "greaterThanZero": false, - "displaySymbolValue": "0 CFA" + "totalOutstanding" : { + "currencyCode" : "XOF", + "currencyDigitsAfterDecimal" : 0, + "amount" : 0, + "defaultName" : "CFA Franc BCEAO", + "nameCode" : "currency.XOF", + "displaySymbol" : "CFA", + "zero" : true, + "greaterThanZero" : false, + "displaySymbolValue" : "0 CFA" }, - "totalInArrears": { - "currencyCode": "XOF", - "currencyDigitsAfterDecimal": 0, - "amount": 0, - "defaultName": "CFA Franc BCEAO", - "nameCode": "currency.XOF", - "displaySymbol": "CFA", - "zero": true, - "greaterThanZero": false, - "displaySymbolValue": "0 CFA" + "totalInArrears" : { + "currencyCode" : "XOF", + "currencyDigitsAfterDecimal" : 0, + "amount" : 0, + "defaultName" : "CFA Franc BCEAO", + "nameCode" : "currency.XOF", + "displaySymbol" : "CFA", + "zero" : true, + "greaterThanZero" : false, + "displaySymbolValue" : "0 CFA" }, - "totalWaived": { - "currencyCode": "XOF", - "currencyDigitsAfterDecimal": 0, - "amount": 0, - "defaultName": "CFA Franc BCEAO", - "nameCode": "currency.XOF", - "displaySymbol": "CFA", - "zero": true, - "greaterThanZero": false, - "displaySymbolValue": "0 CFA" + "totalWaived" : { + "currencyCode" : "XOF", + "currencyDigitsAfterDecimal" : 0, + "amount" : 0, + "defaultName" : "CFA Franc BCEAO", + "nameCode" : "currency.XOF", + "displaySymbol" : "CFA", + "zero" : true, + "greaterThanZero" : false, + "displaySymbolValue" : "0 CFA" } }, - "loanRepayments": [ - { - "id": 2, - "date": "2009-11-13", - "principal": { - "currencyCode": "XOF", - "currencyDigitsAfterDecimal": 0, - "amount": 100000, - "defaultName": "CFA Franc BCEAO", - "nameCode": "currency.XOF", - "displaySymbol": "CFA", - "zero": false, - "greaterThanZero": true, - "displaySymbolValue": "100000 CFA" - }, - "interest": { - "currencyCode": "XOF", - "currencyDigitsAfterDecimal": 0, - "amount": 17500, - "defaultName": "CFA Franc BCEAO", - "nameCode": "currency.XOF", - "displaySymbol": "CFA", - "zero": false, - "greaterThanZero": true, - "displaySymbolValue": "17500 CFA" - }, - "total": { - "currencyCode": "XOF", - "currencyDigitsAfterDecimal": 0, - "amount": 117500, - "defaultName": "CFA Franc BCEAO", - "nameCode": "currency.XOF", - "displaySymbol": "CFA", - "zero": false, - "greaterThanZero": true, - "displaySymbolValue": "117500 CFA" - }, - "totalWaived": null, - "overpaid": null, - "transactionOffsetFromToday": -921 - } - ] + "loanRepayments" : [ { + "id" : 2, + "date" : [ 2009, 11, 13 ], + "principal" : { + "currencyCode" : "XOF", + "currencyDigitsAfterDecimal" : 0, + "amount" : 100000, + "defaultName" : "CFA Franc BCEAO", + "nameCode" : "currency.XOF", + "displaySymbol" : "CFA", + "zero" : false, + "greaterThanZero" : true, + "displaySymbolValue" : "100000 CFA" + }, + "interest" : { + "currencyCode" : "XOF", + "currencyDigitsAfterDecimal" : 0, + "amount" : 17500, + "defaultName" : "CFA Franc BCEAO", + "nameCode" : "currency.XOF", + "displaySymbol" : "CFA", + "zero" : false, + "greaterThanZero" : true, + "displaySymbolValue" : "17500 CFA" + }, + "total" : { + "currencyCode" : "XOF", + "currencyDigitsAfterDecimal" : 0, + "amount" : 117500, + "defaultName" : "CFA Franc BCEAO", + "nameCode" : "currency.XOF", + "displaySymbol" : "CFA", + "zero" : false, + "greaterThanZero" : true, + "displaySymbolValue" : "117500 CFA" + }, + "totalWaived" : null, + "overpaid" : null, + "transactionOffsetFromToday" : -929 + } ] }, - "arrearsTolerance": { - "currencyCode": "XOF", - "currencyDigitsAfterDecimal": 0, - "amount": 1000, - "defaultName": "CFA Franc BCEAO", - "nameCode": "currency.XOF", - "displaySymbol": "CFA", - "zero": false, - "greaterThanZero": true, - "displaySymbolValue": "1000 CFA" + "arrearsTolerance" : { + "currencyCode" : "XOF", + "currencyDigitsAfterDecimal" : 0, + "amount" : 1000, + "defaultName" : "CFA Franc BCEAO", + "nameCode" : "currency.XOF", + "displaySymbol" : "CFA", + "zero" : false, + "greaterThanZero" : true, + "displaySymbolValue" : "1000 CFA" }, - "waiveAllowed": false, - "makeRepaymentAllowed": false, - "rejectAllowed": false, - "withdrawnByApplicantAllowed": false, - "undoApprovalAllowed": false, - "disbursalAllowed": false, - "anyActionOnLoanAllowed": false, - "maxSubmittedOnOffsetFromToday": -1233, - "maxApprovedOnOffsetFromToday": -1230, - "maxDisbursedOnOffsetFromToday": -1223, - "actualLoanTermInDays": 302, - "actualLoanTermInMonths": 9, - "loanTermInDays": 304, - "loanTermInMonths": 10 -} + "waiveAllowed" : false, + "makeRepaymentAllowed" : false, + "rejectAllowed" : false, + "withdrawnByApplicantAllowed" : false, + "undoApprovalAllowed" : false, + "disbursalAllowed" : false, + "anyActionOnLoanAllowed" : false, + "maxSubmittedOnOffsetFromToday" : -1241, + "maxApprovedOnOffsetFromToday" : -1238, + "maxDisbursedOnOffsetFromToday" : -1231, + "actualLoanTermInDays" : 302, + "actualLoanTermInMonths" : 9, + "loanTermInDays" : 304, + "loanTermInMonths" : 10 +}
diff --git a/APIFolder/docUpdateComments.txt b/APIFolder/docUpdateComments.txt index 70ed5b3c4..ec37a9072 100644 --- a/APIFolder/docUpdateComments.txt +++ b/APIFolder/docUpdateComments.txt @@ -27,12 +27,30 @@ Type fields rename and with associated text? allowedProduct should maybe just be id & name which fields have defaults as not all on NewLoanWorkflowStepOneData dto seem to be default. +loan retrieve +break up data into categories.. e.g. +Basic - lifeCycleStatusText thru +Convenience - open thru waitingForDisbursal then maxSubmittedOnOffsetFromToday, maxApprovedOnOffsetFromToday , maxDisbursedOnOffsetFromToday, actualLoanTermInDays, actualLoanTermInMonths, loanTermInDays, loanTermInMonths +Permission - undoDisbursalAllowed, waiveAllowed, makeRepaymentAllowed, rejectAllowed, withdrawnByApplicantAllowed, undoApprovalAllowed, disbursalAllowed, anyActionOnLoanAllowed + +flatten loadData +repaymentSchedule +summary +loanRepayments + + Additional Fields put right message for parameter not recognized etc.(plus tht 9 other jpwwrongmsg items) + + + + + +Loans - what does Keith think about a description Identify Fields that need explaining Clients displayName, externalId, maxJoinedOnOffsetFromToday diff --git a/APIFolder/exampleArgList.txt b/APIFolder/exampleArgList.txt new file mode 100644 index 000000000..8589a739f --- /dev/null +++ b/APIFolder/exampleArgList.txt @@ -0,0 +1,23 @@ + +
+
+
Attributes
+
+
+ id +
+
+ string jpw ipsum as an example of showing the (at least important) columns +
+
+ amount +
+
blah +
+
blah
+
+ card +
+
+
+
\ No newline at end of file