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": "ffb1d49c-99fa-40fe-b54c-64b4674a3943", "Name": "sample string 1", "EmailSubjectLine": "sample string 2", "IsMarketing": true, "MergeIds": "sample string 3", "TemplateHtml": "sample string 4", "DateUpdated": "2025-01-18T03:45:33.7163899+00:00", "SystemDefined": true, "UsedInItems": [ { "Id": "584a2eef-ea0f-4717-8705-eb333263cb34", "Name": "sample string 2", "ContextId": 3, "ContextName": "sample string 4" }, { "Id": "584a2eef-ea0f-4717-8705-eb333263cb34", "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-01-18T03:45:33.7163899+00:00</DateUpdated> <EmailSubjectLine>sample string 2</EmailSubjectLine> <Id>ffb1d49c-99fa-40fe-b54c-64b4674a3943</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>584a2eef-ea0f-4717-8705-eb333263cb34</Id> <Name>sample string 2</Name> </UsedInItem> <UsedInItem> <ContextId>3</ContextId> <ContextName>sample string 4</ContextName> <Id>584a2eef-ea0f-4717-8705-eb333263cb34</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": "35f0230f-e22a-4543-8ce3-91c68ad3d9a9", "Name": "sample string 1", "EmailSubjectLine": "sample string 2", "IsMarketing": true, "MergeIds": "sample string 3", "TemplateHtml": "sample string 4", "DateUpdated": "2025-01-18T03:45:33.7321012+00:00", "SystemDefined": true, "UsedInItems": [ { "Id": "045ef2a7-4793-4f21-a16c-a900e55a4709", "Name": "sample string 2", "ContextId": 3, "ContextName": "sample string 4" }, { "Id": "045ef2a7-4793-4f21-a16c-a900e55a4709", "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-01-18T03:45:33.7321012+00:00</DateUpdated> <EmailSubjectLine>sample string 2</EmailSubjectLine> <Id>35f0230f-e22a-4543-8ce3-91c68ad3d9a9</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>045ef2a7-4793-4f21-a16c-a900e55a4709</Id> <Name>sample string 2</Name> </UsedInItem> <UsedInItem> <ContextId>3</ContextId> <ContextName>sample string 4</ContextName> <Id>045ef2a7-4793-4f21-a16c-a900e55a4709</Id> <Name>sample string 2</Name> </UsedInItem> </UsedInItems> </CampaignTemplateEditorDto>