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": "8414096d-174c-457e-a03e-09bf794cdc50",
"Name": "sample string 1",
"TenantId": "9c9eda94-74ab-4674-8db2-dd0b21d6b1d1",
"UserId": "8bfb3c99-7f84-46fb-9e7c-047c9cb8dfc7",
"SearchQuery": "sample string 2",
"IsTemporary": true,
"Completed": true,
"OrderStatus": "sample string 3",
"UserJourney": "sample string 4",
"CreationDateStartUtc": "2026-03-16T13:53:25.0031592+00:00",
"CreationDateEndUtc": "2026-03-16T13:53:25.0031592+00:00",
"ModifiedDateStartUtc": "2026-03-16T13:53:25.0031592+00:00",
"ModifiedDateEndUtc": "2026-03-16T13:53:25.0031592+00:00",
"PaymentDateStartUtc": "2026-03-16T13:53:25.0031592+00:00",
"PaymentDateEndUtc": "2026-03-16T13:53:25.0031592+00:00",
"SupplierIds": [
"6cf6f20d-10ae-45f0-9955-0259e787a1e2",
"940fd4e5-ba6d-406b-a4cf-7ad4f1055cb0"
],
"VoucherId": 1,
"OrganisationId": "9ba0fff1-4a74-4fab-8e20-66de4df87dbb",
"CentralMailerCampaignId": "7908e5f6-35ce-43b6-ba82-7543838415d7",
"OrgIds": [
"01f2d144-0791-49e3-a125-0f7f0515c78e",
"c28c7ce9-7b20-4051-9e79-b0660e8617f1"
]
}
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>7908e5f6-35ce-43b6-ba82-7543838415d7</CentralMailerCampaignId>
<Completed>true</Completed>
<CreationDateEndUtc>2026-03-16T13:53:25.0031592+00:00</CreationDateEndUtc>
<CreationDateStartUtc>2026-03-16T13:53:25.0031592+00:00</CreationDateStartUtc>
<Id>8414096d-174c-457e-a03e-09bf794cdc50</Id>
<IsTemporary>true</IsTemporary>
<ModifiedDateEndUtc>2026-03-16T13:53:25.0031592+00:00</ModifiedDateEndUtc>
<ModifiedDateStartUtc>2026-03-16T13:53:25.0031592+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>01f2d144-0791-49e3-a125-0f7f0515c78e</d2p1:guid>
<d2p1:guid>c28c7ce9-7b20-4051-9e79-b0660e8617f1</d2p1:guid>
</OrgIds>
<OrganisationId>9ba0fff1-4a74-4fab-8e20-66de4df87dbb</OrganisationId>
<PaymentDateEndUtc>2026-03-16T13:53:25.0031592+00:00</PaymentDateEndUtc>
<PaymentDateStartUtc>2026-03-16T13:53:25.0031592+00:00</PaymentDateStartUtc>
<SearchQuery>sample string 2</SearchQuery>
<SupplierIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>6cf6f20d-10ae-45f0-9955-0259e787a1e2</d2p1:guid>
<d2p1:guid>940fd4e5-ba6d-406b-a4cf-7ad4f1055cb0</d2p1:guid>
</SupplierIds>
<TenantId>9c9eda94-74ab-4674-8db2-dd0b21d6b1d1</TenantId>
<UserId>8bfb3c99-7f84-46fb-9e7c-047c9cb8dfc7</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.