POST api/loans/CreateLoan
Request Information
URI Parameters
None.
Body Parameters
CreateLoanRequestObjectName | Description | Type | Additional information |
---|---|---|---|
TransactionTrackingRef | string |
None. |
|
LoanProductCode | string |
None. |
|
CustomerID | string |
None. |
|
LinkedAccountNumber | string |
None. |
|
CollateralDetails | string |
None. |
|
CollateralType | string |
None. |
|
ComputationMode | decimal number |
None. |
|
Tenure | integer |
None. |
|
Moratorium | decimal number |
None. |
|
InterestAccrualCommencementDate | date |
None. |
|
Amount | decimal number |
None. |
|
InterestRate | decimal number |
None. |
|
PrincipalPaymentFrequency | decimal number |
None. |
|
InterestPaymentFrequency | decimal number |
None. |
|
InterestRepaymentType | decimal number |
None. |
|
PrincipalRepaymentType | decimal number |
None. |
|
LoanType | string |
None. |
|
LoanFeeIDs | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "TransactionTrackingRef": "sample string 1", "LoanProductCode": "sample string 2", "CustomerID": "sample string 3", "LinkedAccountNumber": "sample string 4", "CollateralDetails": "sample string 5", "CollateralType": "sample string 6", "ComputationMode": 7.1, "Tenure": 8, "Moratorium": 9.1, "InterestAccrualCommencementDate": "2025-06-29T02:52:36.2613897+01:00", "Amount": 11.0, "InterestRate": 12.1, "PrincipalPaymentFrequency": 13.1, "InterestPaymentFrequency": 14.1, "InterestRepaymentType": 15.1, "PrincipalRepaymentType": 16.1, "LoanType": "sample string 17", "LoanFeeIDs": [ 1, 2 ] }
application/xml, text/xml
Sample:
<CreateLoanRequestObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BankOneISWDBAPI.Models.DTO.RequestResponseDto"> <Amount>11</Amount> <CollateralDetails>sample string 5</CollateralDetails> <CollateralType>sample string 6</CollateralType> <ComputationMode>7.1</ComputationMode> <CustomerID>sample string 3</CustomerID> <InterestAccrualCommencementDate>2025-06-29T02:52:36.2613897+01:00</InterestAccrualCommencementDate> <InterestPaymentFrequency>14.1</InterestPaymentFrequency> <InterestRate>12.1</InterestRate> <InterestRepaymentType>15.1</InterestRepaymentType> <LinkedAccountNumber>sample string 4</LinkedAccountNumber> <LoanFeeIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </LoanFeeIDs> <LoanProductCode>sample string 2</LoanProductCode> <LoanType>sample string 17</LoanType> <Moratorium>9.1</Moratorium> <PrincipalPaymentFrequency>13.1</PrincipalPaymentFrequency> <PrincipalRepaymentType>16.1</PrincipalRepaymentType> <Tenure>8</Tenure> <TransactionTrackingRef>sample string 1</TransactionTrackingRef> </CreateLoanRequestObject>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.