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": "a407d05b-156b-40ab-a651-e0e6410cfc48",
"Name": "sample string 1",
"TenantId": "c378020a-028d-4fc5-bde6-5eec53f4b735",
"UserId": "0dfd4e4a-ef55-4adf-bb97-c6c94719c105",
"SearchQuery": "sample string 2",
"IsTemporary": true,
"Completed": true,
"OrderStatus": "sample string 3",
"UserJourney": "sample string 4",
"CreationDateStartUtc": "2026-01-21T09:42:54.3043986+00:00",
"CreationDateEndUtc": "2026-01-21T09:42:54.3043986+00:00",
"ModifiedDateStartUtc": "2026-01-21T09:42:54.3043986+00:00",
"ModifiedDateEndUtc": "2026-01-21T09:42:54.3043986+00:00",
"PaymentDateStartUtc": "2026-01-21T09:42:54.3043986+00:00",
"PaymentDateEndUtc": "2026-01-21T09:42:54.3043986+00:00",
"SupplierIds": [
"bbfee0d0-82cc-4366-b093-bda835830d0d",
"4b391c40-7842-47ca-9d8d-d98c4b58a2a9"
],
"VoucherId": 1,
"OrganisationId": "62300ddb-ea79-4f04-8165-c915ac732808",
"CentralMailerCampaignId": "e0471b2f-e365-4137-85fe-e46b05b9c3c1",
"OrgIds": [
"d004c2da-590a-4fa5-b243-9806425598c4",
"63fcd6f9-6b5a-482d-bf24-e9502bcb8210"
]
}
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>e0471b2f-e365-4137-85fe-e46b05b9c3c1</CentralMailerCampaignId>
<Completed>true</Completed>
<CreationDateEndUtc>2026-01-21T09:42:54.3043986+00:00</CreationDateEndUtc>
<CreationDateStartUtc>2026-01-21T09:42:54.3043986+00:00</CreationDateStartUtc>
<Id>a407d05b-156b-40ab-a651-e0e6410cfc48</Id>
<IsTemporary>true</IsTemporary>
<ModifiedDateEndUtc>2026-01-21T09:42:54.3043986+00:00</ModifiedDateEndUtc>
<ModifiedDateStartUtc>2026-01-21T09:42:54.3043986+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>d004c2da-590a-4fa5-b243-9806425598c4</d2p1:guid>
<d2p1:guid>63fcd6f9-6b5a-482d-bf24-e9502bcb8210</d2p1:guid>
</OrgIds>
<OrganisationId>62300ddb-ea79-4f04-8165-c915ac732808</OrganisationId>
<PaymentDateEndUtc>2026-01-21T09:42:54.3043986+00:00</PaymentDateEndUtc>
<PaymentDateStartUtc>2026-01-21T09:42:54.3043986+00:00</PaymentDateStartUtc>
<SearchQuery>sample string 2</SearchQuery>
<SupplierIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>bbfee0d0-82cc-4366-b093-bda835830d0d</d2p1:guid>
<d2p1:guid>4b391c40-7842-47ca-9d8d-d98c4b58a2a9</d2p1:guid>
</SupplierIds>
<TenantId>c378020a-028d-4fc5-bde6-5eec53f4b735</TenantId>
<UserId>0dfd4e4a-ef55-4adf-bb97-c6c94719c105</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.