POST api/WebContent/Save
Request Information
URI Parameters
None.
Body Parameters
WebContentName | Description | Type | Additional information |
---|---|---|---|
ContentID | globally unique identifier |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
Type | string |
None. |
|
ContentType | string |
None. |
|
Order | integer |
None. |
|
URL | string |
None. |
|
Published | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "ContentID": "8d79f2be-b6b3-4d8e-a5bc-21ac90587f18", "Name": "sample string 2", "Description": "sample string 3", "Type": "sample string 4", "ContentType": "sample string 5", "Order": 6, "URL": "sample string 7", "Published": true }
application/xml, text/xml
Sample:
<WebContent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/D365IntergrationsWebAPI.Models"> <ContentID>8d79f2be-b6b3-4d8e-a5bc-21ac90587f18</ContentID> <ContentType>sample string 5</ContentType> <Description>sample string 3</Description> <Name>sample string 2</Name> <Order>6</Order> <Published>true</Published> <Type>sample string 4</Type> <URL>sample string 7</URL> </WebContent>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |