POST api/centralmailercampaigns/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": "3fb379cd-3a01-4101-9d8b-5f1abd8ac71d",
"Name": "sample string 1",
"TenantId": "1fd12631-a3a5-4f37-8724-269918d22d9b",
"UserId": "3e29497b-37e8-4d37-8eee-fbd22c1614b8",
"SearchQuery": "sample string 2",
"IsTemporary": true,
"Completed": true,
"OrderStatus": "sample string 3",
"UserJourney": "sample string 4",
"CreationDateStartUtc": "2026-08-29T17:35:42.3726253+00:00",
"CreationDateEndUtc": "2026-08-29T17:35:42.3726253+00:00",
"ModifiedDateStartUtc": "2026-08-29T17:35:42.3726253+00:00",
"ModifiedDateEndUtc": "2026-08-29T17:35:42.3726253+00:00",
"PaymentDateStartUtc": "2026-08-29T17:35:42.3726253+00:00",
"PaymentDateEndUtc": "2026-08-29T17:35:42.3726253+00:00",
"SupplierIds": [
"891a4fd5-a842-4e8b-9d0d-48b00a359d66",
"a625eda9-167d-4b66-aaa3-e629e3fa3546"
],
"VoucherId": 1,
"OrganisationId": "c3652800-9e61-40cf-9416-f399917cd2ca",
"CentralMailerCampaignId": "df285581-1349-4f83-868c-e39fed840fce",
"OrgIds": [
"eca91230-957d-4f4b-a605-fc475f2ea2e7",
"9af5ab1c-4091-4f8d-ac7a-86e57b68c9b3"
]
}
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>df285581-1349-4f83-868c-e39fed840fce</CentralMailerCampaignId>
<Completed>true</Completed>
<CreationDateEndUtc>2026-08-29T17:35:42.3726253+00:00</CreationDateEndUtc>
<CreationDateStartUtc>2026-08-29T17:35:42.3726253+00:00</CreationDateStartUtc>
<Id>3fb379cd-3a01-4101-9d8b-5f1abd8ac71d</Id>
<IsTemporary>true</IsTemporary>
<ModifiedDateEndUtc>2026-08-29T17:35:42.3726253+00:00</ModifiedDateEndUtc>
<ModifiedDateStartUtc>2026-08-29T17:35:42.3726253+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>eca91230-957d-4f4b-a605-fc475f2ea2e7</d2p1:guid>
<d2p1:guid>9af5ab1c-4091-4f8d-ac7a-86e57b68c9b3</d2p1:guid>
</OrgIds>
<OrganisationId>c3652800-9e61-40cf-9416-f399917cd2ca</OrganisationId>
<PaymentDateEndUtc>2026-08-29T17:35:42.3726253+00:00</PaymentDateEndUtc>
<PaymentDateStartUtc>2026-08-29T17:35:42.3726253+00:00</PaymentDateStartUtc>
<SearchQuery>sample string 2</SearchQuery>
<SupplierIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>891a4fd5-a842-4e8b-9d0d-48b00a359d66</d2p1:guid>
<d2p1:guid>a625eda9-167d-4b66-aaa3-e629e3fa3546</d2p1:guid>
</SupplierIds>
<TenantId>1fd12631-a3a5-4f37-8724-269918d22d9b</TenantId>
<UserId>3e29497b-37e8-4d37-8eee-fbd22c1614b8</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.