POST faq/GetParentCategoryByProductId

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.

AccessKey

string

None.

SecretKey

string

None.

ProductCode

string

None.

EmailAddress

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",
  "AccessKey": "sample string 9",
  "SecretKey": "sample string 10",
  "ProductCode": "sample string 11",
  "EmailAddress": "sample string 12"
}

application/xml, text/xml

Sample:
<FAQRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpanLibraries.Core.Models.RequestModel">
  <AccessKey>sample string 9</AccessKey>
  <CategoryId>3</CategoryId>
  <CategoryIds>sample string 4</CategoryIds>
  <CategoryName>sample string 8</CategoryName>
  <EmailAddress>sample string 12</EmailAddress>
  <FaqId>1</FaqId>
  <PageSlug>sample string 5</PageSlug>
  <ParentCategoryId>7</ParentCategoryId>
  <ProductCode>sample string 11</ProductCode>
  <ProductId>2</ProductId>
  <SearchText>sample string 6</SearchText>
  <SecretKey>sample string 10</SecretKey>
</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/SpanLibraries.Core.Models.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>