POST api/admin/QuestionAnswerApi/UpdateProductQACategoryByProductId

Request Information

URI Parameters

None.

Body Parameters

ProductQA
NameDescriptionTypeAdditional information
ID

integer

None.

ProductID

integer

None.

ProductQACategoryID

integer

None.

Name

string

None.

CustomerID

integer

None.

CustomerName

string

None.

Question

string

None.

AskedDate

date

None.

Answer

string

None.

AnsweredBy

string

None.

AnsweredOn

date

None.

HelpfulCount

integer

None.

NotHelpfulCount

integer

None.

IsPublished

boolean

None.

PublishedBy

string

None.

PublishedDate

date

None.

IsEdit

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "ProductID": 2,
  "ProductQACategoryID": 3,
  "Name": "sample string 4",
  "CustomerID": 5,
  "CustomerName": "sample string 6",
  "Question": "sample string 7",
  "AskedDate": "2025-06-07T11:24:50.504809",
  "Answer": "sample string 9",
  "AnsweredBy": "sample string 10",
  "AnsweredOn": "2025-06-07T11:24:50.504809",
  "HelpfulCount": 12,
  "NotHelpfulCount": 13,
  "IsPublished": true,
  "PublishedBy": "sample string 15",
  "PublishedDate": "2025-06-07T11:24:50.504809",
  "IsEdit": true
}

application/xml, text/xml

Sample:
<ProductQA xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAWModels">
  <Answer>sample string 9</Answer>
  <AnsweredBy>sample string 10</AnsweredBy>
  <AnsweredOn>2025-06-07T11:24:50.504809-04:00</AnsweredOn>
  <AskedDate>2025-06-07T11:24:50.504809-04:00</AskedDate>
  <CustomerID>5</CustomerID>
  <CustomerName>sample string 6</CustomerName>
  <HelpfulCount>12</HelpfulCount>
  <ID>1</ID>
  <IsEdit>true</IsEdit>
  <IsPublished>true</IsPublished>
  <Name>sample string 4</Name>
  <NotHelpfulCount>13</NotHelpfulCount>
  <ProductID>2</ProductID>
  <ProductQACategoryID>3</ProductQACategoryID>
  <PublishedBy>sample string 15</PublishedBy>
  <PublishedDate>2025-06-07T11:24:50.504809-04:00</PublishedDate>
  <Question>sample string 7</Question>
</ProductQA>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.