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": "8be051b1-cc56-48d5-b2b3-042c794ccf8e",
"Name": "sample string 2",
"ManagerGroupId": "adac7f15-ded3-46dc-80de-c114501394db",
"CommunicationType": 0,
"LeadUpDuration": 4,
"TemplateId": "2f7cb4cb-2dfc-42eb-94d5-ca7dbb0d12c5",
"TemplateName": "sample string 5",
"Subject": "sample string 6",
"CampaignTypeId": "f31bfc8f-b43a-4a07-8c4c-f385e07172d5",
"CommunicationIds": [
"c0f453cf-7cb5-401d-8b1b-2ce5ae5cfb65",
"a5fc1443-f82d-4b86-b403-dfe2c1c12324"
],
"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>f31bfc8f-b43a-4a07-8c4c-f385e07172d5</CampaignTypeId>
<CommunicationIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>c0f453cf-7cb5-401d-8b1b-2ce5ae5cfb65</d2p1:guid>
<d2p1:guid>a5fc1443-f82d-4b86-b403-dfe2c1c12324</d2p1:guid>
</CommunicationIds>
<CommunicationType>DirectMail</CommunicationType>
<Id>8be051b1-cc56-48d5-b2b3-042c794ccf8e</Id>
<IncludeAttended>true</IncludeAttended>
<IncludeBooked>true</IncludeBooked>
<IncludePurchased>true</IncludePurchased>
<LeadUpDuration>4</LeadUpDuration>
<ManagerGroupId>adac7f15-ded3-46dc-80de-c114501394db</ManagerGroupId>
<Name>sample string 2</Name>
<Subject>sample string 6</Subject>
<TemplateId>2f7cb4cb-2dfc-42eb-94d5-ca7dbb0d12c5</TemplateId>
<TemplateName>sample string 5</TemplateName>
</CommunicationTemplateDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.