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": "caada058-666a-4d27-841b-8db0e0b190b3",
"Name": "sample string 1",
"TenantId": "a815da99-7719-424e-b54b-211c736479c0",
"UserId": "dbfd0f44-b319-4785-a9b7-a687b505525e",
"SearchQuery": "sample string 2",
"IsTemporary": true,
"Completed": true,
"OrderStatus": "sample string 3",
"UserJourney": "sample string 4",
"CreationDateStartUtc": "2025-12-11T08:29:12.2876877+00:00",
"CreationDateEndUtc": "2025-12-11T08:29:12.2876877+00:00",
"ModifiedDateStartUtc": "2025-12-11T08:29:12.2876877+00:00",
"ModifiedDateEndUtc": "2025-12-11T08:29:12.2876877+00:00",
"PaymentDateStartUtc": "2025-12-11T08:29:12.2876877+00:00",
"PaymentDateEndUtc": "2025-12-11T08:29:12.2876877+00:00",
"SupplierIds": [
"80f022d9-e8c3-45b9-84d5-0654290caf04",
"f617995b-0622-4044-8a9f-fc4277f15447"
],
"VoucherId": 1,
"OrganisationId": "ecd62968-29cd-4816-b2f3-747fcfb8fb72",
"CentralMailerCampaignId": "a74cb087-2e07-44c7-8d85-5311b7c6d9a0",
"OrgIds": [
"ae4127aa-b355-4a3d-854f-ef6ad68c274f",
"bff63b82-3e0b-42e0-9256-3548a983b31f"
]
}
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>a74cb087-2e07-44c7-8d85-5311b7c6d9a0</CentralMailerCampaignId>
<Completed>true</Completed>
<CreationDateEndUtc>2025-12-11T08:29:12.2876877+00:00</CreationDateEndUtc>
<CreationDateStartUtc>2025-12-11T08:29:12.2876877+00:00</CreationDateStartUtc>
<Id>caada058-666a-4d27-841b-8db0e0b190b3</Id>
<IsTemporary>true</IsTemporary>
<ModifiedDateEndUtc>2025-12-11T08:29:12.2876877+00:00</ModifiedDateEndUtc>
<ModifiedDateStartUtc>2025-12-11T08:29:12.2876877+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>ae4127aa-b355-4a3d-854f-ef6ad68c274f</d2p1:guid>
<d2p1:guid>bff63b82-3e0b-42e0-9256-3548a983b31f</d2p1:guid>
</OrgIds>
<OrganisationId>ecd62968-29cd-4816-b2f3-747fcfb8fb72</OrganisationId>
<PaymentDateEndUtc>2025-12-11T08:29:12.2876877+00:00</PaymentDateEndUtc>
<PaymentDateStartUtc>2025-12-11T08:29:12.2876877+00:00</PaymentDateStartUtc>
<SearchQuery>sample string 2</SearchQuery>
<SupplierIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>80f022d9-e8c3-45b9-84d5-0654290caf04</d2p1:guid>
<d2p1:guid>f617995b-0622-4044-8a9f-fc4277f15447</d2p1:guid>
</SupplierIds>
<TenantId>a815da99-7719-424e-b54b-211c736479c0</TenantId>
<UserId>dbfd0f44-b319-4785-a9b7-a687b505525e</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.