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": "647b612d-6faa-46af-8fed-d146859bf78e",
"toPersonIds": [
"282f2542-7915-4a9f-8129-8aa5a828d39e",
"26937ab6-9240-41d3-aba2-3277fc43caf2"
],
"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": [
"00505b60-7309-4a7e-a70a-74334f9e3426",
"b1352bde-327f-4577-ae57-f08eac0a80fe"
],
"filterMaxCount": 9,
"filterNoOrderInDays": 10,
"filterNoCampaignInDays": 11,
"filterMustNotBeStopped": true,
"filterOrderOnProducts": [
"191b0dd5-c029-4a75-81cd-e21fe204982d",
"0fcbbe2a-184e-4271-9c5d-69a75eb75a4a"
],
"filterOrderOnCampaigns": [
"74bfdce8-a52b-40ed-89ec-b706bdda6ef0",
"2ebe4eba-0840-4a88-a9ff-bc093e796963"
],
"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": "2025-12-30T23:42:05.0760884+01:00",
"updatedTo": "2025-12-30T23:42:05.0760884+01:00",
"lastBuyFrom": "2025-12-30T23:42:05.0760884+01:00",
"lastBuyTo": "2025-12-30T23:42:05.0760884+01:00",
"inActiveCampaign": true,
"recentlyBought": true,
"sortBy": "sample string 12",
"esecoCustomerNumber": "sample string 13",
"personalNumber": "sample string 14",
"products": {
"products": [
"bedb6b87-45a5-4cf7-ad14-171b64617383",
"2b32172a-b877-49fb-a727-8932e7f414dc"
],
"not": true,
"from": "2025-12-30T23:42:05.0760884+01:00",
"to": "2025-12-30T23:42:05.0760884+01:00"
},
"campaigns": {
"campaigns": [
"4e1e5615-cdd4-4e69-b55a-ebadcceeed84",
"35ad9d41-fdeb-4d34-9b7d-1bd5b2eb088d"
],
"not": true,
"from": "2025-12-30T23:42:05.0760884+01:00",
"to": "2025-12-30T23:42:05.0760884+01: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": [
"32eafbc9-9eaa-408c-9c64-dda8d6b2705e",
"15858034-cfb3-4757-ad33-34266e968abf"
],
"products": [
"25acca9c-33cf-4e6e-8df6-f456f6d062c5",
"11ad34da-e412-40b4-9d4f-507022ea3c50"
],
"campaigns": [
"2c9320a7-265a-41bb-ac97-3bad35a9c83b",
"5818eda0-7666-46a5-84d8-37e90d117ede"
],
"notReceivedMarketingInDays": 7,
"notPutOrderInDays": 8
}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.