GET api/Infomation/GetInfomationOfIndex?languageType={languageType}&queryType={queryType}&mortgageTypeID={mortgageTypeID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
languageType

CmsLanguage

Required

queryType

integer

Default value is 0

mortgageTypeID

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

InfomationResponse
NameDescriptionTypeAdditional information
InformationList

Collection of InfomationModel

None.

TotalNumber

integer

None.

ResponseCode

ResponseCode

None.

AlertMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "InformationList": [
    {
      "InfomationID": 1,
      "Subject": "sample string 2",
      "MortagteTypeID": 3,
      "MortagteTypeName": "sample string 4",
      "MortagteTabs": [
        "sample string 1",
        "sample string 2"
      ],
      "CoverImage": "sample string 5",
      "ImageList": [
        "sample string 1",
        "sample string 2"
      ],
      "Body": "sample string 6",
      "PlainBody": "sample string 7",
      "VideoTitle": "sample string 8",
      "VideoImage": "sample string 9",
      "VideoLink": "sample string 10",
      "ShowIndex": true,
      "ShowMortgageIndex": true,
      "Sequence": 13,
      "PublishDate": "2024-11-06T23:23:04.1736483+08:00",
      "PublishDateTime": "sample string 15",
      "MetaTitle": "sample string 16",
      "MetaDescription": "sample string 17",
      "URLFreeText": "sample string 18"
    },
    {
      "InfomationID": 1,
      "Subject": "sample string 2",
      "MortagteTypeID": 3,
      "MortagteTypeName": "sample string 4",
      "MortagteTabs": [
        "sample string 1",
        "sample string 2"
      ],
      "CoverImage": "sample string 5",
      "ImageList": [
        "sample string 1",
        "sample string 2"
      ],
      "Body": "sample string 6",
      "PlainBody": "sample string 7",
      "VideoTitle": "sample string 8",
      "VideoImage": "sample string 9",
      "VideoLink": "sample string 10",
      "ShowIndex": true,
      "ShowMortgageIndex": true,
      "Sequence": 13,
      "PublishDate": "2024-11-06T23:23:04.1736483+08:00",
      "PublishDateTime": "sample string 15",
      "MetaTitle": "sample string 16",
      "MetaDescription": "sample string 17",
      "URLFreeText": "sample string 18"
    }
  ],
  "TotalNumber": 1,
  "ResponseCode": 1,
  "AlertMessage": "sample string 2"
}

text/xml

Sample:
<InfomationResponse 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>
  <InformationList>
    <InfomationModel>
      <Body>sample string 6</Body>
      <CoverImage>sample string 5</CoverImage>
      <ImageList xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </ImageList>
      <InfomationID>1</InfomationID>
      <MetaDescription>sample string 17</MetaDescription>
      <MetaTitle>sample string 16</MetaTitle>
      <MortagteTabs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </MortagteTabs>
      <MortagteTypeID>3</MortagteTypeID>
      <MortagteTypeName>sample string 4</MortagteTypeName>
      <PlainBody>sample string 7</PlainBody>
      <PublishDate>2024-11-06T23:23:04.1736483+08:00</PublishDate>
      <PublishDateTime>sample string 15</PublishDateTime>
      <Sequence>13</Sequence>
      <ShowIndex>true</ShowIndex>
      <ShowMortgageIndex>true</ShowMortgageIndex>
      <Subject>sample string 2</Subject>
      <URLFreeText>sample string 18</URLFreeText>
      <VideoImage>sample string 9</VideoImage>
      <VideoLink>sample string 10</VideoLink>
      <VideoTitle>sample string 8</VideoTitle>
    </InfomationModel>
    <InfomationModel>
      <Body>sample string 6</Body>
      <CoverImage>sample string 5</CoverImage>
      <ImageList xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </ImageList>
      <InfomationID>1</InfomationID>
      <MetaDescription>sample string 17</MetaDescription>
      <MetaTitle>sample string 16</MetaTitle>
      <MortagteTabs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </MortagteTabs>
      <MortagteTypeID>3</MortagteTypeID>
      <MortagteTypeName>sample string 4</MortagteTypeName>
      <PlainBody>sample string 7</PlainBody>
      <PublishDate>2024-11-06T23:23:04.1736483+08:00</PublishDate>
      <PublishDateTime>sample string 15</PublishDateTime>
      <Sequence>13</Sequence>
      <ShowIndex>true</ShowIndex>
      <ShowMortgageIndex>true</ShowMortgageIndex>
      <Subject>sample string 2</Subject>
      <URLFreeText>sample string 18</URLFreeText>
      <VideoImage>sample string 9</VideoImage>
      <VideoLink>sample string 10</VideoLink>
      <VideoTitle>sample string 8</VideoTitle>
    </InfomationModel>
  </InformationList>
  <TotalNumber>1</TotalNumber>
</InfomationResponse>