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": "6c3db19a-f4c9-44a5-b748-597038cf8077",
"Name": "sample string 1",
"TenantId": "616f5381-3a07-41ff-88d6-9fd79c5d4b16",
"UserId": "c4630fa6-ae3c-4c55-9611-7ead8a0e0c04",
"SearchQuery": "sample string 2",
"IsTemporary": true,
"Completed": true,
"OrderStatus": "sample string 3",
"UserJourney": "sample string 4",
"CreationDateStartUtc": "2026-08-28T13:52:26.0204806+00:00",
"CreationDateEndUtc": "2026-08-28T13:52:26.0204806+00:00",
"ModifiedDateStartUtc": "2026-08-28T13:52:26.0204806+00:00",
"ModifiedDateEndUtc": "2026-08-28T13:52:26.0204806+00:00",
"PaymentDateStartUtc": "2026-08-28T13:52:26.0204806+00:00",
"PaymentDateEndUtc": "2026-08-28T13:52:26.0204806+00:00",
"SupplierIds": [
"b582a0a9-91da-423d-8967-8a97a37d8de7",
"e1209fda-1074-464d-bbcc-4a9332e8ccce"
],
"VoucherId": 1,
"OrganisationId": "d838035b-59b7-4804-91a1-b59032b850f6",
"CentralMailerCampaignId": "400df767-140c-4c33-b84c-f54169f39fb9",
"OrgIds": [
"a87aa25f-1dc7-408e-b91a-4973d5abe79b",
"3b1d4417-6d7f-4053-a1f9-24f44d75b07a"
]
}
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>400df767-140c-4c33-b84c-f54169f39fb9</CentralMailerCampaignId>
<Completed>true</Completed>
<CreationDateEndUtc>2026-08-28T13:52:26.0204806+00:00</CreationDateEndUtc>
<CreationDateStartUtc>2026-08-28T13:52:26.0204806+00:00</CreationDateStartUtc>
<Id>6c3db19a-f4c9-44a5-b748-597038cf8077</Id>
<IsTemporary>true</IsTemporary>
<ModifiedDateEndUtc>2026-08-28T13:52:26.0204806+00:00</ModifiedDateEndUtc>
<ModifiedDateStartUtc>2026-08-28T13:52:26.0204806+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>a87aa25f-1dc7-408e-b91a-4973d5abe79b</d2p1:guid>
<d2p1:guid>3b1d4417-6d7f-4053-a1f9-24f44d75b07a</d2p1:guid>
</OrgIds>
<OrganisationId>d838035b-59b7-4804-91a1-b59032b850f6</OrganisationId>
<PaymentDateEndUtc>2026-08-28T13:52:26.0204806+00:00</PaymentDateEndUtc>
<PaymentDateStartUtc>2026-08-28T13:52:26.0204806+00:00</PaymentDateStartUtc>
<SearchQuery>sample string 2</SearchQuery>
<SupplierIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>b582a0a9-91da-423d-8967-8a97a37d8de7</d2p1:guid>
<d2p1:guid>e1209fda-1074-464d-bbcc-4a9332e8ccce</d2p1:guid>
</SupplierIds>
<TenantId>616f5381-3a07-41ff-88d6-9fd79c5d4b16</TenantId>
<UserId>c4630fa6-ae3c-4c55-9611-7ead8a0e0c04</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.