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": "263f336c-0867-43a3-95e9-82704f26d0a0",
"CreationDate": "2025-12-11T00:43:18.9140859+00:00",
"Name": "sample string 3",
"ManagerGroupId": "dd9c269a-99d6-4d9f-940c-9dd73878e1f3",
"CompanyIds": [
"592b1285-7ac6-4535-a2fc-120d6f6ba5d0",
"4d371eb9-6123-4c97-8361-da061a759700"
],
"IsDeleted": true,
"BrandIds": [
"047c7091-1d1e-44b7-a6f3-2c66265a6c5b",
"b7b366a0-eab9-4bfc-ad93-467cc608d7ee"
],
"ProductIds": [
"e88e8409-7e18-412e-99b9-344317020932",
"36f216df-88dc-4784-90bb-87d2007a6be0"
],
"CampaignTypeId": "21086fac-b9c0-469a-a7b7-7fbdf89a2221"
}
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>047c7091-1d1e-44b7-a6f3-2c66265a6c5b</d2p1:guid>
<d2p1:guid>b7b366a0-eab9-4bfc-ad93-467cc608d7ee</d2p1:guid>
</BrandIds>
<CampaignTypeId>21086fac-b9c0-469a-a7b7-7fbdf89a2221</CampaignTypeId>
<CompanyIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>592b1285-7ac6-4535-a2fc-120d6f6ba5d0</d2p1:guid>
<d2p1:guid>4d371eb9-6123-4c97-8361-da061a759700</d2p1:guid>
</CompanyIds>
<CreationDate>2025-12-11T00:43:18.9140859+00:00</CreationDate>
<Id>263f336c-0867-43a3-95e9-82704f26d0a0</Id>
<IsDeleted>true</IsDeleted>
<ManagerGroupId>dd9c269a-99d6-4d9f-940c-9dd73878e1f3</ManagerGroupId>
<Name>sample string 3</Name>
<ProductIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>e88e8409-7e18-412e-99b9-344317020932</d2p1:guid>
<d2p1:guid>36f216df-88dc-4784-90bb-87d2007a6be0</d2p1:guid>
</ProductIds>
</CampaignDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.