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": "e7f25882-7179-4b7a-aca5-bffe4f9fd242",
"Name": "sample string 1",
"TenantId": "bc86c3bc-9c9d-4ee8-bebf-2585bfddf488",
"UserId": "daf51d73-95cb-45e4-bcc4-ab7fa99d4d77",
"SearchQuery": "sample string 2",
"IsTemporary": true,
"Completed": true,
"OrderStatus": "sample string 3",
"UserJourney": "sample string 4",
"CreationDateStartUtc": "2026-08-29T17:35:17.1196235+00:00",
"CreationDateEndUtc": "2026-08-29T17:35:17.1196235+00:00",
"ModifiedDateStartUtc": "2026-08-29T17:35:17.1196235+00:00",
"ModifiedDateEndUtc": "2026-08-29T17:35:17.1196235+00:00",
"PaymentDateStartUtc": "2026-08-29T17:35:17.1196235+00:00",
"PaymentDateEndUtc": "2026-08-29T17:35:17.1196235+00:00",
"SupplierIds": [
"1e29d04f-b48c-42cf-baa3-e8b1fef8984a",
"4d3eaa6f-6ac8-4954-94ed-1089f10867dc"
],
"VoucherId": 1,
"OrganisationId": "1fcd3080-4ade-4c8d-abfb-cd0ca2058fa6",
"CentralMailerCampaignId": "61e728bd-40d2-4180-933f-6c933ddcd776",
"OrgIds": [
"1cc1e203-260f-4ff4-a3ab-ab478331fb77",
"6999dfbb-fb6a-43f5-8bf1-cbb466d5461a"
]
}
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>61e728bd-40d2-4180-933f-6c933ddcd776</CentralMailerCampaignId>
<Completed>true</Completed>
<CreationDateEndUtc>2026-08-29T17:35:17.1196235+00:00</CreationDateEndUtc>
<CreationDateStartUtc>2026-08-29T17:35:17.1196235+00:00</CreationDateStartUtc>
<Id>e7f25882-7179-4b7a-aca5-bffe4f9fd242</Id>
<IsTemporary>true</IsTemporary>
<ModifiedDateEndUtc>2026-08-29T17:35:17.1196235+00:00</ModifiedDateEndUtc>
<ModifiedDateStartUtc>2026-08-29T17:35:17.1196235+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>1cc1e203-260f-4ff4-a3ab-ab478331fb77</d2p1:guid>
<d2p1:guid>6999dfbb-fb6a-43f5-8bf1-cbb466d5461a</d2p1:guid>
</OrgIds>
<OrganisationId>1fcd3080-4ade-4c8d-abfb-cd0ca2058fa6</OrganisationId>
<PaymentDateEndUtc>2026-08-29T17:35:17.1196235+00:00</PaymentDateEndUtc>
<PaymentDateStartUtc>2026-08-29T17:35:17.1196235+00:00</PaymentDateStartUtc>
<SearchQuery>sample string 2</SearchQuery>
<SupplierIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>1e29d04f-b48c-42cf-baa3-e8b1fef8984a</d2p1:guid>
<d2p1:guid>4d3eaa6f-6ac8-4954-94ed-1089f10867dc</d2p1:guid>
</SupplierIds>
<TenantId>bc86c3bc-9c9d-4ee8-bebf-2585bfddf488</TenantId>
<UserId>daf51d73-95cb-45e4-bcc4-ab7fa99d4d77</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.