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": "d00e14a2-49d5-4436-a633-b567be3751c0",
"Name": "sample string 1",
"TenantId": "93f26427-bfe0-43ca-ae5f-3e313164beec",
"UserId": "b13f394f-5b56-4359-a88d-9ab7f0e3bbda",
"SearchQuery": "sample string 2",
"IsTemporary": true,
"Completed": true,
"OrderStatus": "sample string 3",
"UserJourney": "sample string 4",
"CreationDateStartUtc": "2026-07-04T13:58:41.2008283+00:00",
"CreationDateEndUtc": "2026-07-04T13:58:41.2008283+00:00",
"ModifiedDateStartUtc": "2026-07-04T13:58:41.2008283+00:00",
"ModifiedDateEndUtc": "2026-07-04T13:58:41.2008283+00:00",
"PaymentDateStartUtc": "2026-07-04T13:58:41.2008283+00:00",
"PaymentDateEndUtc": "2026-07-04T13:58:41.2008283+00:00",
"SupplierIds": [
"d194b698-73aa-4b9c-a4e3-54fc19a40cc0",
"f343dc14-82d2-41e1-a2cc-fc8b4bdfb6f3"
],
"VoucherId": 1,
"OrganisationId": "3a049475-4a4c-4075-a533-61cd81526b5f",
"CentralMailerCampaignId": "1349cfc7-9e49-4d8a-b54c-50f0dfa110e1",
"OrgIds": [
"7265c899-dfc0-46a7-8660-9ce75e0f5415",
"935533ab-3746-4fb3-8b5b-ddd98dc5c3c3"
]
}
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>1349cfc7-9e49-4d8a-b54c-50f0dfa110e1</CentralMailerCampaignId>
<Completed>true</Completed>
<CreationDateEndUtc>2026-07-04T13:58:41.2008283+00:00</CreationDateEndUtc>
<CreationDateStartUtc>2026-07-04T13:58:41.2008283+00:00</CreationDateStartUtc>
<Id>d00e14a2-49d5-4436-a633-b567be3751c0</Id>
<IsTemporary>true</IsTemporary>
<ModifiedDateEndUtc>2026-07-04T13:58:41.2008283+00:00</ModifiedDateEndUtc>
<ModifiedDateStartUtc>2026-07-04T13:58:41.2008283+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>7265c899-dfc0-46a7-8660-9ce75e0f5415</d2p1:guid>
<d2p1:guid>935533ab-3746-4fb3-8b5b-ddd98dc5c3c3</d2p1:guid>
</OrgIds>
<OrganisationId>3a049475-4a4c-4075-a533-61cd81526b5f</OrganisationId>
<PaymentDateEndUtc>2026-07-04T13:58:41.2008283+00:00</PaymentDateEndUtc>
<PaymentDateStartUtc>2026-07-04T13:58:41.2008283+00:00</PaymentDateStartUtc>
<SearchQuery>sample string 2</SearchQuery>
<SupplierIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>d194b698-73aa-4b9c-a4e3-54fc19a40cc0</d2p1:guid>
<d2p1:guid>f343dc14-82d2-41e1-a2cc-fc8b4bdfb6f3</d2p1:guid>
</SupplierIds>
<TenantId>93f26427-bfe0-43ca-ae5f-3e313164beec</TenantId>
<UserId>b13f394f-5b56-4359-a88d-9ab7f0e3bbda</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.