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": "97e4ed8d-bf87-4879-94fd-74c053087823", "Name": "sample string 1", "EmailSubjectLine": "sample string 2", "IsMarketing": true, "MergeIds": "sample string 3", "TemplateHtml": "sample string 4", "DateUpdated": "2025-04-04T02:13:35.9361021+00:00", "SystemDefined": true, "UsedInItems": [ { "Id": "d9ce61fc-0e59-450e-9d07-fec45a0d0abc", "Name": "sample string 2", "ContextId": 3, "ContextName": "sample string 4" }, { "Id": "d9ce61fc-0e59-450e-9d07-fec45a0d0abc", "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>2025-04-04T02:13:35.9361021+00:00</DateUpdated> <EmailSubjectLine>sample string 2</EmailSubjectLine> <Id>97e4ed8d-bf87-4879-94fd-74c053087823</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>d9ce61fc-0e59-450e-9d07-fec45a0d0abc</Id> <Name>sample string 2</Name> </UsedInItem> <UsedInItem> <ContextId>3</ContextId> <ContextName>sample string 4</ContextName> <Id>d9ce61fc-0e59-450e-9d07-fec45a0d0abc</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": "92e85067-2f86-46b8-8efd-eb80dfd2ee75", "Name": "sample string 1", "EmailSubjectLine": "sample string 2", "IsMarketing": true, "MergeIds": "sample string 3", "TemplateHtml": "sample string 4", "DateUpdated": "2025-04-04T02:13:35.9361021+00:00", "SystemDefined": true, "UsedInItems": [ { "Id": "c4bdce62-518b-42d3-8554-27fa3a7761c7", "Name": "sample string 2", "ContextId": 3, "ContextName": "sample string 4" }, { "Id": "c4bdce62-518b-42d3-8554-27fa3a7761c7", "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>2025-04-04T02:13:35.9361021+00:00</DateUpdated> <EmailSubjectLine>sample string 2</EmailSubjectLine> <Id>92e85067-2f86-46b8-8efd-eb80dfd2ee75</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>c4bdce62-518b-42d3-8554-27fa3a7761c7</Id> <Name>sample string 2</Name> </UsedInItem> <UsedInItem> <ContextId>3</ContextId> <ContextName>sample string 4</ContextName> <Id>c4bdce62-518b-42d3-8554-27fa3a7761c7</Id> <Name>sample string 2</Name> </UsedInItem> </UsedInItems> </CampaignTemplateEditorDto>