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": "741c0e17-d206-48c5-bb9b-8c215739cc0e",
"Name": "sample string 2",
"ManagerGroupId": "d293ae54-8f48-4d85-a7f5-5c869fab5347",
"CommunicationType": 0,
"LeadUpDuration": 4,
"TemplateId": "383b3217-d082-4e6a-a31f-3bb11cfe747a",
"TemplateName": "sample string 5",
"Subject": "sample string 6",
"CampaignTypeId": "1e6751ce-4cff-4419-8cca-6747abe86295",
"CommunicationIds": [
"136ff8d0-aca7-4914-b010-542a9d2d128d",
"e2c991f9-8aae-4ed3-9c45-dfdf08da0e1e"
],
"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>1e6751ce-4cff-4419-8cca-6747abe86295</CampaignTypeId>
<CommunicationIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>136ff8d0-aca7-4914-b010-542a9d2d128d</d2p1:guid>
<d2p1:guid>e2c991f9-8aae-4ed3-9c45-dfdf08da0e1e</d2p1:guid>
</CommunicationIds>
<CommunicationType>DirectMail</CommunicationType>
<Id>741c0e17-d206-48c5-bb9b-8c215739cc0e</Id>
<IncludeAttended>true</IncludeAttended>
<IncludeBooked>true</IncludeBooked>
<IncludePurchased>true</IncludePurchased>
<LeadUpDuration>4</LeadUpDuration>
<ManagerGroupId>d293ae54-8f48-4d85-a7f5-5c869fab5347</ManagerGroupId>
<Name>sample string 2</Name>
<Subject>sample string 6</Subject>
<TemplateId>383b3217-d082-4e6a-a31f-3bb11cfe747a</TemplateId>
<TemplateName>sample string 5</TemplateName>
</CommunicationTemplateDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.