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.
PayCampaignFilterCriteria| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| TenantId | globally unique identifier |
None. |
|
| UserId | globally unique identifier |
None. |
|
| SearchQuery | string |
None. |
|
| IsTemporary | boolean |
None. |
|
| Completed | boolean |
None. |
|
| OrderStatus | string |
None. |
|
| UserJourney | string |
None. |
|
| CreationDateStartUtc | date |
None. |
|
| CreationDateEndUtc | date |
None. |
|
| ModifiedDateStartUtc | date |
None. |
|
| ModifiedDateEndUtc | date |
None. |
|
| PaymentDateStartUtc | date |
None. |
|
| PaymentDateEndUtc | date |
None. |
|
| SupplierIds | Collection of globally unique identifier |
None. |
|
| VoucherId | integer |
None. |
|
| OrganisationId | globally unique identifier |
None. |
|
| CentralMailerCampaignId | globally unique identifier |
None. |
|
| OrgIds | Collection of globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "cc65320a-d829-4db7-b145-a336c75a0e59",
"Name": "sample string 1",
"TenantId": "45d58b84-e5dd-42bb-9797-aa853cde2069",
"UserId": "ab7556b8-1b6a-40ec-8d4c-a37fc4b68b79",
"SearchQuery": "sample string 2",
"IsTemporary": true,
"Completed": true,
"OrderStatus": "sample string 3",
"UserJourney": "sample string 4",
"CreationDateStartUtc": "2026-01-21T09:40:43.0025535+00:00",
"CreationDateEndUtc": "2026-01-21T09:40:43.0025535+00:00",
"ModifiedDateStartUtc": "2026-01-21T09:40:43.0025535+00:00",
"ModifiedDateEndUtc": "2026-01-21T09:40:43.0025535+00:00",
"PaymentDateStartUtc": "2026-01-21T09:40:43.0025535+00:00",
"PaymentDateEndUtc": "2026-01-21T09:40:43.0025535+00:00",
"SupplierIds": [
"e9804e20-4021-4a20-b8b3-718e8c9d6280",
"b8485977-0f7b-4479-8030-60066d447dc4"
],
"VoucherId": 1,
"OrganisationId": "9bdf471c-f684-4b67-8d79-6015b4dcaacf",
"CentralMailerCampaignId": "4792274d-0612-49b4-be57-ebb155bf63f2",
"OrgIds": [
"b74e7c6f-0a5b-4946-a420-fdc7f14058f7",
"a0e00201-a801-42fe-baca-f3d6c917ea23"
]
}
application/xml, text/xml
Sample:
<PayCampaignFilterCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Pay.Models.FilterCriteria">
<CentralMailerCampaignId>4792274d-0612-49b4-be57-ebb155bf63f2</CentralMailerCampaignId>
<Completed>true</Completed>
<CreationDateEndUtc>2026-01-21T09:40:43.0025535+00:00</CreationDateEndUtc>
<CreationDateStartUtc>2026-01-21T09:40:43.0025535+00:00</CreationDateStartUtc>
<Id>cc65320a-d829-4db7-b145-a336c75a0e59</Id>
<IsTemporary>true</IsTemporary>
<ModifiedDateEndUtc>2026-01-21T09:40:43.0025535+00:00</ModifiedDateEndUtc>
<ModifiedDateStartUtc>2026-01-21T09:40:43.0025535+00:00</ModifiedDateStartUtc>
<Name>sample string 1</Name>
<OrderStatus>sample string 3</OrderStatus>
<OrgIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>b74e7c6f-0a5b-4946-a420-fdc7f14058f7</d2p1:guid>
<d2p1:guid>a0e00201-a801-42fe-baca-f3d6c917ea23</d2p1:guid>
</OrgIds>
<OrganisationId>9bdf471c-f684-4b67-8d79-6015b4dcaacf</OrganisationId>
<PaymentDateEndUtc>2026-01-21T09:40:43.0025535+00:00</PaymentDateEndUtc>
<PaymentDateStartUtc>2026-01-21T09:40:43.0025535+00:00</PaymentDateStartUtc>
<SearchQuery>sample string 2</SearchQuery>
<SupplierIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>e9804e20-4021-4a20-b8b3-718e8c9d6280</d2p1:guid>
<d2p1:guid>b8485977-0f7b-4479-8030-60066d447dc4</d2p1:guid>
</SupplierIds>
<TenantId>45d58b84-e5dd-42bb-9797-aa853cde2069</TenantId>
<UserId>ab7556b8-1b6a-40ec-8d4c-a37fc4b68b79</UserId>
<UserJourney>sample string 4</UserJourney>
<VoucherId>1</VoucherId>
</PayCampaignFilterCriteria>
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.