POST api/campaigns/search
Request Information
URI Parameters
None.
Body Parameters
CampaignCriteriaDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| CampaignTypeId | globally unique identifier |
None. |
|
| CampaignName | string |
None. |
|
| CompanyId | globally unique identifier |
None. |
|
| CompanyName | string |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| SecurityGroupIds | Collection of globally unique identifier |
None. |
|
| IsDeleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "e6993a63-388e-45a8-87a3-4a9d16881124",
"CampaignTypeId": "b8ef0434-fd58-451c-993e-320185475f29",
"CampaignName": "sample string 1",
"CompanyId": "c33b9630-6f49-46c0-82fe-4588b9c20988",
"CompanyName": "sample string 2",
"StartDate": "2025-12-11T00:41:43.9956827+00:00",
"EndDate": "2025-12-11T00:41:43.9956827+00:00",
"SecurityGroupIds": [
"dd218bdd-4d6f-401e-a459-c3f92d258dd7",
"ece6ab89-03d6-4fe3-96d1-d35312415bcd"
],
"IsDeleted": true
}
application/xml, text/xml
Sample:
<CampaignCriteriaDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.EventManagement.Models">
<CampaignName>sample string 1</CampaignName>
<CampaignTypeId>b8ef0434-fd58-451c-993e-320185475f29</CampaignTypeId>
<CompanyId>c33b9630-6f49-46c0-82fe-4588b9c20988</CompanyId>
<CompanyName>sample string 2</CompanyName>
<EndDate>2025-12-11T00:41:43.9956827+00:00</EndDate>
<Id>e6993a63-388e-45a8-87a3-4a9d16881124</Id>
<IsDeleted>true</IsDeleted>
<SecurityGroupIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>dd218bdd-4d6f-401e-a459-c3f92d258dd7</d2p1:guid>
<d2p1:guid>ece6ab89-03d6-4fe3-96d1-d35312415bcd</d2p1:guid>
</SecurityGroupIds>
<StartDate>2025-12-11T00:41:43.9956827+00:00</StartDate>
</CampaignCriteriaDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.