POST api/PublicInfo/CreateUpdate

Request Information

URI Parameters

None.

Body Parameters

PublicInfoCreateUpdateViewModel
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

HTMLContent

string

None.

PublicInfoTypeId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "08b59cce-07cc-4b9f-9696-62722129781b",
  "HTMLContent": "sample string 2",
  "PublicInfoTypeId": "8da5921a-55ff-49b4-b63d-d6e8e57ce312"
}

application/xml, text/xml

Sample:
<PublicInfoCreateUpdateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iP.Products.MySDS.WebAPI.Areas.PublicInfo.ViewModels">
  <HTMLContent>sample string 2</HTMLContent>
  <Id>08b59cce-07cc-4b9f-9696-62722129781b</Id>
  <PublicInfoTypeId>8da5921a-55ff-49b4-b63d-d6e8e57ce312</PublicInfoTypeId>
</PublicInfoCreateUpdateViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

multipart/form-data

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

08b59cce-07cc-4b9f-9696-62722129781b
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="HTMLContent"

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

8da5921a-55ff-49b4-b63d-d6e8e57ce312
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.