POST api/CommunicationTemplates
Request Information
URI Parameters
None.
Body Parameters
CommunicationTemplateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| ManagerGroupId | globally unique identifier |
None. |
|
| CommunicationType | CommunicationDtoType |
None. |
|
| LeadUpDuration | integer |
None. |
|
| TemplateId | globally unique identifier |
None. |
|
| TemplateName | string |
None. |
|
| Subject | string |
None. |
|
| CampaignTypeId | globally unique identifier |
None. |
|
| CommunicationIds | Collection of globally unique identifier |
None. |
|
| IncludeBooked | boolean |
None. |
|
| IncludeAttended | boolean |
None. |
|
| IncludePurchased | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "a27bd5c4-9062-4752-8ea7-bdc234e196d6",
"Name": "sample string 2",
"ManagerGroupId": "4a553235-e5b5-43ad-9d87-d692a88df2d8",
"CommunicationType": 0,
"LeadUpDuration": 4,
"TemplateId": "7c9ccd31-c44e-48a6-a8f2-5a7c5680eafe",
"TemplateName": "sample string 5",
"Subject": "sample string 6",
"CampaignTypeId": "24ed4855-2411-4355-ba24-41a2fd73aa9b",
"CommunicationIds": [
"d3454819-124f-4725-b00a-a42d45ccdfb8",
"176371ee-2be0-48e9-a444-49d110a814ff"
],
"IncludeBooked": true,
"IncludeAttended": true,
"IncludePurchased": true
}
application/xml, text/xml
Sample:
<CommunicationTemplateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.EventManagement.Models">
<CampaignTypeId>24ed4855-2411-4355-ba24-41a2fd73aa9b</CampaignTypeId>
<CommunicationIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>d3454819-124f-4725-b00a-a42d45ccdfb8</d2p1:guid>
<d2p1:guid>176371ee-2be0-48e9-a444-49d110a814ff</d2p1:guid>
</CommunicationIds>
<CommunicationType>DirectMail</CommunicationType>
<Id>a27bd5c4-9062-4752-8ea7-bdc234e196d6</Id>
<IncludeAttended>true</IncludeAttended>
<IncludeBooked>true</IncludeBooked>
<IncludePurchased>true</IncludePurchased>
<LeadUpDuration>4</LeadUpDuration>
<ManagerGroupId>4a553235-e5b5-43ad-9d87-d692a88df2d8</ManagerGroupId>
<Name>sample string 2</Name>
<Subject>sample string 6</Subject>
<TemplateId>7c9ccd31-c44e-48a6-a8f2-5a7c5680eafe</TemplateId>
<TemplateName>sample string 5</TemplateName>
</CommunicationTemplateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.