POST api/Administration/FAQ/CreateUpdate

Request Information

URI Parameters

None.

Body Parameters

FAQCreateUpdateViewModel
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Answer

string

None.

Question

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "cb0c388c-407f-4c6e-b50e-46287941b1e9",
  "Answer": "sample string 2",
  "Question": "sample string 3"
}

application/xml, text/xml

Sample:
<FAQCreateUpdateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iP.Products.MySDS.WebAPI.Areas.Administration.ViewModels">
  <Answer>sample string 2</Answer>
  <Id>cb0c388c-407f-4c6e-b50e-46287941b1e9</Id>
  <Question>sample string 3</Question>
</FAQCreateUpdateViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Id"

cb0c388c-407f-4c6e-b50e-46287941b1e9
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Answer"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Question"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, multipart/form-data

Sample:

Sample not available.