PUT api/prospects/campaigns
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": "5a0fddae-9f52-41a7-872a-e2f2f994a4ee",
"toPersonIds": [
"ef69f2ca-bc6e-4ab5-9e09-a3a5f17de012",
"83f68ee1-59fc-4fa6-887f-261ad053cc8e"
],
"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": [
"2b479255-fb4c-4e84-9abc-32bdfb94a277",
"4cbe50ee-cae2-406b-99c5-e24c8a04d83c"
],
"filterMaxCount": 9,
"filterNoOrderInDays": 10,
"filterNoCampaignInDays": 11,
"filterMustNotBeStopped": true,
"filterOrderOnProducts": [
"f9906458-0a65-445f-84e7-e54394b0b4c2",
"3aab2d2e-9b54-40d8-be8a-9f89b806048b"
],
"filterOrderOnCampaigns": [
"05b9718a-7d49-4eac-91ec-17c58e183559",
"3a98e1a5-cf40-43e4-8ecd-240da1575066"
],
"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.9611614+02:00",
"updatedTo": "2026-09-08T03:13:52.9611614+02:00",
"lastBuyFrom": "2026-09-08T03:13:52.9611614+02:00",
"lastBuyTo": "2026-09-08T03:13:52.9611614+02:00",
"inActiveCampaign": true,
"recentlyBought": true,
"sortBy": "sample string 12",
"esecoCustomerNumber": "sample string 13",
"personalNumber": "sample string 14",
"products": {
"products": [
"a13138b2-786b-4405-b52f-5e1f0762c117",
"5d29c516-dd9b-4ea8-8c57-1bdb8765cd5b"
],
"not": true,
"from": "2026-09-08T03:13:52.9611614+02:00",
"to": "2026-09-08T03:13:52.9611614+02:00"
},
"campaigns": {
"campaigns": [
"f4ed2121-ae55-465e-afce-5fd432854447",
"93170ab8-9dab-4995-9526-21a981250493"
],
"not": true,
"from": "2026-09-08T03:13:52.9611614+02:00",
"to": "2026-09-08T03:13:52.9611614+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": [
"5c99771b-cf33-4fb9-8086-c2326a097ce2",
"55527fd5-8468-466e-bf44-74472e2e653c"
],
"products": [
"f43d9b12-df98-4a21-9c78-57126f765e83",
"24fa06a1-4b3b-4074-ad9c-76908ffc07bc"
],
"campaigns": [
"49ccea32-bd98-4c22-8142-53e78f34d2e0",
"c464d6c7-0e00-4731-8ae6-c43a1d204993"
],
"notReceivedMarketingInDays": 7,
"notPutOrderInDays": 8
}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.