POST api/campaigns/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": "c0d29713-3d4b-4284-8d9f-1c12a6d9d035",
"Name": "sample string 1",
"TenantId": "e14a91ac-a613-4d85-b6ee-65ca2354c61e",
"UserId": "7c1a34d7-cb68-4846-8785-90e244566b93",
"SearchQuery": "sample string 2",
"IsTemporary": true,
"Completed": true,
"OrderStatus": "sample string 3",
"UserJourney": "sample string 4",
"CreationDateStartUtc": "2026-10-23T13:19:00.6035971+00:00",
"CreationDateEndUtc": "2026-10-23T13:19:00.6035971+00:00",
"ModifiedDateStartUtc": "2026-10-23T13:19:00.6035971+00:00",
"ModifiedDateEndUtc": "2026-10-23T13:19:00.6035971+00:00",
"PaymentDateStartUtc": "2026-10-23T13:19:00.6035971+00:00",
"PaymentDateEndUtc": "2026-10-23T13:19:00.6035971+00:00",
"SupplierIds": [
"6336ed8b-3da8-4cf3-a9ec-265bb29da1c3",
"6cbdec3f-42a8-4034-b6ff-ced25c2927e5"
],
"VoucherId": 1,
"OrganisationId": "6b25218e-c896-48a5-bc12-8844cc811821",
"CentralMailerCampaignId": "58a9d8d0-63d6-4551-b98e-6a3437988196",
"OrgIds": [
"e8f10874-eec0-48fb-b27d-bdd6bac77f77",
"b91c6ee7-74a6-4de5-b9ca-066918dbb6cc"
]
}
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>58a9d8d0-63d6-4551-b98e-6a3437988196</CentralMailerCampaignId>
<Completed>true</Completed>
<CreationDateEndUtc>2026-10-23T13:19:00.6035971+00:00</CreationDateEndUtc>
<CreationDateStartUtc>2026-10-23T13:19:00.6035971+00:00</CreationDateStartUtc>
<Id>c0d29713-3d4b-4284-8d9f-1c12a6d9d035</Id>
<IsTemporary>true</IsTemporary>
<ModifiedDateEndUtc>2026-10-23T13:19:00.6035971+00:00</ModifiedDateEndUtc>
<ModifiedDateStartUtc>2026-10-23T13:19:00.6035971+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>e8f10874-eec0-48fb-b27d-bdd6bac77f77</d2p1:guid>
<d2p1:guid>b91c6ee7-74a6-4de5-b9ca-066918dbb6cc</d2p1:guid>
</OrgIds>
<OrganisationId>6b25218e-c896-48a5-bc12-8844cc811821</OrganisationId>
<PaymentDateEndUtc>2026-10-23T13:19:00.6035971+00:00</PaymentDateEndUtc>
<PaymentDateStartUtc>2026-10-23T13:19:00.6035971+00:00</PaymentDateStartUtc>
<SearchQuery>sample string 2</SearchQuery>
<SupplierIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>6336ed8b-3da8-4cf3-a9ec-265bb29da1c3</d2p1:guid>
<d2p1:guid>6cbdec3f-42a8-4034-b6ff-ced25c2927e5</d2p1:guid>
</SupplierIds>
<TenantId>e14a91ac-a613-4d85-b6ee-65ca2354c61e</TenantId>
<UserId>7c1a34d7-cb68-4846-8785-90e244566b93</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.