Adds a new new loan
post
/loan/{loanId}/transactions
This endpoint is used to add a new transaction in existing loan.
Request
Supported Media Types
- application/json
- application/xml
Path Parameters
-
loanId: string
Maximum Length:
36
Id of the user that needs to be fetched
Request Body that contains data required for adding a new trx under existing loan
Root Schema : IclTbLoanTransactionDTO
Type:
Show Source
object
-
basicAmount(optional):
number
-
currency(optional):
string
-
days(optional):
number
-
endDate(optional):
string
-
id(optional):
string
-
interestMethod(optional):
string
-
interestPaid(optional):
number
-
loanId(optional):
string
-
principalPaid(optional):
number
-
rate(optional):
number
-
startDate(optional):
string
-
valueDate(optional):
string
Response
Supported Media Types
- application/json
- application/xml
201 Response
Returns message of succes or failure
Headers
-
Location: string
URL of newly created loan
Nested Schema : ResponseResourceSupport
Type:
object
Nested Schema : items
Type:
object
400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
405 Response
Invalid input
500 Response
Internal error