POST api/promotionalevents/search
Performs a search of promotional events based on the given .
Request Information
URI Parameters
None.
Body Parameters
PromotionalEventCriteriaDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| FromDate | date |
None. |
|
| ToDate | date |
None. |
|
| PrincipalUserId | globally unique identifier |
None. |
|
| CompanyId | globally unique identifier |
None. |
|
| AddressId | globally unique identifier |
None. |
|
| CampaignId | globally unique identifier |
None. |
|
| SecurityGroupIds | Collection of globally unique identifier |
None. |
|
| IsDeleted | boolean |
None. |
|
| ProductId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "a169e7d5-6a0c-4d67-8231-4e0ab9ecdac4",
"Name": "sample string 1",
"FromDate": "2026-01-09T14:14:00.4187514+00:00",
"ToDate": "2026-01-09T14:14:00.4187514+00:00",
"PrincipalUserId": "8bfb3bd0-4e73-4978-bd21-f1b5a5b9df39",
"CompanyId": "c3d264d4-9533-459e-96d4-934d8cd7ff68",
"AddressId": "518146b7-0935-404b-b496-d5e6e339c895",
"CampaignId": "17e9b9f5-bf6c-4333-bd80-9e9848d930b0",
"SecurityGroupIds": [
"8e317f82-8ecf-4700-9f9e-d03710cf4744",
"b919a8db-e6b1-4bca-84c7-ac64f217504e"
],
"IsDeleted": true,
"ProductId": "f6a79d1d-7615-404b-b06c-4bb8c0ecafe9"
}
application/xml, text/xml
Sample:
<PromotionalEventCriteriaDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.EventManagement.Models">
<AddressId>518146b7-0935-404b-b496-d5e6e339c895</AddressId>
<CampaignId>17e9b9f5-bf6c-4333-bd80-9e9848d930b0</CampaignId>
<CompanyId>c3d264d4-9533-459e-96d4-934d8cd7ff68</CompanyId>
<FromDate>2026-01-09T14:14:00.4187514+00:00</FromDate>
<Id>a169e7d5-6a0c-4d67-8231-4e0ab9ecdac4</Id>
<IsDeleted>true</IsDeleted>
<Name>sample string 1</Name>
<PrincipalUserId>8bfb3bd0-4e73-4978-bd21-f1b5a5b9df39</PrincipalUserId>
<ProductId>f6a79d1d-7615-404b-b06c-4bb8c0ecafe9</ProductId>
<SecurityGroupIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>8e317f82-8ecf-4700-9f9e-d03710cf4744</d2p1:guid>
<d2p1:guid>b919a8db-e6b1-4bca-84c7-ac64f217504e</d2p1:guid>
</SecurityGroupIds>
<ToDate>2026-01-09T14:14:00.4187514+00:00</ToDate>
</PromotionalEventCriteriaDto>
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.