Feature Pack 4Feature Pack 5Feature Pack 6

Get e-Marketing Spot data for a product

The following example shows how to get e-Marketing Spot data for a product.

Request


GET /wcs/resources/store/10101/espot/FurnitureRecommendedProducts/product/10251 HTTP/1.1
Host: wcstestserver.raleigh.ibm.com
Content-Type: application/json

Response


HTTP/1.1 200 OK
Content-Type: application/json

{
   "MarketingSpotData": [
		{
			"baseMarketingSpotActivityData": [
				{
					"activityFormat": "web",
					"activityIdentifierID": "10038",
					"activityIdentifierName": "Product page recommended products",
					"activityPriority": "1",
					......
				}
			],
			"eSpotName": "urnitureRecommendedProducts",
			"marketingSpotIdentifier": "10978"
		}
	],
	"resourceId": "http:\/\/wcstestserver.raleigh.ibm.com\/wcs\/resources\/store\/10101\/espot\/FurnitureRecommendedProducts\/product\/10251",
	"resourceName": "espot"
}