GET api/v1/FAQ?CategoryID={CategoryID}
List of all FAQs by Category specified.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
CategoryID | The ID of the FAQ Category |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
[ { "Id": 1, "Question": "sample string 2", "Answer": "sample string 3" }, { "Id": 1, "Question": "sample string 2", "Answer": "sample string 3" }, { "Id": 1, "Question": "sample string 2", "Answer": "sample string 3" } ]
application/xml, text/xml
Sample:
<ArrayOfFAQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IECService.Models"> <FAQ> <Answer>sample string 3</Answer> <Id>1</Id> <Question>sample string 2</Question> </FAQ> <FAQ> <Answer>sample string 3</Answer> <Id>1</Id> <Question>sample string 2</Question> </FAQ> <FAQ> <Answer>sample string 3</Answer> <Id>1</Id> <Question>sample string 2</Question> </FAQ> </ArrayOfFAQ>