GET api/FAQ/GetFAQByPageType?pageType={pageType}&languageType={languageType}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
pageType | string |
Default value is mortgageplan |
|
languageType | CmsLanguage |
Default value is TC |
Body Parameters
None.
Response Information
Resource Description
FAQResponseName | Description | Type | Additional 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": "2024-12-21T20:48:07.8316759+08:00", "Seq": 5 }, { "FAQ": "sample string 1", "FAQForPage": "sample string 2", "Body": "sample string 3", "PublishDateTime": "2024-12-21T20:48:07.8316759+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>2024-12-21T20:48:07.8316759+08:00</PublishDateTime> <Seq>5</Seq> </FAQModel> <FAQModel> <Body>sample string 3</Body> <FAQ>sample string 1</FAQ> <FAQForPage>sample string 2</FAQForPage> <PublishDateTime>2024-12-21T20:48:07.8316759+08:00</PublishDateTime> <Seq>5</Seq> </FAQModel> </faqlist> </FAQResponse>