POST api/HelpDocument/CreateUpdate

Request Information

URI Parameters

None.

Body Parameters

HelpDocumentCreateUpdateViewModel
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Title

string

None.

Description

string

None.

CategoryId

globally unique identifier

None.

Active

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "87000566-61bc-4819-b9b4-108dc6c84191",
  "Title": "sample string 2",
  "Description": "sample string 3",
  "CategoryId": "e2eb3270-494a-4cc7-8b43-07497fa8d0a7",
  "Active": true
}

application/xml, text/xml

Sample:
<HelpDocumentCreateUpdateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iP.Products.MySDS.WebAPI.Areas.HelpDocument.ViewModels">
  <Active>true</Active>
  <CategoryId>e2eb3270-494a-4cc7-8b43-07497fa8d0a7</CategoryId>
  <Description>sample string 3</Description>
  <Id>87000566-61bc-4819-b9b4-108dc6c84191</Id>
  <Title>sample string 2</Title>
</HelpDocumentCreateUpdateViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

multipart/form-data

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

87000566-61bc-4819-b9b4-108dc6c84191
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Title"

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

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="CategoryId"

e2eb3270-494a-4cc7-8b43-07497fa8d0a7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Active"

True
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.