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": "fa5a311e-c99a-482d-b2a1-d9f09551807f",
"Name": "sample string 1",
"TenantId": "cbd3e15b-b840-49c5-8195-69c2463f242b",
"UserId": "dea56e61-c68e-4cfd-a0d3-571b55ac4348",
"SearchQuery": "sample string 2",
"IsTemporary": true,
"Completed": true,
"OrderStatus": "sample string 3",
"UserJourney": "sample string 4",
"CreationDateStartUtc": "2026-08-28T13:52:42.577688+00:00",
"CreationDateEndUtc": "2026-08-28T13:52:42.577688+00:00",
"ModifiedDateStartUtc": "2026-08-28T13:52:42.577688+00:00",
"ModifiedDateEndUtc": "2026-08-28T13:52:42.577688+00:00",
"PaymentDateStartUtc": "2026-08-28T13:52:42.577688+00:00",
"PaymentDateEndUtc": "2026-08-28T13:52:42.577688+00:00",
"SupplierIds": [
"b5683bf8-4255-4e31-9466-2faff4189733",
"dfd2dbde-9a0d-44af-b0fb-e4371ca27191"
],
"VoucherId": 1,
"OrganisationId": "a7296a68-01ae-405f-8dc8-d7703373dba4",
"CentralMailerCampaignId": "28c24b06-77a3-4e07-8158-2b7fdb7950d4",
"OrgIds": [
"e57e8c1d-8d85-4649-b122-8c09e2efd960",
"26fd0652-f050-434d-b9be-5062a9ec8f90"
]
}
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>28c24b06-77a3-4e07-8158-2b7fdb7950d4</CentralMailerCampaignId>
<Completed>true</Completed>
<CreationDateEndUtc>2026-08-28T13:52:42.577688+00:00</CreationDateEndUtc>
<CreationDateStartUtc>2026-08-28T13:52:42.577688+00:00</CreationDateStartUtc>
<Id>fa5a311e-c99a-482d-b2a1-d9f09551807f</Id>
<IsTemporary>true</IsTemporary>
<ModifiedDateEndUtc>2026-08-28T13:52:42.577688+00:00</ModifiedDateEndUtc>
<ModifiedDateStartUtc>2026-08-28T13:52:42.577688+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>e57e8c1d-8d85-4649-b122-8c09e2efd960</d2p1:guid>
<d2p1:guid>26fd0652-f050-434d-b9be-5062a9ec8f90</d2p1:guid>
</OrgIds>
<OrganisationId>a7296a68-01ae-405f-8dc8-d7703373dba4</OrganisationId>
<PaymentDateEndUtc>2026-08-28T13:52:42.577688+00:00</PaymentDateEndUtc>
<PaymentDateStartUtc>2026-08-28T13:52:42.577688+00:00</PaymentDateStartUtc>
<SearchQuery>sample string 2</SearchQuery>
<SupplierIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>b5683bf8-4255-4e31-9466-2faff4189733</d2p1:guid>
<d2p1:guid>dfd2dbde-9a0d-44af-b0fb-e4371ca27191</d2p1:guid>
</SupplierIds>
<TenantId>cbd3e15b-b840-49c5-8195-69c2463f242b</TenantId>
<UserId>dea56e61-c68e-4cfd-a0d3-571b55ac4348</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.