POST SaveFAQ

Request Information

URI Parameters

None.

Body Parameters

FAQDto
NameDescriptionTypeAdditional information
Id

integer

None.

FAQ

string

None.

Answer

string

None.

DelInd

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "FAQ": "sample string 2",
  "Answer": "sample string 3",
  "DelInd": true
}

application/xml, text/xml

Sample:
<FAQDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TCB.Entity.Dtos">
  <Answer>sample string 3</Answer>
  <DelInd>true</DelInd>
  <FAQ>sample string 2</FAQ>
  <Id>1</Id>
</FAQDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'FAQDto'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.