POST api/centralmailercampaigns/selectPaged/{pageNumber}/{pageSize}
Retrieves a paged list of campaigns that match the given criteria.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| pageNumber |
The page number to retrieve. |
integer |
Required |
| pageSize |
The number of records per page. |
integer |
Required |
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": "efa52acf-083b-4145-b2b4-a6753630086f",
"Name": "sample string 1",
"TenantId": "6a9a0193-6a77-464c-af84-063c15658651",
"UserId": "00c7010e-7e49-4771-a226-7df1cf210f07",
"SearchQuery": "sample string 2",
"IsTemporary": true,
"Completed": true,
"OrderStatus": "sample string 3",
"UserJourney": "sample string 4",
"CreationDateStartUtc": "2025-12-06T02:25:08.2357657+00:00",
"CreationDateEndUtc": "2025-12-06T02:25:08.2357657+00:00",
"ModifiedDateStartUtc": "2025-12-06T02:25:08.2357657+00:00",
"ModifiedDateEndUtc": "2025-12-06T02:25:08.2357657+00:00",
"PaymentDateStartUtc": "2025-12-06T02:25:08.2357657+00:00",
"PaymentDateEndUtc": "2025-12-06T02:25:08.2357657+00:00",
"SupplierIds": [
"b85614ed-7c06-4054-9ed5-ddbfa48c27b3",
"c366dadf-aeaf-4cd3-9537-b2215da3f6b6"
],
"VoucherId": 1,
"OrganisationId": "d06d159a-c6e6-4dcd-99e6-70da42eb9d77",
"CentralMailerCampaignId": "05ac471b-4e0d-4c51-8518-c5155896a60c",
"OrgIds": [
"b7801e73-da08-4d7d-b745-955230611731",
"b715bcdc-d53b-4170-8dcb-2fc4f0515b17"
]
}
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>05ac471b-4e0d-4c51-8518-c5155896a60c</CentralMailerCampaignId>
<Completed>true</Completed>
<CreationDateEndUtc>2025-12-06T02:25:08.2357657+00:00</CreationDateEndUtc>
<CreationDateStartUtc>2025-12-06T02:25:08.2357657+00:00</CreationDateStartUtc>
<Id>efa52acf-083b-4145-b2b4-a6753630086f</Id>
<IsTemporary>true</IsTemporary>
<ModifiedDateEndUtc>2025-12-06T02:25:08.2357657+00:00</ModifiedDateEndUtc>
<ModifiedDateStartUtc>2025-12-06T02:25:08.2357657+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>b7801e73-da08-4d7d-b745-955230611731</d2p1:guid>
<d2p1:guid>b715bcdc-d53b-4170-8dcb-2fc4f0515b17</d2p1:guid>
</OrgIds>
<OrganisationId>d06d159a-c6e6-4dcd-99e6-70da42eb9d77</OrganisationId>
<PaymentDateEndUtc>2025-12-06T02:25:08.2357657+00:00</PaymentDateEndUtc>
<PaymentDateStartUtc>2025-12-06T02:25:08.2357657+00:00</PaymentDateStartUtc>
<SearchQuery>sample string 2</SearchQuery>
<SupplierIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>b85614ed-7c06-4054-9ed5-ddbfa48c27b3</d2p1:guid>
<d2p1:guid>c366dadf-aeaf-4cd3-9537-b2215da3f6b6</d2p1:guid>
</SupplierIds>
<TenantId>6a9a0193-6a77-464c-af84-063c15658651</TenantId>
<UserId>00c7010e-7e49-4771-a226-7df1cf210f07</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.