PUT api/communications/{id}
Updates a communication from the given .
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The id of the resource. |
globally unique identifier |
Required |
Body Parameters
CommunicationDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| CreationDate | date |
None. |
|
| Name | string |
None. |
|
| CommunicationType | CommunicationDtoType |
None. |
|
| CommunicationStatus | CommunicationDtoStatus |
None. |
|
| LeadUpDuration | integer |
None. |
|
| TemplateId | globally unique identifier |
None. |
|
| TemplateName | string |
None. |
|
| Subject | string |
None. |
|
| CampaignId | globally unique identifier |
None. |
|
| IsDeleted | boolean |
None. |
|
| CommunicationTemplateId | globally unique identifier |
None. |
|
| IncludeBooked | boolean |
None. |
|
| IncludeAttended | boolean |
None. |
|
| IncludePurchased | boolean |
None. |
|
| EmailCommunicationId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "79cc7c3c-4277-436d-b2ac-10ea315cd33b",
"CreationDate": "2025-12-11T00:41:53.1921304+00:00",
"Name": "sample string 3",
"CommunicationType": 0,
"CommunicationStatus": 0,
"LeadUpDuration": 4,
"TemplateId": "fa08911a-dcf6-4ad5-a675-809f568cf922",
"TemplateName": "sample string 5",
"Subject": "sample string 6",
"CampaignId": "18f8b4e9-b33a-4d1d-9989-f9d33cfc789f",
"IsDeleted": true,
"CommunicationTemplateId": "e4abdf4e-d291-48db-b3e2-b8081d9a4e1f",
"IncludeBooked": true,
"IncludeAttended": true,
"IncludePurchased": true,
"EmailCommunicationId": "e97fb1b8-f0cd-4a67-8eaa-445c6c959a8b"
}
application/xml, text/xml
Sample:
<CommunicationDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.EventManagement.Models"> <CampaignId>18f8b4e9-b33a-4d1d-9989-f9d33cfc789f</CampaignId> <CommunicationStatus>Pending</CommunicationStatus> <CommunicationTemplateId>e4abdf4e-d291-48db-b3e2-b8081d9a4e1f</CommunicationTemplateId> <CommunicationType>DirectMail</CommunicationType> <CreationDate>2025-12-11T00:41:53.1921304+00:00</CreationDate> <EmailCommunicationId>e97fb1b8-f0cd-4a67-8eaa-445c6c959a8b</EmailCommunicationId> <Id>79cc7c3c-4277-436d-b2ac-10ea315cd33b</Id> <IncludeAttended>true</IncludeAttended> <IncludeBooked>true</IncludeBooked> <IncludePurchased>true</IncludePurchased> <IsDeleted>true</IsDeleted> <LeadUpDuration>4</LeadUpDuration> <Name>sample string 3</Name> <Subject>sample string 6</Subject> <TemplateId>fa08911a-dcf6-4ad5-a675-809f568cf922</TemplateId> <TemplateName>sample string 5</TemplateName> </CommunicationDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.