url: /api/v1/loans/3?tenantIdentifier=defualt&associations=all
on the older version when i make an api call to retrieve this loan in the transaction array i get this json back { "id": 9, "officeId": 2, "officeName": "Premier League", "type": { "id": 11, "code": "loanTransactionType.applyInterest", "value": "Apply Interest", "disbursement": false, "repaymentAtDisbursement": false, "repayment": false, "contra": false, "applyInterest": true, "waiveInterest": false, "waiveCharges": false, "applyCharges": false, "writeOff": false, "recoveryRepayment": false, "initiateTransfer": false, "approveTransfer": false, "withdrawTransfer": false, "rejectTransfer": false, "chargePayment": false, "refund": false }, "date": [ 2013, 10, 8 ], "currency": { "code": "KES", "name": "Kenyan Shilling", "decimalPlaces": 0, "inMultiplesOf": 10, "displaySymbol": "KSh", "nameCode": "currency.KES", "displayLabel": "Kenyan Shilling (KSh)" }, "amount": 6090, "principalPortion": 0, "interestPortion": 0, "feeChargesPortion": 0, "penaltyChargesPortion": 0, "overpaymentPortion": 0 },
in the lasted version which is 1.22.0 the json a above is replace with this { "id": 9, "officeId": 2, "officeName": "Premier League", "type": { "id": 0, "code": "loanTransactionType.invalid", "value": "Invalid", "disbursement": false, "repaymentAtDisbursement": false, "repayment": false, "contra": false, "waiveInterest": false, "waiveCharges": false, "accrual": false, "writeOff": false, "recoveryRepayment": false, "initiateTransfer": false, "approveTransfer": false, "withdrawTransfer": false, "rejectTransfer": false, "chargePayment": false, "refund": false }, "date": [ 2013, 10, 8 ], "currency": { "code": "KES", "name": "Kenyan Shilling", "decimalPlaces": 0, "inMultiplesOf": 10, "displaySymbol": "KSh", "nameCode": "currency.KES", "displayLabel": "Kenyan Shilling (KSh)" }, "amount": 6090, "principalPortion": 0, "interestPortion": 0, "feeChargesPortion": 0, "penaltyChargesPortion": 0, "overpaymentPortion": 0 },
The code type has changed to "code": "loanTransactionType.invalid",
|
|