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.
TemplateCampaignFilterCriteriaDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Ids | Collection of globally unique identifier |
None. |
|
| TemplateId | globally unique identifier |
None. |
|
| Status | TemplateCampaignStatusDto |
None. |
|
| UserId | globally unique identifier |
None. |
|
| OrderId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Ids": [
"0a52c093-3248-4c90-a465-722db5f77774",
"11f48456-d321-4703-a24b-9f6fda6535d5"
],
"TemplateId": "ef92030a-5187-4972-b632-0829e8f5cef9",
"Status": 0,
"UserId": "2f627954-e2cd-4089-be99-fa9f4fdd7614",
"OrderId": "c520ceff-f14f-42f3-a500-3dd44f90ca33"
}
application/xml, text/xml
Sample:
<TemplateCampaignFilterCriteriaDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Template.Models">
<Ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>0a52c093-3248-4c90-a465-722db5f77774</d2p1:guid>
<d2p1:guid>11f48456-d321-4703-a24b-9f6fda6535d5</d2p1:guid>
</Ids>
<OrderId>c520ceff-f14f-42f3-a500-3dd44f90ca33</OrderId>
<Status>Created</Status>
<TemplateId>ef92030a-5187-4972-b632-0829e8f5cef9</TemplateId>
<UserId>2f627954-e2cd-4089-be99-fa9f4fdd7614</UserId>
</TemplateCampaignFilterCriteriaDto>
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.