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": "bfb1346a-c193-40f7-8bb2-ed6ebf8b0fa1",
"Name": "sample string 1",
"TenantId": "9b95d688-20a3-4d58-bba1-65e130a1349a",
"UserId": "83797549-ffb0-4101-bfad-ac097f86d597",
"SearchQuery": "sample string 2",
"IsTemporary": true,
"Completed": true,
"OrderStatus": "sample string 3",
"UserJourney": "sample string 4",
"CreationDateStartUtc": "2026-08-29T17:36:21.7118776+00:00",
"CreationDateEndUtc": "2026-08-29T17:36:21.7118776+00:00",
"ModifiedDateStartUtc": "2026-08-29T17:36:21.7118776+00:00",
"ModifiedDateEndUtc": "2026-08-29T17:36:21.7118776+00:00",
"PaymentDateStartUtc": "2026-08-29T17:36:21.7118776+00:00",
"PaymentDateEndUtc": "2026-08-29T17:36:21.7118776+00:00",
"SupplierIds": [
"d1b741f1-f9fa-467b-8069-06b8d695f190",
"425b8ffd-46ec-45e1-a168-6b04609f3da1"
],
"VoucherId": 1,
"OrganisationId": "6fdd93f9-2d84-4a6c-b5bc-7cc002da14c2",
"CentralMailerCampaignId": "dc7d48c5-5644-4532-bbf8-7340995b402d",
"OrgIds": [
"d58566fc-7d40-406b-bd39-26ebc1675b5a",
"08e0398e-57a3-44d5-8514-2b6291bfa033"
]
}
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>dc7d48c5-5644-4532-bbf8-7340995b402d</CentralMailerCampaignId>
<Completed>true</Completed>
<CreationDateEndUtc>2026-08-29T17:36:21.7118776+00:00</CreationDateEndUtc>
<CreationDateStartUtc>2026-08-29T17:36:21.7118776+00:00</CreationDateStartUtc>
<Id>bfb1346a-c193-40f7-8bb2-ed6ebf8b0fa1</Id>
<IsTemporary>true</IsTemporary>
<ModifiedDateEndUtc>2026-08-29T17:36:21.7118776+00:00</ModifiedDateEndUtc>
<ModifiedDateStartUtc>2026-08-29T17:36:21.7118776+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>d58566fc-7d40-406b-bd39-26ebc1675b5a</d2p1:guid>
<d2p1:guid>08e0398e-57a3-44d5-8514-2b6291bfa033</d2p1:guid>
</OrgIds>
<OrganisationId>6fdd93f9-2d84-4a6c-b5bc-7cc002da14c2</OrganisationId>
<PaymentDateEndUtc>2026-08-29T17:36:21.7118776+00:00</PaymentDateEndUtc>
<PaymentDateStartUtc>2026-08-29T17:36:21.7118776+00:00</PaymentDateStartUtc>
<SearchQuery>sample string 2</SearchQuery>
<SupplierIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>d1b741f1-f9fa-467b-8069-06b8d695f190</d2p1:guid>
<d2p1:guid>425b8ffd-46ec-45e1-a168-6b04609f3da1</d2p1:guid>
</SupplierIds>
<TenantId>9b95d688-20a3-4d58-bba1-65e130a1349a</TenantId>
<UserId>83797549-ffb0-4101-bfad-ac097f86d597</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.