GET api/MortgageOfferCategory/GetCategory?languageType={languageType}&queryType={queryType}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| languageType | CmsLanguage |
Required |
|
| queryType | integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
CategoryResponse| Name | Description | Type | Additional 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": "2026-03-17T10:56:59.1919459+08:00",
"CategoryID": 5,
"CategoryName": "sample string 6",
"IconUrl": "sample string 7"
},
{
"ShowIndex": true,
"PropertyType": "sample string 2",
"Sequence": 3,
"PublishDateTime": "2026-03-17T10:56:59.1919459+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>2026-03-17T10:56:59.1919459+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>2026-03-17T10:56:59.1919459+08:00</PublishDateTime>
<Sequence>3</Sequence>
<ShowIndex>true</ShowIndex>
</MortgageOfferCategoryModel>
</CategoryList>
</CategoryResponse>