You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Anthony Sapountzis (Jira)" <ji...@apache.org> on 2022/01/24 18:49:00 UTC

[jira] [Created] (FINERACT-1494) API Documentation Error Disburse Loan

Anthony Sapountzis created FINERACT-1494:
--------------------------------------------

             Summary: API Documentation Error Disburse Loan
                 Key: FINERACT-1494
                 URL: https://issues.apache.org/jira/browse/FINERACT-1494
             Project: Apache Fineract
          Issue Type: Bug
          Components: Loan
         Environment: Documentation
            Reporter: Anthony Sapountzis


There is an incorrect JSON Sample within the documentation for Disbursing a Loan

 

 [https://demo.mifos.io/api-docs/apiLive.htm#loans_create]

 

Within the sample Request JSON the JSON is incorrectly formatted for fixedEmiAmount. it missing the colon and has an extra double quotation mark

( no : but extra " )

 
{code:java}
// POST loans/1?command=disburse
Content-Type: application/json
Request Body:
{
  "dateFormat": "dd MMMM yyyy",
  "locale": "en",
  "transactionAmount":10000,
  "fixedEmiAmount""1100,
  "actualDisbursementDate": "14 May 2013",
  "paymentTypeId": "12",
  "note": "",
  "accountNumber": "accno123",
  "checkNumber": "chec123",
  "routingCode": "rou123",
  "receiptNumber": "rec123",
  "bankNumber": "ban123"
} {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)