POST api/faq/saveFaq

Request Information

URI Parameters

None.

Body Parameters

Faq
NameDescriptionTypeAdditional information
FaqID

integer

None.

CompanyID

integer

None.

Question

string

None.

Answer

string

None.

CreatedBy

integer

None.

CreatedOn

date

None.

ModifiedBy

integer

None.

ModifiedOn

date

None.

IsDeleted

boolean

None.

SortOrder

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FaqID": 1,
  "CompanyID": 1,
  "Question": "sample string 1",
  "Answer": "sample string 2",
  "CreatedBy": 1,
  "CreatedOn": "2024-10-04T20:23:21.4501008+03:00",
  "ModifiedBy": 1,
  "ModifiedOn": "2024-10-04T20:23:21.4501008+03:00",
  "IsDeleted": true,
  "SortOrder": 1
}

application/xml, text/xml

Sample:
<Faq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MODEL.Models">
  <Answer>sample string 2</Answer>
  <CompanyID>1</CompanyID>
  <CreatedBy>1</CreatedBy>
  <CreatedOn>2024-10-04T20:23:21.4501008+03:00</CreatedOn>
  <FaqID>1</FaqID>
  <IsDeleted>true</IsDeleted>
  <ModifiedBy>1</ModifiedBy>
  <ModifiedOn>2024-10-04T20:23:21.4501008+03:00</ModifiedOn>
  <Question>sample string 1</Question>
  <SortOrder>1</SortOrder>
</Faq>

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.