GET api/MortgageOffer/GetMortgageOfferOfIndex?languageType={languageType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
languageType

CmsLanguage

Required

Body Parameters

None.

Response Information

Resource Description

MortgagePlanIndexResponse
NameDescriptionTypeAdditional information
MortgagePlanList

Collection of MortgagePlanIndex

None.

TotalNumber

integer

None.

ResponseCode

ResponseCode

None.

AlertMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "MortgagePlanList": [
    {
      "MortgagePlanID": 1,
      "MortgagePlanName": "sample string 2",
      "MortgageType": "sample string 3",
      "CategoryInfo": {
        "CategoryID": 1,
        "CategoryName": "sample string 2",
        "IconUrl": "sample string 3"
      },
      "PlanDetailList": [
        {
          "Content": "sample string 1",
          "Label": "sample string 2"
        },
        {
          "Content": "sample string 1",
          "Label": "sample string 2"
        }
      ],
      "TargetUser": "sample string 4",
      "Sequence": 5,
      "PublishDateTime": "2024-12-07T10:01:51.9671535+08:00"
    },
    {
      "MortgagePlanID": 1,
      "MortgagePlanName": "sample string 2",
      "MortgageType": "sample string 3",
      "CategoryInfo": {
        "CategoryID": 1,
        "CategoryName": "sample string 2",
        "IconUrl": "sample string 3"
      },
      "PlanDetailList": [
        {
          "Content": "sample string 1",
          "Label": "sample string 2"
        },
        {
          "Content": "sample string 1",
          "Label": "sample string 2"
        }
      ],
      "TargetUser": "sample string 4",
      "Sequence": 5,
      "PublishDateTime": "2024-12-07T10:01:51.9671535+08:00"
    }
  ],
  "TotalNumber": 1,
  "ResponseCode": 1,
  "AlertMessage": "sample string 2"
}

text/xml

Sample:
<MortgagePlanIndexResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CentaMortgageWebAPI.Models">
  <AlertMessage>sample string 2</AlertMessage>
  <ResponseCode>Success</ResponseCode>
  <MortgagePlanList>
    <MortgagePlanIndex>
      <CategoryInfo>
        <CategoryID>1</CategoryID>
        <CategoryName>sample string 2</CategoryName>
        <IconUrl>sample string 3</IconUrl>
      </CategoryInfo>
      <MortgagePlanID>1</MortgagePlanID>
      <MortgagePlanName>sample string 2</MortgagePlanName>
      <MortgageType>sample string 3</MortgageType>
      <PlanDetailList>
        <PlanDetailModel>
          <Content>sample string 1</Content>
          <Label>sample string 2</Label>
        </PlanDetailModel>
        <PlanDetailModel>
          <Content>sample string 1</Content>
          <Label>sample string 2</Label>
        </PlanDetailModel>
      </PlanDetailList>
      <PublishDateTime>2024-12-07T10:01:51.9671535+08:00</PublishDateTime>
      <Sequence>5</Sequence>
      <TargetUser>sample string 4</TargetUser>
    </MortgagePlanIndex>
    <MortgagePlanIndex>
      <CategoryInfo>
        <CategoryID>1</CategoryID>
        <CategoryName>sample string 2</CategoryName>
        <IconUrl>sample string 3</IconUrl>
      </CategoryInfo>
      <MortgagePlanID>1</MortgagePlanID>
      <MortgagePlanName>sample string 2</MortgagePlanName>
      <MortgageType>sample string 3</MortgageType>
      <PlanDetailList>
        <PlanDetailModel>
          <Content>sample string 1</Content>
          <Label>sample string 2</Label>
        </PlanDetailModel>
        <PlanDetailModel>
          <Content>sample string 1</Content>
          <Label>sample string 2</Label>
        </PlanDetailModel>
      </PlanDetailList>
      <PublishDateTime>2024-12-07T10:01:51.9671535+08:00</PublishDateTime>
      <Sequence>5</Sequence>
      <TargetUser>sample string 4</TargetUser>
    </MortgagePlanIndex>
  </MortgagePlanList>
  <TotalNumber>1</TotalNumber>
</MortgagePlanIndexResponse>