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": "34ef899d-de1a-43e1-83fd-f2930b5f8820",
"CreationDate": "2026-01-10T00:49:00.8689273+00:00",
"Name": "sample string 3",
"ManagerGroupId": "d26727b9-3dc6-4942-a4e6-f99a491f79a5",
"CompanyIds": [
"d160fbb8-6815-4073-b31e-859484e91a76",
"0a529626-500e-4acb-84e7-e6537090d65f"
],
"IsDeleted": true,
"BrandIds": [
"5fcb083d-3908-4c52-87a1-592dc5677f28",
"15e52273-1d6f-4e7d-8f26-3e4863112d07"
],
"ProductIds": [
"08618e4c-24ca-46f5-bf04-0d3275e6811a",
"6910d382-19df-47f8-aa88-a82f0563cc8e"
],
"CampaignTypeId": "af5bf10c-48e0-4bd5-9a8e-3212e5c3a206"
}
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>5fcb083d-3908-4c52-87a1-592dc5677f28</d2p1:guid>
<d2p1:guid>15e52273-1d6f-4e7d-8f26-3e4863112d07</d2p1:guid>
</BrandIds>
<CampaignTypeId>af5bf10c-48e0-4bd5-9a8e-3212e5c3a206</CampaignTypeId>
<CompanyIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>d160fbb8-6815-4073-b31e-859484e91a76</d2p1:guid>
<d2p1:guid>0a529626-500e-4acb-84e7-e6537090d65f</d2p1:guid>
</CompanyIds>
<CreationDate>2026-01-10T00:49:00.8689273+00:00</CreationDate>
<Id>34ef899d-de1a-43e1-83fd-f2930b5f8820</Id>
<IsDeleted>true</IsDeleted>
<ManagerGroupId>d26727b9-3dc6-4942-a4e6-f99a491f79a5</ManagerGroupId>
<Name>sample string 3</Name>
<ProductIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>08618e4c-24ca-46f5-bf04-0d3275e6811a</d2p1:guid>
<d2p1:guid>6910d382-19df-47f8-aa88-a82f0563cc8e</d2p1:guid>
</ProductIds>
</CampaignDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.