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": "c0080209-80b5-4d85-a045-8c64a4d966cd",
"Name": "sample string 1",
"FromDate": "2026-01-10T00:58:25.1943345+00:00",
"ToDate": "2026-01-10T00:58:25.1943345+00:00",
"PrincipalUserId": "27cb1244-b39f-4f87-861a-11d73130ce49",
"CompanyId": "64f008d3-7195-4b62-aeda-fb0bc295eb74",
"AddressId": "4f6dde8d-898c-4caa-b961-95825f878fa4",
"CampaignId": "22b102fa-f9cf-41c4-b2e7-3480e1e0beb3",
"IsDeleted": true,
"ProductId": "13fac4a3-584d-45c7-9716-d0cd12313da9"
}
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>4f6dde8d-898c-4caa-b961-95825f878fa4</AddressId> <CampaignId>22b102fa-f9cf-41c4-b2e7-3480e1e0beb3</CampaignId> <CompanyId>64f008d3-7195-4b62-aeda-fb0bc295eb74</CompanyId> <FromDate>2026-01-10T00:58:25.1943345+00:00</FromDate> <Id>c0080209-80b5-4d85-a045-8c64a4d966cd</Id> <IsDeleted>true</IsDeleted> <Name>sample string 1</Name> <PrincipalUserId>27cb1244-b39f-4f87-861a-11d73130ce49</PrincipalUserId> <ProductId>13fac4a3-584d-45c7-9716-d0cd12313da9</ProductId> <ToDate>2026-01-10T00:58:25.1943345+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.