GET api/FAQ/FilterByCategory?ID={ID}&EmployerView={EmployerView}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ID

integer

None.

EmployerView

boolean

None.

Body Parameters

None.

Response Information

Resource Description

ListOutput
NameDescriptionTypeAdditional information
Data

Collection of FAQ

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "shortSameAsLong": true,
      "id": 2,
      "question": "sample string 3",
      "answerShort": "sample string 4",
      "answer": "sample string 5"
    },
    {
      "shortSameAsLong": true,
      "id": 2,
      "question": "sample string 3",
      "answerShort": "sample string 4",
      "answer": "sample string 5"
    }
  ]
}

application/xml, text/xml

Sample:
<ListOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIService.Models.Public.FAQ">
  <Data>
    <FAQ>
      <Answer>sample string 5</Answer>
      <AnswerShort>sample string 4</AnswerShort>
      <ID>2</ID>
      <Question>sample string 3</Question>
      <ShortSameAsLong>true</ShortSameAsLong>
    </FAQ>
    <FAQ>
      <Answer>sample string 5</Answer>
      <AnswerShort>sample string 4</AnswerShort>
      <ID>2</ID>
      <Question>sample string 3</Question>
      <ShortSameAsLong>true</ShortSameAsLong>
    </FAQ>
  </Data>
</ListOutput>