POST v1/CampaignTemplateEditor/TemplateData
Save template data
Request Information
URI Parameters
None.
Body Parameters
Template data
CampaignTemplateEditorDtoName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Name | string |
None. |
|
EmailSubjectLine | string |
None. |
|
IsMarketing | boolean |
None. |
|
MergeIds | string |
None. |
|
TemplateHtml | string |
None. |
|
DateUpdated | date |
None. |
|
SystemDefined | boolean |
None. |
|
UsedInItems | Collection of UsedInItem |
None. |
|
CampaignContext | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "3c59579b-860b-4c3a-a5e7-d648d1098d41", "Name": "sample string 1", "EmailSubjectLine": "sample string 2", "IsMarketing": true, "MergeIds": "sample string 3", "TemplateHtml": "sample string 4", "DateUpdated": "2024-12-11T05:38:35.5412333+00:00", "SystemDefined": true, "UsedInItems": [ { "Id": "bc1e5f3e-3ef5-4cb7-8ad6-ebc732717aeb", "Name": "sample string 2", "ContextId": 3, "ContextName": "sample string 4" }, { "Id": "bc1e5f3e-3ef5-4cb7-8ad6-ebc732717aeb", "Name": "sample string 2", "ContextId": 3, "ContextName": "sample string 4" } ], "CampaignContext": "sample string 7" }
application/xml, text/xml
Sample:
<CampaignTemplateEditorDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Campaign"> <CampaignContext>sample string 7</CampaignContext> <DateUpdated>2024-12-11T05:38:35.5412333+00:00</DateUpdated> <EmailSubjectLine>sample string 2</EmailSubjectLine> <Id>3c59579b-860b-4c3a-a5e7-d648d1098d41</Id> <IsMarketing>true</IsMarketing> <MergeIds>sample string 3</MergeIds> <Name>sample string 1</Name> <SystemDefined>true</SystemDefined> <TemplateHtml>sample string 4</TemplateHtml> <UsedInItems> <UsedInItem> <ContextId>3</ContextId> <ContextName>sample string 4</ContextName> <Id>bc1e5f3e-3ef5-4cb7-8ad6-ebc732717aeb</Id> <Name>sample string 2</Name> </UsedInItem> <UsedInItem> <ContextId>3</ContextId> <ContextName>sample string 4</ContextName> <Id>bc1e5f3e-3ef5-4cb7-8ad6-ebc732717aeb</Id> <Name>sample string 2</Name> </UsedInItem> </UsedInItems> </CampaignTemplateEditorDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Saved template
CampaignTemplateEditorDtoName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Name | string |
None. |
|
EmailSubjectLine | string |
None. |
|
IsMarketing | boolean |
None. |
|
MergeIds | string |
None. |
|
TemplateHtml | string |
None. |
|
DateUpdated | date |
None. |
|
SystemDefined | boolean |
None. |
|
UsedInItems | Collection of UsedInItem |
None. |
|
CampaignContext | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "aef2756b-84a7-4dac-97b6-1f95ca701b04", "Name": "sample string 1", "EmailSubjectLine": "sample string 2", "IsMarketing": true, "MergeIds": "sample string 3", "TemplateHtml": "sample string 4", "DateUpdated": "2024-12-11T05:38:35.5554785+00:00", "SystemDefined": true, "UsedInItems": [ { "Id": "eba7142e-6b1c-480d-8a25-c7811b08b16f", "Name": "sample string 2", "ContextId": 3, "ContextName": "sample string 4" }, { "Id": "eba7142e-6b1c-480d-8a25-c7811b08b16f", "Name": "sample string 2", "ContextId": 3, "ContextName": "sample string 4" } ], "CampaignContext": "sample string 7" }
application/xml, text/xml
Sample:
<CampaignTemplateEditorDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Campaign"> <CampaignContext>sample string 7</CampaignContext> <DateUpdated>2024-12-11T05:38:35.5554785+00:00</DateUpdated> <EmailSubjectLine>sample string 2</EmailSubjectLine> <Id>aef2756b-84a7-4dac-97b6-1f95ca701b04</Id> <IsMarketing>true</IsMarketing> <MergeIds>sample string 3</MergeIds> <Name>sample string 1</Name> <SystemDefined>true</SystemDefined> <TemplateHtml>sample string 4</TemplateHtml> <UsedInItems> <UsedInItem> <ContextId>3</ContextId> <ContextName>sample string 4</ContextName> <Id>eba7142e-6b1c-480d-8a25-c7811b08b16f</Id> <Name>sample string 2</Name> </UsedInItem> <UsedInItem> <ContextId>3</ContextId> <ContextName>sample string 4</ContextName> <Id>eba7142e-6b1c-480d-8a25-c7811b08b16f</Id> <Name>sample string 2</Name> </UsedInItem> </UsedInItems> </CampaignTemplateEditorDto>