Feature Pack 4Feature Pack 5Feature Pack 6

Get physical store locations information by store unique ID

The following example shows how to get physical store locations information by store unique ID.

Request


GET /wcs/resources/store/10101/storelocator/byStoreId/10003 HTTP/1.1
Host: wcstestserver.raleigh.ibm.com
Content-Type: application/json

Response


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

{
	"PhysicalStore": [
		{
			"Attribute": [
				{
					"displayName": "Store hours",
					"displayValue": "Mon-Fri: 10am - 9pm<br \/>Sat: 9am - 7pm<br \/>Sun: 11am - 6pm<br \/>",
					"name": "StoreHours",
					"value": "Mon-Fri: 10am - 9pm<br \/>Sat: 9am - 7pm<br \/>Sun: 11am - 6pm<br \/>"
				},
				{
					"displayName": "Beauty center",
					"displayValue": "true",
					"name": "BeautyCenter",
					"value": "true"
				},
				{
					"displayName": "Cappuccino bar",
					"displayValue": "true",
					"name": "CappuccinoBar",
					"value": "true"
				},
				{
					"displayName": "Type",
					"displayValue": "Regular Store",
					"name": "Type",
					"value": "Regular Store"
				}
			],
			"Description": [
				{
					"displayStoreName": "Markham Centre"
				}
			],
			"addressLine": [
				"8200 Warden Ave"
			],
			"city": "Markham",
			"country": "Canada",
			"distance": "0.0",
			"latitude": "43.84600",
			"longitude": "-79.33200",
			"postalCode": "L6G 1C7                                 ",
			"stateOrProvinceName": "Ontario",
			"storeName": "Markham Centre",
			"telephone1": "905.413.5555                    ",
			"uniqueID": "10003"
		},
		{
			"Attribute": [
				{
					"displayName": "Store hours",
					"displayValue": "Mon-Fri: 10am - 9pm<br \/>Sat: 9am - 7pm<br \/>Sun: 11am - 6pm<br \/>",
					"name": "StoreHours",
					"value": "Mon-Fri: 10am - 9pm<br \/>Sat: 9am - 7pm<br \/>Sun: 11am - 6pm<br \/>"
				},
				{
					"displayName": "Beauty center",
					"displayValue": "true",
					"name": "BeautyCenter",
					"value": "true"
				},
				{
					"displayName": "Cappuccino bar",
					"displayValue": "true",
					"name": "CappuccinoBar",
					"value": "true"
				},
				{
					"displayName": "Sushi restaurant",
					"displayValue": "true",
					"name": "SushiRestaurant",
					"value": "true"
				},
				{
					"displayName": "Type",
					"displayValue": "Regular Store",
					"name": "Type",
					"value": "Regular Store"
				}
			],
			"Description": [
				{
					"displayStoreName": "Warden Plaza"
				}
			],
			"addressLine": [
				"8250 Warden Ave"
			],
			"city": "Markham",
			"country": "Canada",
			"distance": "0.5613753460124988",
			"latitude": "43.85100",
			"longitude": "-79.33300",
			"postalCode": "L6G 1C7                                 ",
			"stateOrProvinceName": "Ontario",
			"storeName": "Warden Plaza",
			"telephone1": "905.326.8647                    ",
			"uniqueID": "10039"
		},
		{
			"Attribute": [
				{
					"displayName": "Store hours",
					"displayValue": "Mon-Fri: 10am - 9pm<br \/>Sat: 9am - 7pm<br \/>Sun: 11am - 6pm<br \/>",
					"name": "StoreHours",
					"value": "Mon-Fri: 10am - 9pm<br \/>Sat: 9am - 7pm<br \/>Sun: 11am - 6pm<br \/>"
				},
				{
					"displayName": "Designer studio",
					"displayValue": "true",
					"name": "DesignerStudio",
					"value": "true"
				},
				{
					"displayName": "Cappuccino bar",
					"displayValue": "true",
					"name": "CappuccinoBar",
					"value": "true"
				},
				{
					"displayName": "Beauty center",
					"displayValue": "true",
					"name": "BeautyCenter",
					"value": "true"
				},
				{
					"displayName": "Sushi restaurant",
					"displayValue": "true",
					"name": "SushiRestaurant",
					"value": "true"
				},
				{
					"displayName": "Type",
					"displayValue": "Regular Store",
					"name": "Type",
					"value": "Regular Store"
				}
			],
			"Description": [
				{
					"displayStoreName": "Alton Towers Plaza"
				}
			],
			"addressLine": [
				"250 Alton Towers Circle"
			],
			"city": "Toronto",
			"country": "Canada",
			"distance": "4.937179819134099",
			"latitude": "43.82600",
			"longitude": "-79.27700",
			"postalCode": "M1V 3Z4                                 ",
			"stateOrProvinceName": "Ontario",
			"storeName": "Alton Towers Plaza",
			"telephone1": "416.326.8647                    ",
			"uniqueID": "10042"
		},
		{
			"Attribute": [
				{
					"displayName": "Store hours",
					"displayValue": "Mon-Fri: 10am - 9pm<br \/>Sat: 9am - 7pm<br \/>Sun: 11am - 6pm<br \/>",
					"name": "StoreHours",
					"value": "Mon-Fri: 10am - 9pm<br \/>Sat: 9am - 7pm<br \/>Sun: 11am - 6pm<br \/>"
				},
				{
					"displayName": "Designer studio",
					"displayValue": "true",
					"name": "DesignerStudio",
					"value": "true"
				},
				{
					"displayName": "Type",
					"displayValue": "Express Store",
					"name": "Type",
					"value": "Express Store"
				}
			],
			"Description": [
				{
					"displayStoreName": "Markville Mall"
				}
			],
			"addressLine": [
				"8000 McCowan Rd"
			],
			"city": "Markham",
			"country": "Canada",
			"distance": "5.844227774861032",
			"latitude": "43.88900",
			"longitude": "-79.29000",
			"postalCode": "L3P 3J3                                 ",
			"stateOrProvinceName": "Ontario",
			"storeName": "Markville Mall",
			"telephone1": "905.416.6666                    ",
			"uniqueID": "10004"
		},
		{
			"Attribute": [
				{
					"displayName": "Store hours",
					"displayValue": "Mon-Fri: 10am - 9pm<br \/>Sat: 9am - 7pm<br \/>Sun: 11am - 6pm<br \/>",
					"name": "StoreHours",
					"value": "Mon-Fri: 10am - 9pm<br \/>Sat: 9am - 7pm<br \/>Sun: 11am - 6pm<br \/>"
				},
				{
					"displayName": "Beauty center",
					"displayValue": "true",
					"name": "BeautyCenter",
					"value": "true"
				},
				{
					"displayName": "Sushi restaurant",
					"displayValue": "true",
					"name": "SushiRestaurant",
					"value": "true"
				},
				{
					"displayName": "Type",
					"displayValue": "Express Store",
					"name": "Type",
					"value": "Express Store"
				}
			],
			"Description": [
				{
					"displayStoreName": "Borough Plaza"
				}
			],
			"addressLine": [
				"300 Borough Drive"
			],
			"city": "Toronto",
			"country": "Canada",
			"distance": "10.018872275746467",
			"latitude": "43.77500",
			"longitude": "-79.25500",
			"postalCode": "M1P 4P5                                 ",
			"stateOrProvinceName": "Ontario",
			"storeName": "Borough Plaza",
			"telephone1": "416.134.5467                    ",
			"uniqueID": "10044"
		},
		{
			"Attribute": [
				{
					"displayName": "Store hours",
					"displayValue": "Mon-Fri: 10am - 9pm<br \/>Sat: 9am - 7pm<br \/>Sun: 11am - 6pm<br \/>",
					"name": "StoreHours",
					"value": "Mon-Fri: 10am - 9pm<br \/>Sat: 9am - 7pm<br \/>Sun: 11am - 6pm<br \/>"
				},
				{
					"displayName": "Cappuccino bar",
					"displayValue": "true",
					"name": "CappuccinoBar",
					"value": "true"
				},
				{
					"displayName": "Designer studio",
					"displayValue": "true",
					"name": "DesignerStudio",
					"value": "true"
				},
				{
					"displayName": "Type",
					"displayValue": "Express Store",
					"name": "Type",
					"value": "Express Store"
				}
			],
			"Description": [
				{
					"displayStoreName": "Yorkdale Centre"
				}
			],
			"addressLine": [
				"3401 Dufferin Street"
			],
			"city": "North York",
			"country": "Canada",
			"distance": "12.606836206781",
			"latitude": "43.75200",
			"longitude": "-79.42000",
			"postalCode": "M2N 1A1                                 ",
			"stateOrProvinceName": "Ontario",
			"storeName": "Yorkdale Centre",
			"telephone1": "905.411.1278                    ",
			"uniqueID": "10002"
		}
	],
	"resourceName": "storelocator",
 	"resourceId":"http:\/\/wcstestserver.raleigh.ibm.com\/wcs\/resources\/store\/10101\/storelocator\/byStoreId\/10003"
}