POST api/campaigns/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": "2e5f958e-b548-4402-aaf5-50f759b0acdd",
"Name": "sample string 1",
"TenantId": "30b1fe4c-290e-4582-b8a4-d7ba8309519c",
"UserId": "7e8f2430-f101-4451-8b6e-5e0f1003bcd0",
"SearchQuery": "sample string 2",
"IsTemporary": true,
"Completed": true,
"OrderStatus": "sample string 3",
"UserJourney": "sample string 4",
"CreationDateStartUtc": "2026-03-16T13:52:42.3852258+00:00",
"CreationDateEndUtc": "2026-03-16T13:52:42.3852258+00:00",
"ModifiedDateStartUtc": "2026-03-16T13:52:42.3852258+00:00",
"ModifiedDateEndUtc": "2026-03-16T13:52:42.3852258+00:00",
"PaymentDateStartUtc": "2026-03-16T13:52:42.3852258+00:00",
"PaymentDateEndUtc": "2026-03-16T13:52:42.3852258+00:00",
"SupplierIds": [
"ca832081-fe1f-4b12-b1d4-35ba90b7d6e8",
"fbbe1d13-7b43-4ac9-ac48-ecf9858cef5f"
],
"VoucherId": 1,
"OrganisationId": "6cf7616d-c9e1-4b32-b8d7-f77dca8cd2f3",
"CentralMailerCampaignId": "9f253ec0-e1ed-41f6-ac94-cea5a1869f7b",
"OrgIds": [
"0047f3ba-c3b9-4cf8-aeee-1693f7cc38e7",
"0a28f4ad-4351-4c83-8d73-39268cc3fec2"
]
}
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>9f253ec0-e1ed-41f6-ac94-cea5a1869f7b</CentralMailerCampaignId>
<Completed>true</Completed>
<CreationDateEndUtc>2026-03-16T13:52:42.3852258+00:00</CreationDateEndUtc>
<CreationDateStartUtc>2026-03-16T13:52:42.3852258+00:00</CreationDateStartUtc>
<Id>2e5f958e-b548-4402-aaf5-50f759b0acdd</Id>
<IsTemporary>true</IsTemporary>
<ModifiedDateEndUtc>2026-03-16T13:52:42.3852258+00:00</ModifiedDateEndUtc>
<ModifiedDateStartUtc>2026-03-16T13:52:42.3852258+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>0047f3ba-c3b9-4cf8-aeee-1693f7cc38e7</d2p1:guid>
<d2p1:guid>0a28f4ad-4351-4c83-8d73-39268cc3fec2</d2p1:guid>
</OrgIds>
<OrganisationId>6cf7616d-c9e1-4b32-b8d7-f77dca8cd2f3</OrganisationId>
<PaymentDateEndUtc>2026-03-16T13:52:42.3852258+00:00</PaymentDateEndUtc>
<PaymentDateStartUtc>2026-03-16T13:52:42.3852258+00:00</PaymentDateStartUtc>
<SearchQuery>sample string 2</SearchQuery>
<SupplierIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>ca832081-fe1f-4b12-b1d4-35ba90b7d6e8</d2p1:guid>
<d2p1:guid>fbbe1d13-7b43-4ac9-ac48-ecf9858cef5f</d2p1:guid>
</SupplierIds>
<TenantId>30b1fe4c-290e-4582-b8a4-d7ba8309519c</TenantId>
<UserId>7e8f2430-f101-4451-8b6e-5e0f1003bcd0</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.