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": "e684c266-413a-4600-aa82-9a17cc25ecca",
"Name": "sample string 1",
"TenantId": "24e19b59-f0f8-4967-81bd-889383d755c7",
"UserId": "89bbb556-a26b-443f-ba4e-67b6b61830fe",
"SearchQuery": "sample string 2",
"IsTemporary": true,
"Completed": true,
"OrderStatus": "sample string 3",
"UserJourney": "sample string 4",
"CreationDateStartUtc": "2025-12-11T08:29:46.9450484+00:00",
"CreationDateEndUtc": "2025-12-11T08:29:46.9450484+00:00",
"ModifiedDateStartUtc": "2025-12-11T08:29:46.9450484+00:00",
"ModifiedDateEndUtc": "2025-12-11T08:29:46.9450484+00:00",
"PaymentDateStartUtc": "2025-12-11T08:29:46.9450484+00:00",
"PaymentDateEndUtc": "2025-12-11T08:29:46.9450484+00:00",
"SupplierIds": [
"41b46a29-815a-4d9e-b3fd-d79b4b6f3e7f",
"a7b8f98e-26a4-4fd9-94a5-f7de670457ee"
],
"VoucherId": 1,
"OrganisationId": "fded99bc-6fb4-4bef-8ff1-037c66f50529",
"CentralMailerCampaignId": "06b0b54c-d012-4998-913b-d981cbaf532e",
"OrgIds": [
"17931f7e-3a5f-4f52-bede-841471a77ed2",
"d8069da8-361d-4e36-b5bd-12bbe8258096"
]
}
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>06b0b54c-d012-4998-913b-d981cbaf532e</CentralMailerCampaignId>
<Completed>true</Completed>
<CreationDateEndUtc>2025-12-11T08:29:46.9450484+00:00</CreationDateEndUtc>
<CreationDateStartUtc>2025-12-11T08:29:46.9450484+00:00</CreationDateStartUtc>
<Id>e684c266-413a-4600-aa82-9a17cc25ecca</Id>
<IsTemporary>true</IsTemporary>
<ModifiedDateEndUtc>2025-12-11T08:29:46.9450484+00:00</ModifiedDateEndUtc>
<ModifiedDateStartUtc>2025-12-11T08:29:46.9450484+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>17931f7e-3a5f-4f52-bede-841471a77ed2</d2p1:guid>
<d2p1:guid>d8069da8-361d-4e36-b5bd-12bbe8258096</d2p1:guid>
</OrgIds>
<OrganisationId>fded99bc-6fb4-4bef-8ff1-037c66f50529</OrganisationId>
<PaymentDateEndUtc>2025-12-11T08:29:46.9450484+00:00</PaymentDateEndUtc>
<PaymentDateStartUtc>2025-12-11T08:29:46.9450484+00:00</PaymentDateStartUtc>
<SearchQuery>sample string 2</SearchQuery>
<SupplierIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>41b46a29-815a-4d9e-b3fd-d79b4b6f3e7f</d2p1:guid>
<d2p1:guid>a7b8f98e-26a4-4fd9-94a5-f7de670457ee</d2p1:guid>
</SupplierIds>
<TenantId>24e19b59-f0f8-4967-81bd-889383d755c7</TenantId>
<UserId>89bbb556-a26b-443f-ba4e-67b6b61830fe</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.