POST v1/CampaignTemplateEditor/TemplateData
Save template data
Request Information
URI Parameters
None.
Body Parameters
Template data
CampaignTemplateEditorDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
The ID of the Campaign Template Editor |
globally unique identifier |
None. |
| Name |
The Name of the Campaign Template Editor |
string |
None. |
| EmailSubjectLine |
The subject of the email |
string |
None. |
| IsMarketing |
Indicates if email is marketing |
boolean |
None. |
| MergeIds |
The ID of the merge |
string |
None. |
| TemplateHtml |
HTML template |
string |
None. |
| DateUpdated |
Gets or sets the date of the update. |
date |
None. |
| SystemDefined |
Gets or sets a value indicating whether template is [system defined]. |
boolean |
None. |
| UsedInItems |
List of campaigns which use template |
Collection of UsedInItem |
None. |
| CampaignContext |
Context of the campaign |
string |
None. |
Request Formats
application/json, text/json
{
"Id": "f989bf05-1502-4c2f-8652-bc898e86b55f",
"Name": "sample string 1",
"EmailSubjectLine": "sample string 2",
"IsMarketing": true,
"MergeIds": "sample string 3",
"TemplateHtml": "sample string 4",
"DateUpdated": "2026-09-24T18:39:18.0623152+00:00",
"SystemDefined": true,
"UsedInItems": [
{
"Id": "970311b1-1a1d-4644-af67-f744923a6def",
"Name": "sample string 2",
"ContextId": 3,
"ContextName": "sample string 4"
},
{
"Id": "970311b1-1a1d-4644-af67-f744923a6def",
"Name": "sample string 2",
"ContextId": 3,
"ContextName": "sample string 4"
}
],
"CampaignContext": "sample string 7"
}
application/x-www-form-urlencoded
Form URL encoded content is supported for requests. The form keys are the property names shown in the JSON sample, nested as Property.Child and Collection[0].Property.
application/xml, text/xml
<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>2026-09-24T18:39:18.0623152+00:00</DateUpdated>
<EmailSubjectLine>sample string 2</EmailSubjectLine>
<Id>f989bf05-1502-4c2f-8652-bc898e86b55f</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>970311b1-1a1d-4644-af67-f744923a6def</Id>
<Name>sample string 2</Name>
</UsedInItem>
<UsedInItem>
<ContextId>3</ContextId>
<ContextName>sample string 4</ContextName>
<Id>970311b1-1a1d-4644-af67-f744923a6def</Id>
<Name>sample string 2</Name>
</UsedInItem>
</UsedInItems>
</CampaignTemplateEditorDto>
Response Information
Resource Description
Saved template
CampaignTemplateEditorDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
The ID of the Campaign Template Editor |
globally unique identifier |
None. |
| Name |
The Name of the Campaign Template Editor |
string |
None. |
| EmailSubjectLine |
The subject of the email |
string |
None. |
| IsMarketing |
Indicates if email is marketing |
boolean |
None. |
| MergeIds |
The ID of the merge |
string |
None. |
| TemplateHtml |
HTML template |
string |
None. |
| DateUpdated |
Gets or sets the date of the update. |
date |
None. |
| SystemDefined |
Gets or sets a value indicating whether template is [system defined]. |
boolean |
None. |
| UsedInItems |
List of campaigns which use template |
Collection of UsedInItem |
None. |
| CampaignContext |
Context of the campaign |
string |
None. |
Response Formats
application/json, text/json
{
"Id": "bf2241eb-d3fc-4c74-8eef-a7dbdd779490",
"Name": "sample string 1",
"EmailSubjectLine": "sample string 2",
"IsMarketing": true,
"MergeIds": "sample string 3",
"TemplateHtml": "sample string 4",
"DateUpdated": "2026-09-24T18:39:18.0786163+00:00",
"SystemDefined": true,
"UsedInItems": [
{
"Id": "87dc53ea-e9f9-4bcd-8bd8-99219482c47e",
"Name": "sample string 2",
"ContextId": 3,
"ContextName": "sample string 4"
},
{
"Id": "87dc53ea-e9f9-4bcd-8bd8-99219482c47e",
"Name": "sample string 2",
"ContextId": 3,
"ContextName": "sample string 4"
}
],
"CampaignContext": "sample string 7"
}
application/xml, text/xml
<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>2026-09-24T18:39:18.0786163+00:00</DateUpdated>
<EmailSubjectLine>sample string 2</EmailSubjectLine>
<Id>bf2241eb-d3fc-4c74-8eef-a7dbdd779490</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>87dc53ea-e9f9-4bcd-8bd8-99219482c47e</Id>
<Name>sample string 2</Name>
</UsedInItem>
<UsedInItem>
<ContextId>3</ContextId>
<ContextName>sample string 4</ContextName>
<Id>87dc53ea-e9f9-4bcd-8bd8-99219482c47e</Id>
<Name>sample string 2</Name>
</UsedInItem>
</UsedInItems>
</CampaignTemplateEditorDto>