GET api/PersonalLoan/GetLoanPlan?languageType={languageType}&bankID={bankID}&loanAmount={loanAmount}&installment={installment}&monthlyIncome={monthlyIncome}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
languageType

CmsLanguage

Required

bankID

string

None.

loanAmount

decimal number

Default value is 0

installment

integer

Default value is 0

monthlyIncome

decimal number

Default value is 0

Body Parameters

None.

Response Information

Resource Description

LoanPlanResponse
NameDescriptionTypeAdditional information
LoanPlanList

Collection of LoanPlanModel

None.

ResponseCode

ResponseCode

None.

AlertMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "LoanPlanList": [
    {
      "PlanID": 1,
      "PlanName": "sample string 2",
      "PlanType": "sample string 3",
      "BankRate": "sample string 4",
      "BankRateText": "sample string 5",
      "HandleFees": "sample string 6",
      "CashRebate": "sample string 7",
      "MaximumLoan": "sample string 8",
      "Remark": "sample string 9",
      "Body": "sample string 10",
      "PlainBody": "sample string 11",
      "ApplyLink": "sample string 12",
      "BankTitle": "sample string 13",
      "LogoTitle": "sample string 14",
      "Sequence": 1,
      "ShowRedirect": true,
      "BankInfo": {
        "BankID": 1,
        "BankName": "sample string 2",
        "BankMobileLogo": "sample string 3",
        "BankWebLogo": "sample string 4"
      }
    },
    {
      "PlanID": 1,
      "PlanName": "sample string 2",
      "PlanType": "sample string 3",
      "BankRate": "sample string 4",
      "BankRateText": "sample string 5",
      "HandleFees": "sample string 6",
      "CashRebate": "sample string 7",
      "MaximumLoan": "sample string 8",
      "Remark": "sample string 9",
      "Body": "sample string 10",
      "PlainBody": "sample string 11",
      "ApplyLink": "sample string 12",
      "BankTitle": "sample string 13",
      "LogoTitle": "sample string 14",
      "Sequence": 1,
      "ShowRedirect": true,
      "BankInfo": {
        "BankID": 1,
        "BankName": "sample string 2",
        "BankMobileLogo": "sample string 3",
        "BankWebLogo": "sample string 4"
      }
    }
  ],
  "ResponseCode": 1,
  "AlertMessage": "sample string 1"
}

text/xml

Sample:
<LoanPlanResponse 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>
  <LoanPlanList>
    <LoanPlanModel>
      <ApplyLink>sample string 12</ApplyLink>
      <BankInfo>
        <BankID>1</BankID>
        <BankMobileLogo>sample string 3</BankMobileLogo>
        <BankName>sample string 2</BankName>
        <BankWebLogo>sample string 4</BankWebLogo>
      </BankInfo>
      <BankRate>sample string 4</BankRate>
      <BankRateText>sample string 5</BankRateText>
      <BankTitle>sample string 13</BankTitle>
      <Body>sample string 10</Body>
      <CashRebate>sample string 7</CashRebate>
      <HandleFees>sample string 6</HandleFees>
      <LogoTitle>sample string 14</LogoTitle>
      <MaximumLoan>sample string 8</MaximumLoan>
      <PlainBody>sample string 11</PlainBody>
      <PlanID>1</PlanID>
      <PlanName>sample string 2</PlanName>
      <PlanType>sample string 3</PlanType>
      <Remark>sample string 9</Remark>
      <Sequence>1</Sequence>
      <ShowRedirect>true</ShowRedirect>
    </LoanPlanModel>
    <LoanPlanModel>
      <ApplyLink>sample string 12</ApplyLink>
      <BankInfo>
        <BankID>1</BankID>
        <BankMobileLogo>sample string 3</BankMobileLogo>
        <BankName>sample string 2</BankName>
        <BankWebLogo>sample string 4</BankWebLogo>
      </BankInfo>
      <BankRate>sample string 4</BankRate>
      <BankRateText>sample string 5</BankRateText>
      <BankTitle>sample string 13</BankTitle>
      <Body>sample string 10</Body>
      <CashRebate>sample string 7</CashRebate>
      <HandleFees>sample string 6</HandleFees>
      <LogoTitle>sample string 14</LogoTitle>
      <MaximumLoan>sample string 8</MaximumLoan>
      <PlainBody>sample string 11</PlainBody>
      <PlanID>1</PlanID>
      <PlanName>sample string 2</PlanName>
      <PlanType>sample string 3</PlanType>
      <Remark>sample string 9</Remark>
      <Sequence>1</Sequence>
      <ShowRedirect>true</ShowRedirect>
    </LoanPlanModel>
  </LoanPlanList>
</LoanPlanResponse>