POST api/centralmailercampaigns/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": "4328abf6-dfb5-41a2-aa7a-49fa0eae1377",
"Name": "sample string 1",
"TenantId": "3ee98539-fffb-4796-a624-6f8a9511b658",
"UserId": "53332299-b3e5-4cc3-bb41-691a424c9fab",
"SearchQuery": "sample string 2",
"IsTemporary": true,
"Completed": true,
"OrderStatus": "sample string 3",
"UserJourney": "sample string 4",
"CreationDateStartUtc": "2026-07-04T14:00:38.3464071+00:00",
"CreationDateEndUtc": "2026-07-04T14:00:38.3464071+00:00",
"ModifiedDateStartUtc": "2026-07-04T14:00:38.3464071+00:00",
"ModifiedDateEndUtc": "2026-07-04T14:00:38.3464071+00:00",
"PaymentDateStartUtc": "2026-07-04T14:00:38.3464071+00:00",
"PaymentDateEndUtc": "2026-07-04T14:00:38.3464071+00:00",
"SupplierIds": [
"8540a177-813a-4964-b3a2-63fe461ad0cb",
"8efa5849-2e07-49c3-a291-4297ff3912e6"
],
"VoucherId": 1,
"OrganisationId": "40b1c5ef-c129-4b2d-844f-cca3e1ce8b54",
"CentralMailerCampaignId": "07c5e14a-05a6-43ed-a185-7132e33acec1",
"OrgIds": [
"b1be23b9-f380-4097-bb08-a699bb0fd6f1",
"b8447115-8c0a-4419-9b82-ac0de8be1c08"
]
}
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>07c5e14a-05a6-43ed-a185-7132e33acec1</CentralMailerCampaignId>
<Completed>true</Completed>
<CreationDateEndUtc>2026-07-04T14:00:38.3464071+00:00</CreationDateEndUtc>
<CreationDateStartUtc>2026-07-04T14:00:38.3464071+00:00</CreationDateStartUtc>
<Id>4328abf6-dfb5-41a2-aa7a-49fa0eae1377</Id>
<IsTemporary>true</IsTemporary>
<ModifiedDateEndUtc>2026-07-04T14:00:38.3464071+00:00</ModifiedDateEndUtc>
<ModifiedDateStartUtc>2026-07-04T14:00:38.3464071+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>b1be23b9-f380-4097-bb08-a699bb0fd6f1</d2p1:guid>
<d2p1:guid>b8447115-8c0a-4419-9b82-ac0de8be1c08</d2p1:guid>
</OrgIds>
<OrganisationId>40b1c5ef-c129-4b2d-844f-cca3e1ce8b54</OrganisationId>
<PaymentDateEndUtc>2026-07-04T14:00:38.3464071+00:00</PaymentDateEndUtc>
<PaymentDateStartUtc>2026-07-04T14:00:38.3464071+00:00</PaymentDateStartUtc>
<SearchQuery>sample string 2</SearchQuery>
<SupplierIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>8540a177-813a-4964-b3a2-63fe461ad0cb</d2p1:guid>
<d2p1:guid>8efa5849-2e07-49c3-a291-4297ff3912e6</d2p1:guid>
</SupplierIds>
<TenantId>3ee98539-fffb-4796-a624-6f8a9511b658</TenantId>
<UserId>53332299-b3e5-4cc3-bb41-691a424c9fab</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.