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": "a8ed3a85-004f-4853-9987-f7fc90862f9b",
"Name": "sample string 1",
"TenantId": "e7d0a38b-a17e-49f4-aac6-dad87d1be65e",
"UserId": "68f0d839-431b-412f-bee9-be1512873c41",
"SearchQuery": "sample string 2",
"IsTemporary": true,
"Completed": true,
"OrderStatus": "sample string 3",
"UserJourney": "sample string 4",
"CreationDateStartUtc": "2026-07-04T14:08:34.6364573+00:00",
"CreationDateEndUtc": "2026-07-04T14:08:34.6364573+00:00",
"ModifiedDateStartUtc": "2026-07-04T14:08:34.6364573+00:00",
"ModifiedDateEndUtc": "2026-07-04T14:08:34.6364573+00:00",
"PaymentDateStartUtc": "2026-07-04T14:08:34.6364573+00:00",
"PaymentDateEndUtc": "2026-07-04T14:08:34.6364573+00:00",
"SupplierIds": [
"cd66256a-ca17-4693-bb47-b7134c371420",
"cc087606-3b99-4a99-bf05-f06e6902ffc6"
],
"VoucherId": 1,
"OrganisationId": "f49f695b-802b-4507-9a0b-187e09b51a16",
"CentralMailerCampaignId": "2c8e6781-3403-4aaf-87cd-42d3c6fe2347",
"OrgIds": [
"47399e1e-241e-445d-a644-8e813cffb814",
"3035e29c-4e7e-4e56-ad01-3ffa34e44803"
]
}
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>2c8e6781-3403-4aaf-87cd-42d3c6fe2347</CentralMailerCampaignId>
<Completed>true</Completed>
<CreationDateEndUtc>2026-07-04T14:08:34.6364573+00:00</CreationDateEndUtc>
<CreationDateStartUtc>2026-07-04T14:08:34.6364573+00:00</CreationDateStartUtc>
<Id>a8ed3a85-004f-4853-9987-f7fc90862f9b</Id>
<IsTemporary>true</IsTemporary>
<ModifiedDateEndUtc>2026-07-04T14:08:34.6364573+00:00</ModifiedDateEndUtc>
<ModifiedDateStartUtc>2026-07-04T14:08:34.6364573+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>47399e1e-241e-445d-a644-8e813cffb814</d2p1:guid>
<d2p1:guid>3035e29c-4e7e-4e56-ad01-3ffa34e44803</d2p1:guid>
</OrgIds>
<OrganisationId>f49f695b-802b-4507-9a0b-187e09b51a16</OrganisationId>
<PaymentDateEndUtc>2026-07-04T14:08:34.6364573+00:00</PaymentDateEndUtc>
<PaymentDateStartUtc>2026-07-04T14:08:34.6364573+00:00</PaymentDateStartUtc>
<SearchQuery>sample string 2</SearchQuery>
<SupplierIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>cd66256a-ca17-4693-bb47-b7134c371420</d2p1:guid>
<d2p1:guid>cc087606-3b99-4a99-bf05-f06e6902ffc6</d2p1:guid>
</SupplierIds>
<TenantId>e7d0a38b-a17e-49f4-aac6-dad87d1be65e</TenantId>
<UserId>68f0d839-431b-412f-bee9-be1512873c41</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.