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": "5004fee0-e477-4b71-aa2f-8f913ed2f767",
"Name": "sample string 1",
"TenantId": "f21962d3-96fd-4e86-b839-c6550395292f",
"UserId": "9108740e-ae85-4b52-94ea-e702b83b4dae",
"SearchQuery": "sample string 2",
"IsTemporary": true,
"Completed": true,
"OrderStatus": "sample string 3",
"UserJourney": "sample string 4",
"CreationDateStartUtc": "2026-01-21T09:52:28.3110643+00:00",
"CreationDateEndUtc": "2026-01-21T09:52:28.3110643+00:00",
"ModifiedDateStartUtc": "2026-01-21T09:52:28.3110643+00:00",
"ModifiedDateEndUtc": "2026-01-21T09:52:28.3110643+00:00",
"PaymentDateStartUtc": "2026-01-21T09:52:28.3110643+00:00",
"PaymentDateEndUtc": "2026-01-21T09:52:28.3110643+00:00",
"SupplierIds": [
"a164ddf7-d5c4-4db5-8a1a-ea2b7f34eebb",
"5ebbe479-19c0-436d-82ae-dbb777632aa7"
],
"VoucherId": 1,
"OrganisationId": "825e72c8-be7d-4e9c-ab12-b49ce3fe92de",
"CentralMailerCampaignId": "5113711f-d975-4848-b18a-f5b048ee6b3d",
"OrgIds": [
"4c174d32-6e6b-4dae-9154-adf8ab56a5a9",
"935e3dc0-b5e8-439a-aea1-552c6bc52807"
]
}
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>5113711f-d975-4848-b18a-f5b048ee6b3d</CentralMailerCampaignId>
<Completed>true</Completed>
<CreationDateEndUtc>2026-01-21T09:52:28.3110643+00:00</CreationDateEndUtc>
<CreationDateStartUtc>2026-01-21T09:52:28.3110643+00:00</CreationDateStartUtc>
<Id>5004fee0-e477-4b71-aa2f-8f913ed2f767</Id>
<IsTemporary>true</IsTemporary>
<ModifiedDateEndUtc>2026-01-21T09:52:28.3110643+00:00</ModifiedDateEndUtc>
<ModifiedDateStartUtc>2026-01-21T09:52:28.3110643+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>4c174d32-6e6b-4dae-9154-adf8ab56a5a9</d2p1:guid>
<d2p1:guid>935e3dc0-b5e8-439a-aea1-552c6bc52807</d2p1:guid>
</OrgIds>
<OrganisationId>825e72c8-be7d-4e9c-ab12-b49ce3fe92de</OrganisationId>
<PaymentDateEndUtc>2026-01-21T09:52:28.3110643+00:00</PaymentDateEndUtc>
<PaymentDateStartUtc>2026-01-21T09:52:28.3110643+00:00</PaymentDateStartUtc>
<SearchQuery>sample string 2</SearchQuery>
<SupplierIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>a164ddf7-d5c4-4db5-8a1a-ea2b7f34eebb</d2p1:guid>
<d2p1:guid>5ebbe479-19c0-436d-82ae-dbb777632aa7</d2p1:guid>
</SupplierIds>
<TenantId>f21962d3-96fd-4e86-b839-c6550395292f</TenantId>
<UserId>9108740e-ae85-4b52-94ea-e702b83b4dae</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.