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": "6631d0c8-a707-4f88-a850-4e9aa2ef7905",
"Name": "sample string 1",
"TenantId": "076c6b0e-40e3-49c7-9706-4869a2f8511a",
"UserId": "a5a47be2-c620-4b75-9f10-9002e49268e5",
"SearchQuery": "sample string 2",
"IsTemporary": true,
"Completed": true,
"OrderStatus": "sample string 3",
"UserJourney": "sample string 4",
"CreationDateStartUtc": "2026-07-04T14:00:23.8473597+00:00",
"CreationDateEndUtc": "2026-07-04T14:00:23.8473597+00:00",
"ModifiedDateStartUtc": "2026-07-04T14:00:23.8473597+00:00",
"ModifiedDateEndUtc": "2026-07-04T14:00:23.8473597+00:00",
"PaymentDateStartUtc": "2026-07-04T14:00:23.8473597+00:00",
"PaymentDateEndUtc": "2026-07-04T14:00:23.8473597+00:00",
"SupplierIds": [
"1f0e55eb-3b9c-46db-9016-aedae24c0796",
"167e37e7-9de3-4730-a465-6ac31ba5b4d4"
],
"VoucherId": 1,
"OrganisationId": "e997026b-2dd8-4a6f-ad96-fb0230d3badc",
"CentralMailerCampaignId": "17061bc1-6822-4c04-825e-429a3c3ce0a4",
"OrgIds": [
"013183d0-e1ad-4e81-9757-606695c13a76",
"c81931b6-c7b9-48e5-8772-d75cb4ae8fd3"
]
}
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>17061bc1-6822-4c04-825e-429a3c3ce0a4</CentralMailerCampaignId>
<Completed>true</Completed>
<CreationDateEndUtc>2026-07-04T14:00:23.8473597+00:00</CreationDateEndUtc>
<CreationDateStartUtc>2026-07-04T14:00:23.8473597+00:00</CreationDateStartUtc>
<Id>6631d0c8-a707-4f88-a850-4e9aa2ef7905</Id>
<IsTemporary>true</IsTemporary>
<ModifiedDateEndUtc>2026-07-04T14:00:23.8473597+00:00</ModifiedDateEndUtc>
<ModifiedDateStartUtc>2026-07-04T14:00:23.8473597+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>013183d0-e1ad-4e81-9757-606695c13a76</d2p1:guid>
<d2p1:guid>c81931b6-c7b9-48e5-8772-d75cb4ae8fd3</d2p1:guid>
</OrgIds>
<OrganisationId>e997026b-2dd8-4a6f-ad96-fb0230d3badc</OrganisationId>
<PaymentDateEndUtc>2026-07-04T14:00:23.8473597+00:00</PaymentDateEndUtc>
<PaymentDateStartUtc>2026-07-04T14:00:23.8473597+00:00</PaymentDateStartUtc>
<SearchQuery>sample string 2</SearchQuery>
<SupplierIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>1f0e55eb-3b9c-46db-9016-aedae24c0796</d2p1:guid>
<d2p1:guid>167e37e7-9de3-4730-a465-6ac31ba5b4d4</d2p1:guid>
</SupplierIds>
<TenantId>076c6b0e-40e3-49c7-9706-4869a2f8511a</TenantId>
<UserId>a5a47be2-c620-4b75-9f10-9002e49268e5</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.