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": "082b25fb-63dd-4dea-8d39-f3e8aaa295ee",
"Name": "sample string 1",
"TenantId": "26271667-7c93-4b1d-b1d1-174283401382",
"UserId": "79157a18-d8ae-42c4-8f0d-6924400c3924",
"SearchQuery": "sample string 2",
"IsTemporary": true,
"Completed": true,
"OrderStatus": "sample string 3",
"UserJourney": "sample string 4",
"CreationDateStartUtc": "2026-01-21T09:53:40.0349653+00:00",
"CreationDateEndUtc": "2026-01-21T09:53:40.0349653+00:00",
"ModifiedDateStartUtc": "2026-01-21T09:53:40.0349653+00:00",
"ModifiedDateEndUtc": "2026-01-21T09:53:40.0349653+00:00",
"PaymentDateStartUtc": "2026-01-21T09:53:40.0349653+00:00",
"PaymentDateEndUtc": "2026-01-21T09:53:40.0349653+00:00",
"SupplierIds": [
"f468459f-8719-4a54-aaf1-41b3ac330cf8",
"16c8a1c0-1b8c-43c5-b607-b814f6559264"
],
"VoucherId": 1,
"OrganisationId": "7f365764-13fa-4f0f-90f3-08077610022e",
"CentralMailerCampaignId": "b5fdbc78-f363-4410-ae86-4fb18d80646d",
"OrgIds": [
"f6413087-fdd7-41ef-9fb3-ca5f8347d063",
"d2c93fcc-faf4-42b3-94eb-301fce191c21"
]
}
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>b5fdbc78-f363-4410-ae86-4fb18d80646d</CentralMailerCampaignId>
<Completed>true</Completed>
<CreationDateEndUtc>2026-01-21T09:53:40.0349653+00:00</CreationDateEndUtc>
<CreationDateStartUtc>2026-01-21T09:53:40.0349653+00:00</CreationDateStartUtc>
<Id>082b25fb-63dd-4dea-8d39-f3e8aaa295ee</Id>
<IsTemporary>true</IsTemporary>
<ModifiedDateEndUtc>2026-01-21T09:53:40.0349653+00:00</ModifiedDateEndUtc>
<ModifiedDateStartUtc>2026-01-21T09:53:40.0349653+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>f6413087-fdd7-41ef-9fb3-ca5f8347d063</d2p1:guid>
<d2p1:guid>d2c93fcc-faf4-42b3-94eb-301fce191c21</d2p1:guid>
</OrgIds>
<OrganisationId>7f365764-13fa-4f0f-90f3-08077610022e</OrganisationId>
<PaymentDateEndUtc>2026-01-21T09:53:40.0349653+00:00</PaymentDateEndUtc>
<PaymentDateStartUtc>2026-01-21T09:53:40.0349653+00:00</PaymentDateStartUtc>
<SearchQuery>sample string 2</SearchQuery>
<SupplierIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>f468459f-8719-4a54-aaf1-41b3ac330cf8</d2p1:guid>
<d2p1:guid>16c8a1c0-1b8c-43c5-b607-b814f6559264</d2p1:guid>
</SupplierIds>
<TenantId>26271667-7c93-4b1d-b1d1-174283401382</TenantId>
<UserId>79157a18-d8ae-42c4-8f0d-6924400c3924</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.