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": "e5885708-29c2-4de8-bff6-7e523454aabe",
"Name": "sample string 1",
"TenantId": "d387609f-9026-4678-851a-fc13a191de48",
"UserId": "fb45c3a2-9837-45a4-9acb-6dd1685bd29e",
"SearchQuery": "sample string 2",
"IsTemporary": true,
"Completed": true,
"OrderStatus": "sample string 3",
"UserJourney": "sample string 4",
"CreationDateStartUtc": "2026-03-16T13:51:35.1302911+00:00",
"CreationDateEndUtc": "2026-03-16T13:51:35.1302911+00:00",
"ModifiedDateStartUtc": "2026-03-16T13:51:35.1302911+00:00",
"ModifiedDateEndUtc": "2026-03-16T13:51:35.1302911+00:00",
"PaymentDateStartUtc": "2026-03-16T13:51:35.1302911+00:00",
"PaymentDateEndUtc": "2026-03-16T13:51:35.1302911+00:00",
"SupplierIds": [
"1eef5c72-5348-4347-8ea5-78c07b10a09f",
"ea029401-7763-4271-b2d6-29db4ae22aa1"
],
"VoucherId": 1,
"OrganisationId": "d24b60b4-bded-4369-a562-e645ae75ffeb",
"CentralMailerCampaignId": "793a5571-1329-4dca-85ef-bfa17881affc",
"OrgIds": [
"e38704d9-ca52-4609-90e7-af3fa0f5ef29",
"9a617c4b-acf5-47c7-8a09-36542f071e1b"
]
}
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>793a5571-1329-4dca-85ef-bfa17881affc</CentralMailerCampaignId>
<Completed>true</Completed>
<CreationDateEndUtc>2026-03-16T13:51:35.1302911+00:00</CreationDateEndUtc>
<CreationDateStartUtc>2026-03-16T13:51:35.1302911+00:00</CreationDateStartUtc>
<Id>e5885708-29c2-4de8-bff6-7e523454aabe</Id>
<IsTemporary>true</IsTemporary>
<ModifiedDateEndUtc>2026-03-16T13:51:35.1302911+00:00</ModifiedDateEndUtc>
<ModifiedDateStartUtc>2026-03-16T13:51:35.1302911+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>e38704d9-ca52-4609-90e7-af3fa0f5ef29</d2p1:guid>
<d2p1:guid>9a617c4b-acf5-47c7-8a09-36542f071e1b</d2p1:guid>
</OrgIds>
<OrganisationId>d24b60b4-bded-4369-a562-e645ae75ffeb</OrganisationId>
<PaymentDateEndUtc>2026-03-16T13:51:35.1302911+00:00</PaymentDateEndUtc>
<PaymentDateStartUtc>2026-03-16T13:51:35.1302911+00:00</PaymentDateStartUtc>
<SearchQuery>sample string 2</SearchQuery>
<SupplierIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>1eef5c72-5348-4347-8ea5-78c07b10a09f</d2p1:guid>
<d2p1:guid>ea029401-7763-4271-b2d6-29db4ae22aa1</d2p1:guid>
</SupplierIds>
<TenantId>d387609f-9026-4678-851a-fc13a191de48</TenantId>
<UserId>fb45c3a2-9837-45a4-9acb-6dd1685bd29e</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.