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": "242364ae-bebb-4d91-88d4-6b57867a4482",
"CreationDate": "2026-01-10T00:52:13.348584+00:00",
"Name": "sample string 3",
"ManagerGroupId": "701031b4-e1c1-4bbc-af52-adb7bdefe409",
"CompanyIds": [
"dc0bc8f6-bd44-44b7-bc70-7c849c398ec1",
"a446d09c-5ff4-4447-9ada-937659acbe18"
],
"IsDeleted": true,
"BrandIds": [
"f622f486-8029-4044-819a-da857f87ed62",
"1db2a4b5-8f4e-4d3f-b48b-eaf0524494ea"
],
"ProductIds": [
"695208e8-229a-4e3e-a65b-0cf7d0615cf2",
"1127779a-3084-4b92-9509-b0b3ed9998a4"
],
"CampaignTypeId": "621e66d5-f364-444a-8ffb-938596b8acb4"
}
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>f622f486-8029-4044-819a-da857f87ed62</d2p1:guid>
<d2p1:guid>1db2a4b5-8f4e-4d3f-b48b-eaf0524494ea</d2p1:guid>
</BrandIds>
<CampaignTypeId>621e66d5-f364-444a-8ffb-938596b8acb4</CampaignTypeId>
<CompanyIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>dc0bc8f6-bd44-44b7-bc70-7c849c398ec1</d2p1:guid>
<d2p1:guid>a446d09c-5ff4-4447-9ada-937659acbe18</d2p1:guid>
</CompanyIds>
<CreationDate>2026-01-10T00:52:13.348584+00:00</CreationDate>
<Id>242364ae-bebb-4d91-88d4-6b57867a4482</Id>
<IsDeleted>true</IsDeleted>
<ManagerGroupId>701031b4-e1c1-4bbc-af52-adb7bdefe409</ManagerGroupId>
<Name>sample string 3</Name>
<ProductIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>695208e8-229a-4e3e-a65b-0cf7d0615cf2</d2p1:guid>
<d2p1:guid>1127779a-3084-4b92-9509-b0b3ed9998a4</d2p1:guid>
</ProductIds>
</CampaignDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.