POST api/campaigns/preview

Request Information

URI Parameters

None.

Body Parameters

CampaignPreviewDto
NameDescriptionTypeAdditional information
CampaignId

globally unique identifier

None.

ToPersonIds

Collection of globally unique identifier

None.

IsNewPerson

boolean

None.

Email

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": "13591e29-cd73-4029-9aa4-ab3da448c6c8",
  "toPersonIds": [
    "be8cf725-71d9-462d-88f5-351e94d02328",
    "189f879c-a180-4c7c-9fbe-8581b0356ee7"
  ],
  "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": [
    "c5a029fc-729e-48bf-997c-17af571b4738",
    "89d6f14f-0271-4daa-84b5-f254af65dfa8"
  ],
  "filterMaxCount": 9,
  "filterNoOrderInDays": 10,
  "filterNoCampaignInDays": 11,
  "filterMustNotBeStopped": true,
  "filterOrderOnProducts": [
    "507f443e-e738-48fa-abee-eb03d6fff692",
    "a307e0fa-f836-4b4d-a87a-95fcdca0e9dc"
  ],
  "filterOrderOnCampaigns": [
    "815a75f0-31ba-4dd3-b9a0-bb3e3581a5ae",
    "825b1252-2359-4ec3-86d6-75f6a96c694f"
  ],
  "destinationType": "sample string 13"
}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.