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": "3bf5194c-fe8a-43d9-b1e2-9f2a596f5e2a",
"Name": "sample string 1",
"TenantId": "4fd78f18-3051-400d-9a23-a7a59c1f77c9",
"UserId": "99d1c177-7ea4-4910-b12b-014fa0778e1a",
"SearchQuery": "sample string 2",
"IsTemporary": true,
"Completed": true,
"OrderStatus": "sample string 3",
"UserJourney": "sample string 4",
"CreationDateStartUtc": "2026-01-21T09:43:55.1424914+00:00",
"CreationDateEndUtc": "2026-01-21T09:43:55.1424914+00:00",
"ModifiedDateStartUtc": "2026-01-21T09:43:55.1424914+00:00",
"ModifiedDateEndUtc": "2026-01-21T09:43:55.1424914+00:00",
"PaymentDateStartUtc": "2026-01-21T09:43:55.1424914+00:00",
"PaymentDateEndUtc": "2026-01-21T09:43:55.1424914+00:00",
"SupplierIds": [
"d2d979df-8f60-4c76-9f35-aa2685da2d35",
"7ba9c06b-24ef-4125-a594-4df7c4daf051"
],
"VoucherId": 1,
"OrganisationId": "b863d7ae-b015-4901-95b3-cdd536f4e3d4",
"CentralMailerCampaignId": "bea21cd4-e883-4367-a813-f1371fe88eea",
"OrgIds": [
"f72b52cd-cca0-4a9d-b547-970700f813d1",
"2ffe3970-e6e3-495f-84bf-4249c0804c5f"
]
}
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>bea21cd4-e883-4367-a813-f1371fe88eea</CentralMailerCampaignId>
<Completed>true</Completed>
<CreationDateEndUtc>2026-01-21T09:43:55.1424914+00:00</CreationDateEndUtc>
<CreationDateStartUtc>2026-01-21T09:43:55.1424914+00:00</CreationDateStartUtc>
<Id>3bf5194c-fe8a-43d9-b1e2-9f2a596f5e2a</Id>
<IsTemporary>true</IsTemporary>
<ModifiedDateEndUtc>2026-01-21T09:43:55.1424914+00:00</ModifiedDateEndUtc>
<ModifiedDateStartUtc>2026-01-21T09:43:55.1424914+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>f72b52cd-cca0-4a9d-b547-970700f813d1</d2p1:guid>
<d2p1:guid>2ffe3970-e6e3-495f-84bf-4249c0804c5f</d2p1:guid>
</OrgIds>
<OrganisationId>b863d7ae-b015-4901-95b3-cdd536f4e3d4</OrganisationId>
<PaymentDateEndUtc>2026-01-21T09:43:55.1424914+00:00</PaymentDateEndUtc>
<PaymentDateStartUtc>2026-01-21T09:43:55.1424914+00:00</PaymentDateStartUtc>
<SearchQuery>sample string 2</SearchQuery>
<SupplierIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>d2d979df-8f60-4c76-9f35-aa2685da2d35</d2p1:guid>
<d2p1:guid>7ba9c06b-24ef-4125-a594-4df7c4daf051</d2p1:guid>
</SupplierIds>
<TenantId>4fd78f18-3051-400d-9a23-a7a59c1f77c9</TenantId>
<UserId>99d1c177-7ea4-4910-b12b-014fa0778e1a</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.