POST DigitalLending/GetRate

Request Information

URI Parameters

None.

Body Parameters

RateEnquiry
NameDescriptionTypeAdditional information
Amount

decimal number

Required

Tenor

integer

Required

LoanType

string

Required

Request Formats

application/json, text/json

Sample:
{
  "Amount": 1.0,
  "Tenor": 2,
  "LoanType": "sample string 3"
}

Response Information

Resource Description

RateEnquiryResponse
NameDescriptionTypeAdditional information
LoanAmount

decimal number

None.

Tenor

integer

None.

StartDate

date

None.

InterestRate

decimal number

None.

LoanType

string

None.

TenorInMonth

integer

None.

TotalRepaymentIntrest

decimal number

None.

TotalRepaymentPrincipal

decimal number

None.

TotalRepaymentAmount

decimal number

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Error getting value from 'TenorInMonth' on 'OmniChannel.Models.DigitalLending.RateEnquiryResponse'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Error getting value from 'TenorInMonth' on 'OmniChannel.Models.DigitalLending.RateEnquiryResponse'.