POST api/Campaigns/Select

Retrieves a list of campaigns that match the given criteria.

Request Information

URI Parameters

None.

Body Parameters

The criteria model to filter campaigns by.

TargetCampaignFilterCriteria
NameDescriptionTypeAdditional information
Ids

Collection of globally unique identifier

None.

UserId

globally unique identifier

None.

TenantId

globally unique identifier

None.

DeliveryDateTimeStart

date

None.

DeliveryDateTimeEnd

date

None.

OrderId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Ids": [
    "46c16469-cefb-46bd-bdbe-85071702d4a5",
    "1b203b3a-653d-4ed6-96c7-7699a8f7ba90"
  ],
  "UserId": "94198368-2623-4089-918a-620178c9141a",
  "TenantId": "fd1f56c9-f843-4ca9-8157-5fa8f88c8758",
  "DeliveryDateTimeStart": "2025-12-06T02:31:45.9267692+00:00",
  "DeliveryDateTimeEnd": "2025-12-06T02:31:45.9267692+00:00",
  "OrderId": "8a8401c3-ba87-4a7a-908b-0b410b2df55e"
}

application/xml, text/xml

Sample:
<TargetCampaignFilterCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Target.Models.FilterCriteria">
  <DeliveryDateTimeEnd>2025-12-06T02:31:45.9267692+00:00</DeliveryDateTimeEnd>
  <DeliveryDateTimeStart>2025-12-06T02:31:45.9267692+00:00</DeliveryDateTimeStart>
  <Ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>46c16469-cefb-46bd-bdbe-85071702d4a5</d2p1:guid>
    <d2p1:guid>1b203b3a-653d-4ed6-96c7-7699a8f7ba90</d2p1:guid>
  </Ids>
  <OrderId>8a8401c3-ba87-4a7a-908b-0b410b2df55e</OrderId>
  <TenantId>fd1f56c9-f843-4ca9-8157-5fa8f88c8758</TenantId>
  <UserId>94198368-2623-4089-918a-620178c9141a</UserId>
</TargetCampaignFilterCriteria>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.