POST api/campaigns
Creates the given .
Request Information
URI Parameters
None.
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": "57b5885c-df31-4802-af3d-842b44f3aa93",
"CreationDate": "2026-01-09T14:09:16.4820688+00:00",
"Name": "sample string 3",
"ManagerGroupId": "a1d20d76-7072-4d23-a933-66156170fbc3",
"CompanyIds": [
"922ce820-29db-43dc-ab13-937b66216b76",
"c4622195-fb3d-42e0-bb27-b081818aecf7"
],
"IsDeleted": true,
"BrandIds": [
"859eebfd-9903-4c9a-93aa-a09921ff83e7",
"38eb2b0f-6caf-4930-981a-235bc96ccfdd"
],
"ProductIds": [
"c9864731-1617-4038-acf9-5c86db4f4c5b",
"36a97e56-eaed-46c9-b914-31c9e42e67c3"
],
"CampaignTypeId": "236ed403-e06a-4ca4-9721-07d3835dbe1c"
}
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>859eebfd-9903-4c9a-93aa-a09921ff83e7</d2p1:guid>
<d2p1:guid>38eb2b0f-6caf-4930-981a-235bc96ccfdd</d2p1:guid>
</BrandIds>
<CampaignTypeId>236ed403-e06a-4ca4-9721-07d3835dbe1c</CampaignTypeId>
<CompanyIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>922ce820-29db-43dc-ab13-937b66216b76</d2p1:guid>
<d2p1:guid>c4622195-fb3d-42e0-bb27-b081818aecf7</d2p1:guid>
</CompanyIds>
<CreationDate>2026-01-09T14:09:16.4820688+00:00</CreationDate>
<Id>57b5885c-df31-4802-af3d-842b44f3aa93</Id>
<IsDeleted>true</IsDeleted>
<ManagerGroupId>a1d20d76-7072-4d23-a933-66156170fbc3</ManagerGroupId>
<Name>sample string 3</Name>
<ProductIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>c9864731-1617-4038-acf9-5c86db4f4c5b</d2p1:guid>
<d2p1:guid>36a97e56-eaed-46c9-b914-31c9e42e67c3</d2p1:guid>
</ProductIds>
</CampaignDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.