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": "4462b6c7-7b84-4df7-bf02-b139066a0d03",
"Name": "sample string 2",
"ManagerGroupId": "6dcb20de-30b8-4d1e-ae76-4e6645116cc3",
"CommunicationType": 0,
"LeadUpDuration": 4,
"TemplateId": "9ececfed-9e79-4dc0-bcbf-026f8d5fe8c2",
"TemplateName": "sample string 5",
"Subject": "sample string 6",
"CampaignTypeId": "2f951c19-74c0-43be-ba77-ba594ab042a8",
"CommunicationIds": [
"84133f30-3570-4ca0-b598-22bdb18f37f3",
"4fe6097d-bde9-440e-a6f7-d14b5f2f3e4f"
],
"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>2f951c19-74c0-43be-ba77-ba594ab042a8</CampaignTypeId>
<CommunicationIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>84133f30-3570-4ca0-b598-22bdb18f37f3</d2p1:guid>
<d2p1:guid>4fe6097d-bde9-440e-a6f7-d14b5f2f3e4f</d2p1:guid>
</CommunicationIds>
<CommunicationType>DirectMail</CommunicationType>
<Id>4462b6c7-7b84-4df7-bf02-b139066a0d03</Id>
<IncludeAttended>true</IncludeAttended>
<IncludeBooked>true</IncludeBooked>
<IncludePurchased>true</IncludePurchased>
<LeadUpDuration>4</LeadUpDuration>
<ManagerGroupId>6dcb20de-30b8-4d1e-ae76-4e6645116cc3</ManagerGroupId>
<Name>sample string 2</Name>
<Subject>sample string 6</Subject>
<TemplateId>9ececfed-9e79-4dc0-bcbf-026f8d5fe8c2</TemplateId>
<TemplateName>sample string 5</TemplateName>
</CommunicationTemplateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.