Adds a new loan
post
/loan
This endpoint is used to add a new loan.
Request
Supported Media Types
- application/json
- application/xml
Request Body that contains data required for creating a new loan
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
object
Discriminator:
resource_type
Nested Schema : IclTbLoanDTO-allOf[1]
Type:
Show Source
object
-
autoSettleOnMaturity(optional):
string
-
bookingMode(optional):
string
-
borrowingCustomerId(optional):
string
Maximum Length:
20
-
borrowingCustomerName(optional):
string
Maximum Length:
100
-
creditDisbursementAccount(optional):
string
Maximum Length:
20
-
creditDisbursementAccountDesc(optional):
string
Maximum Length:
30
-
creditDisbursementAmount(optional):
number
Maximum Length:
23
-
creditDisbursementCurrency(optional):
string
Maximum Length:
3
-
debitDisbursementAccount(optional):
string
Maximum Length:
30
-
debitDisbursementAmount(optional):
number
Maximum Length:
23
-
debitDisbursementCurrency(optional):
string
Maximum Length:
3
-
debitDisbursementDesc(optional):
string
Maximum Length:
50
-
exchangeLoanRate(optional):
number
Maximum Length:
10
-
iclBookingReport(optional):
string
Maximum Length:
1
-
iclReference(optional):
string
-
iclSettlementReport(optional):
string
Maximum Length:
1
-
id(optional):
string
Maximum Length:
36
-
interestAccrualFrequency(optional):
string
Maximum Length:
100
-
interestAccrued(optional):
number
Maximum Length:
23
-
interestLiquidationFrequency(optional):
string
Maximum Length:
100
-
interestPaid(optional):
number
Maximum Length:
23
-
isReportingRequired(optional):
string
-
lastReverseSweepId(optional):
string
Maximum Length:
20
-
lastReverseSweepLogId(optional):
string
Maximum Length:
36
-
lendingCustomerId(optional):
string
Maximum Length:
20
-
lendingCustomerName(optional):
string
Maximum Length:
100
-
liquidateInterest(optional):
string
Maximum Length:
1
-
loanDate(optional):
string
-
loanIcProductCode(optional):
string
Maximum Length:
36
-
loanInterestRate(optional):
number
Maximum Length:
10
-
loanMaturityDate(optional):
string
-
loanOs(optional):
number
Maximum Length:
23
-
loanReference(optional):
string
Maximum Length:
20
-
loanStatus(optional):
string
Maximum Length:
3
-
loanType(optional):
string
Maximum Length:
1
-
parentCustomerId(optional):
string
Maximum Length:
20
-
parentCustomerName(optional):
string
Maximum Length:
100
-
reverseSweepId(optional):
string
Maximum Length:
36
-
reverseSweepLogId(optional):
string
Maximum Length:
36
-
settlementDate(optional):
string
-
settlementReference(optional):
string
Maximum Length:
100
-
structureDesc(optional):
string
Maximum Length:
200
-
structureId(optional):
string
Pattern:
[A-Z0-9]{1,30}
-
structureMasterId(optional):
string
Maximum Length:
36
-
structureMasterVersionNo(optional):
integer
Maximum Length:
4
-
sweepId(optional):
string
Maximum Length:
36
-
sweepLogId(optional):
string
Maximum Length:
36
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