GET api/Rate/GetCalculateRate

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

CalculateRateResponse
NameDescriptionTypeAdditional information
CalculateRateInfo

CalculateRateModel

None.

InterestRatelist

Collection of MortgageInterestRate

None.

ResponseCode

ResponseCode

None.

AlertMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "CalculateRateInfo": {
    "CapRate": "sample string 1",
    "CapRateRaisedBy": "sample string 2"
  },
  "InterestRatelist": [
    {
      "RateType": "sample string 1",
      "InterestRate": 1.1,
      "CalcRate": 1.1,
      "Seq": 2
    },
    {
      "RateType": "sample string 1",
      "InterestRate": 1.1,
      "CalcRate": 1.1,
      "Seq": 2
    }
  ],
  "ResponseCode": 1,
  "AlertMessage": "sample string 1"
}

text/xml

Sample:
<CalculateRateResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CentaMortgageWebAPI.Models">
  <AlertMessage>sample string 1</AlertMessage>
  <ResponseCode>Success</ResponseCode>
  <CalculateRateInfo>
    <CapRate>sample string 1</CapRate>
    <CapRateRaisedBy>sample string 2</CapRateRaisedBy>
  </CalculateRateInfo>
  <InterestRatelist>
    <MortgageInterestRate>
      <CalcRate>1.1</CalcRate>
      <InterestRate>1.1</InterestRate>
      <RateType>sample string 1</RateType>
      <Seq>2</Seq>
    </MortgageInterestRate>
    <MortgageInterestRate>
      <CalcRate>1.1</CalcRate>
      <InterestRate>1.1</InterestRate>
      <RateType>sample string 1</RateType>
      <Seq>2</Seq>
    </MortgageInterestRate>
  </InterestRatelist>
</CalculateRateResponse>