POST api/PublicInfo/CreateUpdate
Request Information
URI Parameters
None.
Body Parameters
PublicInfoCreateUpdateViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
HTMLContent | string |
None. |
|
PublicInfoTypeId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "bfb0f092-3887-4ad0-a61e-d4945f63836b", "HTMLContent": "sample string 2", "PublicInfoTypeId": "905fb5f8-a63b-4c15-92c6-d2c0ec1d6b1f" }
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>bfb0f092-3887-4ad0-a61e-d4945f63836b</Id> <PublicInfoTypeId>905fb5f8-a63b-4c15-92c6-d2c0ec1d6b1f</PublicInfoTypeId> </PublicInfoCreateUpdateViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Id" bfb0f092-3887-4ad0-a61e-d4945f63836b --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="HTMLContent" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="PublicInfoTypeId" 905fb5f8-a63b-4c15-92c6-d2c0ec1d6b1f --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, multipart/form-data
Sample:
Sample not available.