|
When you create a loan a add a charge. After creating the loan if you want to update say the loan account number . The code throws { "timestamp": 1415979654098, "status": 500, "error": "Internal Server Error", "exception": "org.springframework.dao.InvalidDataAccessApiUsageException", "message": "The given id must not be null!; nested exception is java.lang.IllegalArgumentException: The given id must not be null!" }
This doesn't happen when there is no charge attached to the loan. URL end point localURL/api/v1/loans/19237?tenantIdentifier=demo data : { accountNo: "02/Lo4/538" }
|