GET api/MortgageOfferCategory/GetCategory?languageType={languageType}&queryType={queryType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
languageType

CmsLanguage

Required

queryType

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

CategoryResponse
NameDescriptionTypeAdditional information
CategoryList

Collection of MortgageOfferCategoryModel

None.

ResponseCode

ResponseCode

None.

AlertMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "CategoryList": [
    {
      "ShowIndex": true,
      "PropertyType": "sample string 2",
      "Sequence": 3,
      "PublishDateTime": "2022-12-10T16:37:34.8577193+08:00",
      "CategoryID": 5,
      "CategoryName": "sample string 6",
      "IconUrl": "sample string 7"
    },
    {
      "ShowIndex": true,
      "PropertyType": "sample string 2",
      "Sequence": 3,
      "PublishDateTime": "2022-12-10T16:37:34.8577193+08:00",
      "CategoryID": 5,
      "CategoryName": "sample string 6",
      "IconUrl": "sample string 7"
    }
  ],
  "ResponseCode": 1,
  "AlertMessage": "sample string 1"
}

text/xml

Sample:
<CategoryResponse 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>
  <CategoryList>
    <MortgageOfferCategoryModel>
      <CategoryID>5</CategoryID>
      <CategoryName>sample string 6</CategoryName>
      <IconUrl>sample string 7</IconUrl>
      <PropertyType>sample string 2</PropertyType>
      <PublishDateTime>2022-12-10T16:37:34.8577193+08:00</PublishDateTime>
      <Sequence>3</Sequence>
      <ShowIndex>true</ShowIndex>
    </MortgageOfferCategoryModel>
    <MortgageOfferCategoryModel>
      <CategoryID>5</CategoryID>
      <CategoryName>sample string 6</CategoryName>
      <IconUrl>sample string 7</IconUrl>
      <PropertyType>sample string 2</PropertyType>
      <PublishDateTime>2022-12-10T16:37:34.8577193+08:00</PublishDateTime>
      <Sequence>3</Sequence>
      <ShowIndex>true</ShowIndex>
    </MortgageOfferCategoryModel>
  </CategoryList>
</CategoryResponse>