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": "77083259-4cb9-4184-ba8a-a0d2ecab0b07",
"Name": "sample string 1",
"TenantId": "57928a57-01c7-4464-ba3a-366526266490",
"UserId": "36753593-97ad-4761-b077-13a8349ba7b4",
"SearchQuery": "sample string 2",
"IsTemporary": true,
"Completed": true,
"OrderStatus": "sample string 3",
"UserJourney": "sample string 4",
"CreationDateStartUtc": "2026-07-04T14:09:11.7557963+00:00",
"CreationDateEndUtc": "2026-07-04T14:09:11.7557963+00:00",
"ModifiedDateStartUtc": "2026-07-04T14:09:11.7557963+00:00",
"ModifiedDateEndUtc": "2026-07-04T14:09:11.7557963+00:00",
"PaymentDateStartUtc": "2026-07-04T14:09:11.7557963+00:00",
"PaymentDateEndUtc": "2026-07-04T14:09:11.7557963+00:00",
"SupplierIds": [
"48478fe5-dcf2-4b9d-8490-0cb25182ef3c",
"3bf0a587-a7a0-4b85-b245-b12878d0e087"
],
"VoucherId": 1,
"OrganisationId": "5fa669f9-e082-4ab3-bf60-b00cf9c7d376",
"CentralMailerCampaignId": "982e2736-9d36-4541-96f4-d10eacd34f8d",
"OrgIds": [
"ee6fb206-68a0-4e7e-aca9-628f49c55faf",
"5ed19bf1-7681-45b6-8379-953efa95911f"
]
}
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>982e2736-9d36-4541-96f4-d10eacd34f8d</CentralMailerCampaignId>
<Completed>true</Completed>
<CreationDateEndUtc>2026-07-04T14:09:11.7557963+00:00</CreationDateEndUtc>
<CreationDateStartUtc>2026-07-04T14:09:11.7557963+00:00</CreationDateStartUtc>
<Id>77083259-4cb9-4184-ba8a-a0d2ecab0b07</Id>
<IsTemporary>true</IsTemporary>
<ModifiedDateEndUtc>2026-07-04T14:09:11.7557963+00:00</ModifiedDateEndUtc>
<ModifiedDateStartUtc>2026-07-04T14:09:11.7557963+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>ee6fb206-68a0-4e7e-aca9-628f49c55faf</d2p1:guid>
<d2p1:guid>5ed19bf1-7681-45b6-8379-953efa95911f</d2p1:guid>
</OrgIds>
<OrganisationId>5fa669f9-e082-4ab3-bf60-b00cf9c7d376</OrganisationId>
<PaymentDateEndUtc>2026-07-04T14:09:11.7557963+00:00</PaymentDateEndUtc>
<PaymentDateStartUtc>2026-07-04T14:09:11.7557963+00:00</PaymentDateStartUtc>
<SearchQuery>sample string 2</SearchQuery>
<SupplierIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>48478fe5-dcf2-4b9d-8490-0cb25182ef3c</d2p1:guid>
<d2p1:guid>3bf0a587-a7a0-4b85-b245-b12878d0e087</d2p1:guid>
</SupplierIds>
<TenantId>57928a57-01c7-4464-ba3a-366526266490</TenantId>
<UserId>36753593-97ad-4761-b077-13a8349ba7b4</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.