POST api/BusinessModules/{businessModuleId}/Entities/{entityId}/CreateDigitalPostDraftMessage
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| businessModuleId | globally unique identifier |
Required |
|
| entityId | integer |
Required |
Body Parameters
WorkPoint.Core.Models.Actions.CreateDraftDigitalPostMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| UseHtmlAsMainDocument | boolean |
None. |
|
| HtmlDocumentFilename | string |
None. |
|
| HtmlDocument | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UseHtmlAsMainDocument": true,
"HtmlDocumentFilename": "sample string 2",
"HtmlDocument": "sample string 3"
}
application/xml, text/xml
Sample:
<CreateDraftDigitalPostMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WorkPoint.Core.Models.Actions"> <HtmlDocument>sample string 3</HtmlDocument> <HtmlDocumentFilename>sample string 2</HtmlDocumentFilename> <UseHtmlAsMainDocument>true</UseHtmlAsMainDocument> </CreateDraftDigitalPostMessage>
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.