POST faq/GetAllCategoryByProductId

Request Information

URI Parameters

None.

Body Parameters

FAQRequest
NameDescriptionTypeAdditional information
FaqId

integer

None.

ProductId

integer

None.

CategoryId

integer

None.

CategoryIds

string

None.

PageSlug

string

None.

SearchText

string

None.

ParentCategoryId

integer

None.

CategoryName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FaqId": 1,
  "ProductId": 2,
  "CategoryId": 3,
  "CategoryIds": "sample string 4",
  "PageSlug": "sample string 5",
  "SearchText": "sample string 6",
  "ParentCategoryId": 7,
  "CategoryName": "sample string 8"
}

application/xml, text/xml

Sample:
<FAQRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ETF.Core.Model.RequestModel">
  <CategoryId>3</CategoryId>
  <CategoryIds>sample string 4</CategoryIds>
  <CategoryName>sample string 8</CategoryName>
  <FaqId>1</FaqId>
  <PageSlug>sample string 5</PageSlug>
  <ParentCategoryId>7</ParentCategoryId>
  <ProductId>2</ProductId>
  <SearchText>sample string 6</SearchText>
</FAQRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of FAQCategoryResponse
NameDescriptionTypeAdditional information
CategoryId

integer

None.

CategoryName

string

None.

ParentCategoryId

integer

None.

DisplayOrder

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CategoryId": 1,
    "CategoryName": "sample string 2",
    "ParentCategoryId": 3,
    "DisplayOrder": 4
  },
  {
    "CategoryId": 1,
    "CategoryName": "sample string 2",
    "ParentCategoryId": 3,
    "DisplayOrder": 4
  }
]

application/xml, text/xml

Sample:
<ArrayOfFAQCategoryResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ETF.Core.Model.ResponseModel">
  <FAQCategoryResponse>
    <CategoryId>1</CategoryId>
    <CategoryName>sample string 2</CategoryName>
    <DisplayOrder>4</DisplayOrder>
    <ParentCategoryId>3</ParentCategoryId>
  </FAQCategoryResponse>
  <FAQCategoryResponse>
    <CategoryId>1</CategoryId>
    <CategoryName>sample string 2</CategoryName>
    <DisplayOrder>4</DisplayOrder>
    <ParentCategoryId>3</ParentCategoryId>
  </FAQCategoryResponse>
</ArrayOfFAQCategoryResponse>