PUT api/campaigns/{id}
Updates the given .
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
CampaignDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| CreationDate | date |
None. |
|
| Name | string |
None. |
|
| ManagerGroupId | globally unique identifier |
None. |
|
| CompanyIds | Collection of globally unique identifier |
None. |
|
| IsDeleted | boolean |
None. |
|
| BrandIds | Collection of globally unique identifier |
None. |
|
| ProductIds | Collection of globally unique identifier |
None. |
|
| CampaignTypeId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "67ad30f5-e579-48ac-bf17-45d3fa574fd5",
"CreationDate": "2025-12-11T00:43:18.4604966+00:00",
"Name": "sample string 3",
"ManagerGroupId": "6bacd047-5024-4659-be05-a45d4211360c",
"CompanyIds": [
"b2bfeecf-d0e5-47e7-a66b-de5eda69c6bc",
"960da13b-bca9-4bbf-a61a-b2d2238b77f0"
],
"IsDeleted": true,
"BrandIds": [
"e60cda94-1108-4ee4-a167-de38ad16ebca",
"a2224833-f9f5-41ce-9f21-4284b4ed3138"
],
"ProductIds": [
"fb0788d4-f9d8-4b3e-84ff-564f6b4d51aa",
"37168d6f-cef0-4c49-b93a-054585f9acc0"
],
"CampaignTypeId": "8e589f32-5e17-4d27-a290-a96aa23f9f39"
}
application/xml, text/xml
Sample:
<CampaignDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.EventManagement.Models">
<BrandIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>e60cda94-1108-4ee4-a167-de38ad16ebca</d2p1:guid>
<d2p1:guid>a2224833-f9f5-41ce-9f21-4284b4ed3138</d2p1:guid>
</BrandIds>
<CampaignTypeId>8e589f32-5e17-4d27-a290-a96aa23f9f39</CampaignTypeId>
<CompanyIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>b2bfeecf-d0e5-47e7-a66b-de5eda69c6bc</d2p1:guid>
<d2p1:guid>960da13b-bca9-4bbf-a61a-b2d2238b77f0</d2p1:guid>
</CompanyIds>
<CreationDate>2025-12-11T00:43:18.4604966+00:00</CreationDate>
<Id>67ad30f5-e579-48ac-bf17-45d3fa574fd5</Id>
<IsDeleted>true</IsDeleted>
<ManagerGroupId>6bacd047-5024-4659-be05-a45d4211360c</ManagerGroupId>
<Name>sample string 3</Name>
<ProductIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>fb0788d4-f9d8-4b3e-84ff-564f6b4d51aa</d2p1:guid>
<d2p1:guid>37168d6f-cef0-4c49-b93a-054585f9acc0</d2p1:guid>
</ProductIds>
</CampaignDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.