POST api/campaigns/preview/count
Request Information
URI Parameters
None.
Body Parameters
CampaignPreviewDto| Name | Description | Type | Additional information |
|---|---|---|---|
| CampaignId | globally unique identifier |
None. |
|
| ToPersonIds | Collection of globally unique identifier |
None. |
|
| IsNewPerson | boolean |
None. |
|
| string |
None. |
||
| Telephone | string |
None. |
|
| Firstname | string |
None. |
|
| Lastname | string |
None. |
|
| Address | string |
None. |
|
| Postcode | string |
None. |
|
| City | string |
None. |
|
| ProductIds | Collection of string |
None. |
|
| FilterIds | Collection of globally unique identifier |
None. |
|
| FilterMaxCount | integer |
None. |
|
| FilterNoOrderInDays | integer |
None. |
|
| FilterNoCampaignInDays | integer |
None. |
|
| FilterMustNotBeStopped | boolean |
None. |
|
| FilterOrderOnProducts | Collection of globally unique identifier |
None. |
|
| FilterOrderOnCampaigns | Collection of globally unique identifier |
None. |
|
| DestinationType | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"campaignId": "1da4b66e-fa9c-4efc-98b4-f75fcb9e4d1f",
"toPersonIds": [
"ea1430b9-cc32-4b74-bcc7-2783a75de422",
"1e15b064-d260-4c52-92a5-a66cfbfdf221"
],
"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": [
"1843b710-c672-492f-9c08-c6e61f69fa18",
"72e46ce3-8928-4f1a-9d4d-4fcc292df707"
],
"filterMaxCount": 9,
"filterNoOrderInDays": 10,
"filterNoCampaignInDays": 11,
"filterMustNotBeStopped": true,
"filterOrderOnProducts": [
"0aefad0d-e51b-4665-b941-90a6618f239f",
"d8102630-cdb2-40e8-8e0b-cd260edcb46a"
],
"filterOrderOnCampaigns": [
"d06d3c78-1aca-439e-99e6-da390ea028b0",
"53eacad7-5088-4fe6-b0bb-ebf8608388df"
],
"destinationType": "sample string 13"
}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.