Feature Pack 7

Get e-Marketing Spot data for a category

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

Request


GET /wcs/resources/store/10101/espot/CategoryPageRecommendations/category/10103 HTTP/1.1
Host: testserver.mycompany.com
Content-Type: application/json

Response


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

{
	"MarketingSpotData": [
		{
			"baseMarketingSpotActivityData": [
				{
					"activityFormat": "web",
					"activityIdentifierID": "10018",
					"activityIdentifierName": "Category page recommended products",
					"activityPriority": "1",
					"attributes": [
						{
							"name": "rootDirectory",
							"stringValue": "Madisons"
						},
						{
							"name": "displayTemplate",
							"stringValue": "ShoppingArea\/CatalogSection\/CatalogEntrySubsection\/ProductDisplay"
						}
					],
					"baseMarketingSpotActivityID": "10453",
					"baseMarketingSpotActivityName": "Gold Stainless Steel Coffee  Tumbler",
					"baseMarketingSpotDataType": "CatalogEntry",
					"catalogEntryTypeCode": "ProductBean",
					"contractPrice": [
						{
							"contractID": "10008",
							"contractPrice": "19.99",
							"currency": "USD",
							"majorVersionNumber": "1",
							"minimumQuantity": "1.0",
							"minorVersionNumber": "0",
							"name": "Madisons Default Contract",
							"origin": "0",
							"ownerID": "7000000000000000101"
						}
					],
					"description": [
						{
							"fullImage": "images\/catalog\/kitchenware\/kitchenware_160x160\/ac_17.jpg",
							"longDescription": "The perfect stainless coffee travel tumbler for early morning when you are on your way to work.",
							"productName": "Gold Stainless Steel Coffee  Tumbler",
							"shortDescription": "Stainless coffee travel tumbler.",
							"thumbnail": "images\/catalog\/kitchenware\/kitchenware_70x70\/ac_17.jpg"
						}
					],
					"listPrice": "19.99",
					"listPriceCurrency": "USD",
					"productId": "10453",
					"productPartNumber": "AC_17",
					"properties": [
						{
							"baseMarketingKey": "mktActivityDescription",
							"baseMarketingValue": "Recommend a product to a customer that satisfies the chosen target conditions."
						}
					],
					"standardPrice": "19.99",
					"standardPriceCurrency": "USD"
				},
				{
					"activityFormat": "web",
					"activityIdentifierID": "10018",
					"activityIdentifierName": "Category page recommended products",
					"activityPriority": "1",
					"attributes": [
						{
							"name": "rootDirectory",
							"stringValue": "Madisons"
						},
						{
							"name": "displayTemplate",
							"stringValue": "ShoppingArea\/CatalogSection\/CatalogEntrySubsection\/ProductDisplay"
						}
					],
					"baseMarketingSpotActivityID": "10419",
					"baseMarketingSpotActivityName": "Digital 12 cup Coffee Maker, Blue",
					"baseMarketingSpotDataType": "CatalogEntry",
					"catalogEntryTypeCode": "ProductBean",
					"contractPrice": [
						{
							"contractID": "10008",
							"contractPrice": "99.99",
							"currency": "USD",
							"majorVersionNumber": "1",
							"minimumQuantity": "1.0",
							"minorVersionNumber": "0",
							"name": "Madisons Default Contract",
							"origin": "0",
							"ownerID": "7000000000000000101"
						}
					],
					"description": [
						{
							"fullImage": "images\/catalog\/kitchenware\/kitchenware_160x160\/cm_11.jpg",
							"longDescription": "This blue stainless steel coffee maker will compliment any modern kitchen. A drip-free carafe and auto pause and serve make it perfect for your busy lifestyle. <br \/><li>Kitchen's Best creates a unique look, with durable brushed stainless steel, smooth curves, and an innovative and elegant control panel.  <\/li><li>A charcoal water filter blocks impurities that can alter the taste of coffee. <\/li><li>Includes an on\/off switch, auto-on 24-hour advance brew start, programmable auto shutoff <\/li>",
							"productName": "Digital 12 cup Coffee Maker, Blue",
							"shortDescription": "This blue stainless steel coffee maker will compliment any modern kitchen.",
							"thumbnail": "images\/catalog\/kitchenware\/kitchenware_70x70\/cm_11.jpg"
						}
					],
					"listPrice": "99.99",
					"listPriceCurrency": "USD",
					"productId": "10419",
					"productPartNumber": "KB-04B",
					"properties": [
						{
							"baseMarketingKey": "mktActivityDescription",
							"baseMarketingValue": "Recommend a product to a customer that satisfies the chosen target conditions."
						}
					],
					"standardPrice": "99.99",
					"standardPriceCurrency": "USD"
				},
				{
					"activityFormat": "web",
					"activityIdentifierID": "10018",
					"activityIdentifierName": "Category page recommended products",
					"activityPriority": "1",
					"attributes": [
						{
							"name": "rootDirectory",
							"stringValue": "Madisons"
						},
						{
							"name": "displayTemplate",
							"stringValue": "ShoppingArea\/CatalogSection\/CatalogEntrySubsection\/ProductDisplay"
						}
					],
					"baseMarketingSpotActivityID": "10397",
					"baseMarketingSpotActivityName": "Enzi Espresso Machine, Red",
					"baseMarketingSpotDataType": "CatalogEntry",
					"catalogEntryTypeCode": "ProductBean",
					"contractPrice": [
						{
							"contractID": "10008",
							"contractPrice": "179.99",
							"currency": "USD",
							"majorVersionNumber": "1",
							"minimumQuantity": "1.0",
							"minorVersionNumber": "0",
							"name": "Madisons Default Contract",
							"origin": "0",
							"ownerID": "7000000000000000101"
						}
					],
					"description": [
						{
							"fullImage": "images\/catalog\/kitchenware\/kitchenware_160x160\/cm_14.jpg",
							"longDescription": "A classy looking machine, the red stainless steel Pump Espresso creates rich espressos with an Italian style creme on top, brewed up by its powerful 15 bar pump pressure.<br \/><li>Pump cappuccino nozzle <\/li><li>LED temperature display <\/li><li>Permanent stainless steel filter <\/li><li>Removable water tank for easy filling <\/li><li>Removable drip tray <\/li>",
							"productName": "Enzi Espresso Machine, Red",
							"shortDescription": "A classy looking, red stainless steel Pump Espresso machine.",
							"thumbnail": "images\/catalog\/kitchenware\/kitchenware_70x70\/cm_14.jpg"
						}
					],
					"listPrice": "179.99",
					"listPriceCurrency": "USD",
					"productId": "10397",
					"productPartNumber": "EI-01R",
					"properties": [
						{
							"baseMarketingKey": "mktActivityDescription",
							"baseMarketingValue": "Recommend a product to a customer that satisfies the chosen target conditions."
						}
					],
					"standardPrice": "179.99",
					"standardPriceCurrency": "USD"
				}
			],
			"behavior": "1",
			"eSpotName": "CategoryPageRecommendations",
			"marketingSpotIdentifier": "10156",
			"nextTimeLimit": "-1"
		}
	],
	"resourceId": "http:\/\/testserver.mycompany.com\/wcs\/resources\/store\/10101\/espot\/CategoryPageRecommendations\/category\/10103",
	"resourceName": "espot"
}