Feature Pack 7

Get Spots for a type with a name

The following example shows how to get Spots for a type with a name.

Request


GET /wcs/resources/store/10101/spot?q=byTypeAndName%26qType=MARKETING%26qName=DressDesigner%26pageNumber=0%26pageSize=8 HTTP/1.1
Host: testserver.mycompany.com
Content-Type: application/json

Response


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

{
	"MarketingSpot": [
		{
			"description": "Display the main ad on About Dress Designer page",
			"spotId": "10623",
			"spotName": "AboutDressDesignerPageMainAd",
			"usage": "MARKETING"
		}
	],
	"recordSetComplete": "true",
	"recordSetCount": "1",
	"recordSetStartNumber": "0",
	"recordSetTotal": "1",
	"resourceId": "https:\/\/testserver.mycompany.com\/wcs\/resources\/store\/10001\/spot",
	"resourceName": "spot"
}