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": "72dfd3e5-64a3-4606-873c-ffd7d5cd2cef",
"Name": "sample string 1",
"TenantId": "0bb55e7b-80f7-41ff-89b0-55c207046185",
"UserId": "55bdc424-0f3e-48bf-828f-0c46cc183002",
"SearchQuery": "sample string 2",
"IsTemporary": true,
"Completed": true,
"OrderStatus": "sample string 3",
"UserJourney": "sample string 4",
"CreationDateStartUtc": "2026-10-23T12:48:16.456487+00:00",
"CreationDateEndUtc": "2026-10-23T12:48:16.456487+00:00",
"ModifiedDateStartUtc": "2026-10-23T12:48:16.456487+00:00",
"ModifiedDateEndUtc": "2026-10-23T12:48:16.456487+00:00",
"PaymentDateStartUtc": "2026-10-23T12:48:16.456487+00:00",
"PaymentDateEndUtc": "2026-10-23T12:48:16.456487+00:00",
"SupplierIds": [
"3b9fb110-f498-4b1c-83b9-1193bde077d1",
"90ef121a-c14c-40f7-acd4-f4d2570e4934"
],
"VoucherId": 1,
"OrganisationId": "fe30566a-ab31-453a-b789-b73c4987d160",
"CentralMailerCampaignId": "3a606773-9d59-45e5-8294-d19935b56001",
"OrgIds": [
"6dc707e4-82af-41f8-9c47-8f6f22f9759d",
"3b41a1b6-d79c-4fa8-8b2f-84bbc6800b17"
]
}
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>3a606773-9d59-45e5-8294-d19935b56001</CentralMailerCampaignId>
<Completed>true</Completed>
<CreationDateEndUtc>2026-10-23T12:48:16.456487+00:00</CreationDateEndUtc>
<CreationDateStartUtc>2026-10-23T12:48:16.456487+00:00</CreationDateStartUtc>
<Id>72dfd3e5-64a3-4606-873c-ffd7d5cd2cef</Id>
<IsTemporary>true</IsTemporary>
<ModifiedDateEndUtc>2026-10-23T12:48:16.456487+00:00</ModifiedDateEndUtc>
<ModifiedDateStartUtc>2026-10-23T12:48:16.456487+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>6dc707e4-82af-41f8-9c47-8f6f22f9759d</d2p1:guid>
<d2p1:guid>3b41a1b6-d79c-4fa8-8b2f-84bbc6800b17</d2p1:guid>
</OrgIds>
<OrganisationId>fe30566a-ab31-453a-b789-b73c4987d160</OrganisationId>
<PaymentDateEndUtc>2026-10-23T12:48:16.456487+00:00</PaymentDateEndUtc>
<PaymentDateStartUtc>2026-10-23T12:48:16.456487+00:00</PaymentDateStartUtc>
<SearchQuery>sample string 2</SearchQuery>
<SupplierIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>3b9fb110-f498-4b1c-83b9-1193bde077d1</d2p1:guid>
<d2p1:guid>90ef121a-c14c-40f7-acd4-f4d2570e4934</d2p1:guid>
</SupplierIds>
<TenantId>0bb55e7b-80f7-41ff-89b0-55c207046185</TenantId>
<UserId>55bdc424-0f3e-48bf-828f-0c46cc183002</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.