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": "3e0d5285-2885-4eb7-872d-a46e157c3a59",
"Name": "sample string 1",
"TenantId": "0e6c53f4-e2bb-4486-86e5-2f2cc95a5e80",
"UserId": "6fb716ac-1e45-4ac5-b35b-84d5c9d7564a",
"SearchQuery": "sample string 2",
"IsTemporary": true,
"Completed": true,
"OrderStatus": "sample string 3",
"UserJourney": "sample string 4",
"CreationDateStartUtc": "2025-12-11T08:30:04.4432614+00:00",
"CreationDateEndUtc": "2025-12-11T08:30:04.4432614+00:00",
"ModifiedDateStartUtc": "2025-12-11T08:30:04.4432614+00:00",
"ModifiedDateEndUtc": "2025-12-11T08:30:04.4432614+00:00",
"PaymentDateStartUtc": "2025-12-11T08:30:04.4432614+00:00",
"PaymentDateEndUtc": "2025-12-11T08:30:04.4432614+00:00",
"SupplierIds": [
"481cda5c-09a4-4c27-b3fc-53ec9bdad702",
"7b7fc71d-860a-40fe-9c72-718ae6204020"
],
"VoucherId": 1,
"OrganisationId": "9f3f9784-5ffc-464f-862f-a68b96d5b0f2",
"CentralMailerCampaignId": "dbcd7e86-e6e4-4dfc-aadb-fe30a81736c1",
"OrgIds": [
"c2c1d286-d817-4fa5-beab-46abe54112e4",
"cd99c172-de49-4711-84b7-6904566a8323"
]
}
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>dbcd7e86-e6e4-4dfc-aadb-fe30a81736c1</CentralMailerCampaignId>
<Completed>true</Completed>
<CreationDateEndUtc>2025-12-11T08:30:04.4432614+00:00</CreationDateEndUtc>
<CreationDateStartUtc>2025-12-11T08:30:04.4432614+00:00</CreationDateStartUtc>
<Id>3e0d5285-2885-4eb7-872d-a46e157c3a59</Id>
<IsTemporary>true</IsTemporary>
<ModifiedDateEndUtc>2025-12-11T08:30:04.4432614+00:00</ModifiedDateEndUtc>
<ModifiedDateStartUtc>2025-12-11T08:30:04.4432614+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>c2c1d286-d817-4fa5-beab-46abe54112e4</d2p1:guid>
<d2p1:guid>cd99c172-de49-4711-84b7-6904566a8323</d2p1:guid>
</OrgIds>
<OrganisationId>9f3f9784-5ffc-464f-862f-a68b96d5b0f2</OrganisationId>
<PaymentDateEndUtc>2025-12-11T08:30:04.4432614+00:00</PaymentDateEndUtc>
<PaymentDateStartUtc>2025-12-11T08:30:04.4432614+00:00</PaymentDateStartUtc>
<SearchQuery>sample string 2</SearchQuery>
<SupplierIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>481cda5c-09a4-4c27-b3fc-53ec9bdad702</d2p1:guid>
<d2p1:guid>7b7fc71d-860a-40fe-9c72-718ae6204020</d2p1:guid>
</SupplierIds>
<TenantId>0e6c53f4-e2bb-4486-86e5-2f2cc95a5e80</TenantId>
<UserId>6fb716ac-1e45-4ac5-b35b-84d5c9d7564a</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.