Feature Pack 4Feature Pack 5Feature Pack 6

Trigger a marketing event

The following example shows how to trigger a marketing event.

Request


POST /wcs/resources/store/10101/event? HTTPS/1.1
Host: wcstestserver.raleigh.ibm.com
Content-Type: application/json

{
   "productId": "10251",
   "personalizationID": "1320436510481-2",
   "eMarketingSpotId" : "10104",
   "activityId" : "10004",
   "experimentResultId" : "xxx",
   "experimentResultTestElementId" : "xxx",
   "baseMarketingSpotDataType" : "MarketingContent",
   "baseMarketingSpotActivityID" : "10209" 
}

Response


HTTPS/1.1 200 Created
Content-Type: application/json