PUT api/CommunicationTemplates/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
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": "097a028e-ef80-41d8-abe6-06f063497d3f",
"Name": "sample string 2",
"ManagerGroupId": "f7b9f757-ab86-4453-b552-40f0b1bd7bc8",
"CommunicationType": 0,
"LeadUpDuration": 4,
"TemplateId": "7e7a0491-9214-4595-89b2-51d8b962179d",
"TemplateName": "sample string 5",
"Subject": "sample string 6",
"CampaignTypeId": "7c9aaf2e-3b75-4694-a1f8-e65743866eb8",
"CommunicationIds": [
"9641138e-3435-4b4c-9121-28328a272ea0",
"81c9f8de-f845-46b1-8d4b-3cf5fc0d100f"
],
"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>7c9aaf2e-3b75-4694-a1f8-e65743866eb8</CampaignTypeId>
<CommunicationIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>9641138e-3435-4b4c-9121-28328a272ea0</d2p1:guid>
<d2p1:guid>81c9f8de-f845-46b1-8d4b-3cf5fc0d100f</d2p1:guid>
</CommunicationIds>
<CommunicationType>DirectMail</CommunicationType>
<Id>097a028e-ef80-41d8-abe6-06f063497d3f</Id>
<IncludeAttended>true</IncludeAttended>
<IncludeBooked>true</IncludeBooked>
<IncludePurchased>true</IncludePurchased>
<LeadUpDuration>4</LeadUpDuration>
<ManagerGroupId>f7b9f757-ab86-4453-b552-40f0b1bd7bc8</ManagerGroupId>
<Name>sample string 2</Name>
<Subject>sample string 6</Subject>
<TemplateId>7e7a0491-9214-4595-89b2-51d8b962179d</TemplateId>
<TemplateName>sample string 5</TemplateName>
</CommunicationTemplateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.