GET api/Portal/GetFaqDetails?languageId={languageId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
languageId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of FaqTopic
NameDescriptionTypeAdditional information
Id

integer

None.

Topic

string

None.

ImageUrl

string

None.

FaqQAs

Collection of FaqQA

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Topic": "sample string 2",
    "ImageUrl": "sample string 3",
    "FaqQAs": [
      {
        "Id": 1,
        "TopicId": 2,
        "Question": "sample string 3",
        "Answer": "sample string 4",
        "isOpen": true,
        "Keywords": {
          "FaqQAKeywords": [
            {
              "Keyword": "sample string 1"
            },
            {
              "Keyword": "sample string 1"
            }
          ]
        }
      },
      {
        "Id": 1,
        "TopicId": 2,
        "Question": "sample string 3",
        "Answer": "sample string 4",
        "isOpen": true,
        "Keywords": {
          "FaqQAKeywords": [
            {
              "Keyword": "sample string 1"
            },
            {
              "Keyword": "sample string 1"
            }
          ]
        }
      }
    ]
  },
  {
    "Id": 1,
    "Topic": "sample string 2",
    "ImageUrl": "sample string 3",
    "FaqQAs": [
      {
        "Id": 1,
        "TopicId": 2,
        "Question": "sample string 3",
        "Answer": "sample string 4",
        "isOpen": true,
        "Keywords": {
          "FaqQAKeywords": [
            {
              "Keyword": "sample string 1"
            },
            {
              "Keyword": "sample string 1"
            }
          ]
        }
      },
      {
        "Id": 1,
        "TopicId": 2,
        "Question": "sample string 3",
        "Answer": "sample string 4",
        "isOpen": true,
        "Keywords": {
          "FaqQAKeywords": [
            {
              "Keyword": "sample string 1"
            },
            {
              "Keyword": "sample string 1"
            }
          ]
        }
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfFaqTopic xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GBG.AS.StudentWaiverPortal.API.Areas.Portal.Models">
  <FaqTopic>
    <FaqQAs>
      <FaqQA>
        <Answer>sample string 4</Answer>
        <Id>1</Id>
        <Keywords>
          <FaqQAKeywords>
            <FaqQAKeyword>
              <Keyword>sample string 1</Keyword>
            </FaqQAKeyword>
            <FaqQAKeyword>
              <Keyword>sample string 1</Keyword>
            </FaqQAKeyword>
          </FaqQAKeywords>
        </Keywords>
        <Question>sample string 3</Question>
        <TopicId>2</TopicId>
        <isOpen>true</isOpen>
      </FaqQA>
      <FaqQA>
        <Answer>sample string 4</Answer>
        <Id>1</Id>
        <Keywords>
          <FaqQAKeywords>
            <FaqQAKeyword>
              <Keyword>sample string 1</Keyword>
            </FaqQAKeyword>
            <FaqQAKeyword>
              <Keyword>sample string 1</Keyword>
            </FaqQAKeyword>
          </FaqQAKeywords>
        </Keywords>
        <Question>sample string 3</Question>
        <TopicId>2</TopicId>
        <isOpen>true</isOpen>
      </FaqQA>
    </FaqQAs>
    <Id>1</Id>
    <ImageUrl>sample string 3</ImageUrl>
    <Topic>sample string 2</Topic>
  </FaqTopic>
  <FaqTopic>
    <FaqQAs>
      <FaqQA>
        <Answer>sample string 4</Answer>
        <Id>1</Id>
        <Keywords>
          <FaqQAKeywords>
            <FaqQAKeyword>
              <Keyword>sample string 1</Keyword>
            </FaqQAKeyword>
            <FaqQAKeyword>
              <Keyword>sample string 1</Keyword>
            </FaqQAKeyword>
          </FaqQAKeywords>
        </Keywords>
        <Question>sample string 3</Question>
        <TopicId>2</TopicId>
        <isOpen>true</isOpen>
      </FaqQA>
      <FaqQA>
        <Answer>sample string 4</Answer>
        <Id>1</Id>
        <Keywords>
          <FaqQAKeywords>
            <FaqQAKeyword>
              <Keyword>sample string 1</Keyword>
            </FaqQAKeyword>
            <FaqQAKeyword>
              <Keyword>sample string 1</Keyword>
            </FaqQAKeyword>
          </FaqQAKeywords>
        </Keywords>
        <Question>sample string 3</Question>
        <TopicId>2</TopicId>
        <isOpen>true</isOpen>
      </FaqQA>
    </FaqQAs>
    <Id>1</Id>
    <ImageUrl>sample string 3</ImageUrl>
    <Topic>sample string 2</Topic>
  </FaqTopic>
</ArrayOfFaqTopic>