GET api/FAQ/GetFAQByPageType?pageType={pageType}&languageType={languageType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageType

FAQPageType

Default value is MortgagePlan

languageType

CmsLanguage

Default value is TC

Body Parameters

None.

Response Information

Resource Description

FAQResponse
NameDescriptionTypeAdditional information
faqlist

Collection of FAQModel

None.

ResponseCode

ResponseCode

None.

AlertMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "faqlist": [
    {
      "FAQ": "sample string 1",
      "FAQForPage": "sample string 2",
      "Body": "sample string 3",
      "PublishDateTime": "2023-04-01T22:01:15.3073841+08:00",
      "Seq": 5
    },
    {
      "FAQ": "sample string 1",
      "FAQForPage": "sample string 2",
      "Body": "sample string 3",
      "PublishDateTime": "2023-04-01T22:01:15.3073841+08:00",
      "Seq": 5
    }
  ],
  "ResponseCode": 1,
  "AlertMessage": "sample string 1"
}

text/xml

Sample:
<FAQResponse 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>
  <faqlist>
    <FAQModel>
      <Body>sample string 3</Body>
      <FAQ>sample string 1</FAQ>
      <FAQForPage>sample string 2</FAQForPage>
      <PublishDateTime>2023-04-01T22:01:15.3073841+08:00</PublishDateTime>
      <Seq>5</Seq>
    </FAQModel>
    <FAQModel>
      <Body>sample string 3</Body>
      <FAQ>sample string 1</FAQ>
      <FAQForPage>sample string 2</FAQForPage>
      <PublishDateTime>2023-04-01T22:01:15.3073841+08:00</PublishDateTime>
      <Seq>5</Seq>
    </FAQModel>
  </faqlist>
</FAQResponse>