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": "530827e8-a90e-44f8-a432-e38ff8b1088c",
"Name": "sample string 1",
"TenantId": "b2b87397-2a96-4fc0-9bda-4bb6293d444a",
"UserId": "85cb1f5e-8846-4fc4-8fa5-5b5609c59fe8",
"SearchQuery": "sample string 2",
"IsTemporary": true,
"Completed": true,
"OrderStatus": "sample string 3",
"UserJourney": "sample string 4",
"CreationDateStartUtc": "2026-03-16T13:57:59.8658164+00:00",
"CreationDateEndUtc": "2026-03-16T13:57:59.8658164+00:00",
"ModifiedDateStartUtc": "2026-03-16T13:57:59.8658164+00:00",
"ModifiedDateEndUtc": "2026-03-16T13:57:59.8658164+00:00",
"PaymentDateStartUtc": "2026-03-16T13:57:59.8658164+00:00",
"PaymentDateEndUtc": "2026-03-16T13:57:59.8658164+00:00",
"SupplierIds": [
"6712d37d-d885-4040-a502-58516971d49a",
"17f21143-97cf-420a-8f41-f6a06e184923"
],
"VoucherId": 1,
"OrganisationId": "6386bd2b-c419-4871-bac4-276efdd36963",
"CentralMailerCampaignId": "1786b6b9-d0e4-4647-992c-23de1eca9515",
"OrgIds": [
"8f29a81a-a6e2-4c83-8af4-ca0a608499f6",
"0967abde-d840-4946-8772-e03fd1d1b96e"
]
}
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>1786b6b9-d0e4-4647-992c-23de1eca9515</CentralMailerCampaignId>
<Completed>true</Completed>
<CreationDateEndUtc>2026-03-16T13:57:59.8658164+00:00</CreationDateEndUtc>
<CreationDateStartUtc>2026-03-16T13:57:59.8658164+00:00</CreationDateStartUtc>
<Id>530827e8-a90e-44f8-a432-e38ff8b1088c</Id>
<IsTemporary>true</IsTemporary>
<ModifiedDateEndUtc>2026-03-16T13:57:59.8658164+00:00</ModifiedDateEndUtc>
<ModifiedDateStartUtc>2026-03-16T13:57:59.8658164+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>8f29a81a-a6e2-4c83-8af4-ca0a608499f6</d2p1:guid>
<d2p1:guid>0967abde-d840-4946-8772-e03fd1d1b96e</d2p1:guid>
</OrgIds>
<OrganisationId>6386bd2b-c419-4871-bac4-276efdd36963</OrganisationId>
<PaymentDateEndUtc>2026-03-16T13:57:59.8658164+00:00</PaymentDateEndUtc>
<PaymentDateStartUtc>2026-03-16T13:57:59.8658164+00:00</PaymentDateStartUtc>
<SearchQuery>sample string 2</SearchQuery>
<SupplierIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>6712d37d-d885-4040-a502-58516971d49a</d2p1:guid>
<d2p1:guid>17f21143-97cf-420a-8f41-f6a06e184923</d2p1:guid>
</SupplierIds>
<TenantId>b2b87397-2a96-4fc0-9bda-4bb6293d444a</TenantId>
<UserId>85cb1f5e-8846-4fc4-8fa5-5b5609c59fe8</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.