POST api/prospects/search
Request Information
URI Parameters
None.
Body Parameters
ProspectSearchDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Prospect | CampaignPreviewDto |
None. |
|
| Person | PersonSearchDto |
None. |
|
| Skip | integer |
None. |
|
| Take | integer |
None. |
|
| SortOrder | string |
None. |
|
| IsNotStopped | boolean |
None. |
|
| HasNoFailedTelephone | boolean |
None. |
|
| HasNoFailedEmail | boolean |
None. |
|
| OrFilters | Collection of globally unique identifier |
None. |
|
| Products | Collection of globally unique identifier |
None. |
|
| Campaigns | Collection of globally unique identifier |
None. |
|
| NotReceivedMarketingInDays | integer |
None. |
|
| NotPutOrderInDays | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"prospect": {
"campaignId": "7715ca31-af6e-4f79-9e85-277c7c224fd8",
"toPersonIds": [
"663aa489-80aa-4aaa-8c17-07b9c707849a",
"e9e5925c-92df-4a73-b946-ff9cfcfea67f"
],
"isNewPerson": true,
"email": "sample string 2",
"telephone": "sample string 3",
"firstname": "sample string 4",
"lastname": "sample string 5",
"address": "sample string 6",
"postcode": "sample string 7",
"city": "sample string 8",
"productIds": [
"sample string 1",
"sample string 2"
],
"filterIds": [
"520b2239-a6c7-47c7-b8ab-c154851c7c7b",
"45e117ed-a124-4405-953c-ee002009a4ef"
],
"filterMaxCount": 9,
"filterNoOrderInDays": 10,
"filterNoCampaignInDays": 11,
"filterMustNotBeStopped": true,
"filterOrderOnProducts": [
"d56a5c1d-9719-4854-b007-2e64fc145e37",
"086551df-c3ae-4dc8-9dd4-0ccc8b6c97cb"
],
"filterOrderOnCampaigns": [
"58680894-15fd-43d1-b118-c1356d4d981b",
"f02d7de2-d48b-4dcb-828d-409bd9227cdf"
],
"destinationType": "sample string 13"
},
"person": {
"name": "sample string 1",
"firstname": "sample string 2",
"lastname": "sample string 3",
"address": "sample string 4",
"postcode": "sample string 5",
"city": "sample string 6",
"country": "sample string 7",
"shortUnique": "sample string 8",
"email": "sample string 9",
"telephone": "sample string 10",
"inCampaign": "sample string 11",
"updatedFrom": "2026-09-08T03:13:52.9498257+02:00",
"updatedTo": "2026-09-08T03:13:52.9498257+02:00",
"lastBuyFrom": "2026-09-08T03:13:52.9498257+02:00",
"lastBuyTo": "2026-09-08T03:13:52.9498257+02:00",
"inActiveCampaign": true,
"recentlyBought": true,
"sortBy": "sample string 12",
"esecoCustomerNumber": "sample string 13",
"personalNumber": "sample string 14",
"products": {
"products": [
"e2d01cf0-af85-4049-b781-3f8fa6012351",
"e6518f79-6fd7-4a41-89fa-20bac2926f30"
],
"not": true,
"from": "2026-09-08T03:13:52.9498257+02:00",
"to": "2026-09-08T03:13:52.9498257+02:00"
},
"campaigns": {
"campaigns": [
"e2fd96d5-1101-4fae-86d9-20ecacb8d49c",
"2274a84f-2b1b-4443-a3ec-7ca54094fe7a"
],
"not": true,
"from": "2026-09-08T03:13:52.9498257+02:00",
"to": "2026-09-08T03:13:52.9498257+02:00"
},
"isStop": true,
"isDiseased": true,
"isFailedEmail": true,
"isFailedSms": true,
"searchOnlyPersons": true,
"tag": "sample string 15"
},
"skip": 1,
"take": 2,
"sortOrder": "sample string 3",
"isNotStopped": true,
"hasNoFailedTelephone": true,
"hasNoFailedEmail": true,
"orFilters": [
"d021318f-f979-47bc-8fad-b34051aaf74c",
"ab6e29e5-699e-469e-8241-d8dff5cc0682"
],
"products": [
"80aea495-f4bb-4d8d-85e9-b68c7fa40cc4",
"d5cd6967-8723-4141-be77-67082a3cebc4"
],
"campaigns": [
"8ff0487d-0609-4038-a8ea-d49cc96f42fe",
"bb75bb1d-dceb-4678-b2c0-fee96b1d5c24"
],
"notReceivedMarketingInDays": 7,
"notPutOrderInDays": 8
}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.