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. |
|
| IsDeleted | boolean |
None. |
|
| ProductId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "408e53b1-128e-454e-be82-97acb85db254",
"Name": "sample string 1",
"FromDate": "2026-01-10T10:26:18.1149284+00:00",
"ToDate": "2026-01-10T10:26:18.1149284+00:00",
"PrincipalUserId": "a6ff4e8f-e658-4743-945e-e7c233111135",
"CompanyId": "351d62d4-3509-4fb9-97fd-0eec8eb5dfff",
"AddressId": "ec7f051d-0225-460a-95ef-bc71b4e121e2",
"CampaignId": "3f7d2f47-7c4d-4d29-abc8-2e40f4a1546e",
"IsDeleted": true,
"ProductId": "3579ee92-40a2-4a66-bd9b-0075c184f9f4"
}
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>ec7f051d-0225-460a-95ef-bc71b4e121e2</AddressId> <CampaignId>3f7d2f47-7c4d-4d29-abc8-2e40f4a1546e</CampaignId> <CompanyId>351d62d4-3509-4fb9-97fd-0eec8eb5dfff</CompanyId> <FromDate>2026-01-10T10:26:18.1149284+00:00</FromDate> <Id>408e53b1-128e-454e-be82-97acb85db254</Id> <IsDeleted>true</IsDeleted> <Name>sample string 1</Name> <PrincipalUserId>a6ff4e8f-e658-4743-945e-e7c233111135</PrincipalUserId> <ProductId>3579ee92-40a2-4a66-bd9b-0075c184f9f4</ProductId> <ToDate>2026-01-10T10:26:18.1149284+00:00</ToDate> </PromotionalEventCriteriaDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.