diff --git a/APIFolder/api.htm b/APIFolder/api.htm index f048e8c4f..85feae17f 100644 --- a/APIFolder/api.htm +++ b/APIFolder/api.htm @@ -1702,12 +1702,19 @@ Request Body:

Adjust a Repayment or Waiver

+

Note: there is no need to specify command={transactionType} parameter.

POST https://thedomainname/api/v1/loans/{loanId}/transactions/{transactionId} - POST https://localhost:8443/mifosng-provider/api/v1/loans/10/transactions/20 - Content-Type: application/json - Request Body: + POST https://localhost:8443/mifosng-provider/api/v1/loans/16/transactions/32 +Content-Type: application/json +Request Body:{ + "locale": "en_GB", + "dateFormat": "dd MMMM yyyy", + "transactionDate": "25 May 2012", + "transactionAmount": "50,000.00", + "note": "adj note" +} { "entityId": 10 diff --git a/APIFolder/docUpdateComments.txt b/APIFolder/docUpdateComments.txt index 401c28794..c782c7bea 100644 --- a/APIFolder/docUpdateComments.txt +++ b/APIFolder/docUpdateComments.txt @@ -56,6 +56,8 @@ retrieve: display transaction type value? "principal" : null, "interest" : null, total, "totalWaived" : null, "overpaid" : null, and the offset - are nulls ever put in? +adjust: +when adjusting a disbursal - The server encountered an internal error () that prevented it from fulfilling this request.

exception

java.lang.IllegalArgumentException: Only repayment and waiver transactions can be adjusted.
 
  on create and adjust returns clientId can it be transaction id or loanId?
 list of loan transactions not available (except in summary presume repayments has repayments and waivers and adjusts)