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": "9ea47842-e056-4d2f-a0fe-fdb695467feb",
"Name": "sample string 1",
"TenantId": "6a555515-7bd2-4a14-b3d0-7b0c008a2582",
"UserId": "0fd6bc7f-ecd3-4d3f-9851-c216acb5b3d8",
"SearchQuery": "sample string 2",
"IsTemporary": true,
"Completed": true,
"OrderStatus": "sample string 3",
"UserJourney": "sample string 4",
"CreationDateStartUtc": "2025-12-06T02:25:05.3651493+00:00",
"CreationDateEndUtc": "2025-12-06T02:25:05.3651493+00:00",
"ModifiedDateStartUtc": "2025-12-06T02:25:05.3651493+00:00",
"ModifiedDateEndUtc": "2025-12-06T02:25:05.3651493+00:00",
"PaymentDateStartUtc": "2025-12-06T02:25:05.3651493+00:00",
"PaymentDateEndUtc": "2025-12-06T02:25:05.3651493+00:00",
"SupplierIds": [
"9aec49b8-e0dc-4aea-86c1-b600460e9a58",
"0c2d1ceb-0c87-43cf-a994-115ff2b12fa2"
],
"VoucherId": 1,
"OrganisationId": "411a3a2c-97c0-4ccf-8d1c-b3546a508c2f",
"CentralMailerCampaignId": "72a58bcf-a18e-4d0b-8add-0a4d60b8438e",
"OrgIds": [
"abe813ad-02f3-4e61-beb6-939e35a45329",
"69e8f70e-8f15-45c3-b01d-5a2851b34d35"
]
}
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>72a58bcf-a18e-4d0b-8add-0a4d60b8438e</CentralMailerCampaignId>
<Completed>true</Completed>
<CreationDateEndUtc>2025-12-06T02:25:05.3651493+00:00</CreationDateEndUtc>
<CreationDateStartUtc>2025-12-06T02:25:05.3651493+00:00</CreationDateStartUtc>
<Id>9ea47842-e056-4d2f-a0fe-fdb695467feb</Id>
<IsTemporary>true</IsTemporary>
<ModifiedDateEndUtc>2025-12-06T02:25:05.3651493+00:00</ModifiedDateEndUtc>
<ModifiedDateStartUtc>2025-12-06T02:25:05.3651493+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>abe813ad-02f3-4e61-beb6-939e35a45329</d2p1:guid>
<d2p1:guid>69e8f70e-8f15-45c3-b01d-5a2851b34d35</d2p1:guid>
</OrgIds>
<OrganisationId>411a3a2c-97c0-4ccf-8d1c-b3546a508c2f</OrganisationId>
<PaymentDateEndUtc>2025-12-06T02:25:05.3651493+00:00</PaymentDateEndUtc>
<PaymentDateStartUtc>2025-12-06T02:25:05.3651493+00:00</PaymentDateStartUtc>
<SearchQuery>sample string 2</SearchQuery>
<SupplierIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>9aec49b8-e0dc-4aea-86c1-b600460e9a58</d2p1:guid>
<d2p1:guid>0c2d1ceb-0c87-43cf-a994-115ff2b12fa2</d2p1:guid>
</SupplierIds>
<TenantId>6a555515-7bd2-4a14-b3d0-7b0c008a2582</TenantId>
<UserId>0fd6bc7f-ecd3-4d3f-9851-c216acb5b3d8</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.