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": "6aa90aeb-b5d1-4a86-a010-b00c333e511a",
"Name": "sample string 1",
"TenantId": "8f0b6cba-bd1c-431e-b8bf-54224c3b8ad0",
"UserId": "30d49467-b64f-44b5-99f7-4ff865a20342",
"SearchQuery": "sample string 2",
"IsTemporary": true,
"Completed": true,
"OrderStatus": "sample string 3",
"UserJourney": "sample string 4",
"CreationDateStartUtc": "2025-12-06T02:25:07.1263982+00:00",
"CreationDateEndUtc": "2025-12-06T02:25:07.1263982+00:00",
"ModifiedDateStartUtc": "2025-12-06T02:25:07.1263982+00:00",
"ModifiedDateEndUtc": "2025-12-06T02:25:07.1263982+00:00",
"PaymentDateStartUtc": "2025-12-06T02:25:07.1263982+00:00",
"PaymentDateEndUtc": "2025-12-06T02:25:07.1263982+00:00",
"SupplierIds": [
"79c56e28-333d-4af2-a8ad-d0f65fe4b34d",
"64075b90-425c-43c0-8ddf-4fc5d450c6c2"
],
"VoucherId": 1,
"OrganisationId": "b9701b69-2128-48e4-a9ce-2cf1d489e77b",
"CentralMailerCampaignId": "c892a696-ecbe-469b-b77f-f765b66ab1cf",
"OrgIds": [
"6b2942d6-ffa3-46fe-a758-10c527197ecc",
"60f451eb-b1e9-4aca-bc4d-8c892433a43c"
]
}
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>c892a696-ecbe-469b-b77f-f765b66ab1cf</CentralMailerCampaignId>
<Completed>true</Completed>
<CreationDateEndUtc>2025-12-06T02:25:07.1263982+00:00</CreationDateEndUtc>
<CreationDateStartUtc>2025-12-06T02:25:07.1263982+00:00</CreationDateStartUtc>
<Id>6aa90aeb-b5d1-4a86-a010-b00c333e511a</Id>
<IsTemporary>true</IsTemporary>
<ModifiedDateEndUtc>2025-12-06T02:25:07.1263982+00:00</ModifiedDateEndUtc>
<ModifiedDateStartUtc>2025-12-06T02:25:07.1263982+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>6b2942d6-ffa3-46fe-a758-10c527197ecc</d2p1:guid>
<d2p1:guid>60f451eb-b1e9-4aca-bc4d-8c892433a43c</d2p1:guid>
</OrgIds>
<OrganisationId>b9701b69-2128-48e4-a9ce-2cf1d489e77b</OrganisationId>
<PaymentDateEndUtc>2025-12-06T02:25:07.1263982+00:00</PaymentDateEndUtc>
<PaymentDateStartUtc>2025-12-06T02:25:07.1263982+00:00</PaymentDateStartUtc>
<SearchQuery>sample string 2</SearchQuery>
<SupplierIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>79c56e28-333d-4af2-a8ad-d0f65fe4b34d</d2p1:guid>
<d2p1:guid>64075b90-425c-43c0-8ddf-4fc5d450c6c2</d2p1:guid>
</SupplierIds>
<TenantId>8f0b6cba-bd1c-431e-b8bf-54224c3b8ad0</TenantId>
<UserId>30d49467-b64f-44b5-99f7-4ff865a20342</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.