Feature Pack 4Feature Pack 5Feature Pack 6

Get physical store locations information by geo node unique ID

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

Request


GET /wcs/resources/store/10101/storelocator/byGeoNode/10065 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": "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"
				},
				{
					"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 \/>"
				}
			],
			"Description": [
				{
					"displayStoreName": "Markham Centre"
				}
			],
			"addressLine": [
				"8200 Warden Ave"
			],
			"city": "Markham",
			"country": "Canada",
			"latitude": "43.84600",
			"longitude": "-79.33200",
			"postalCode": "L6G 1C7                                 ",
			"stateOrProvinceName": "Ontario",
			"storeName": "Markham Centre",
			"telephone1": "905.413.5555                    ",
			"uniqueID": "10003"
		},
		{
			"Attribute": [
				{
					"displayName": "Designer studio",
					"displayValue": "true",
					"name": "DesignerStudio",
					"value": "true"
				},
				{
					"displayName": "Type",
					"displayValue": "Express Store",
					"name": "Type",
					"value": "Express Store"
				},
				{
					"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 \/>"
				}
			],
			"Description": [
				{
					"displayStoreName": "Markville Mall"
				}
			],
			"addressLine": [
				"8000 McCowan Rd"
			],
			"city": "Markham",
			"country": "Canada",
			"latitude": "43.88900",
			"longitude": "-79.29000",
			"postalCode": "L3P 3J3                                 ",
			"stateOrProvinceName": "Ontario",
			"storeName": "Markville Mall",
			"telephone1": "905.416.6666                    ",
			"uniqueID": "10004"
		},
		{
			"Attribute": [
				{
					"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"
				},
				{
					"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 \/>"
				}
			],
			"Description": [
				{
					"displayStoreName": "Warden Plaza"
				}
			],
			"addressLine": [
				"8250 Warden Ave"
			],
			"city": "Markham",
			"country": "Canada",
			"latitude": "43.85100",
			"longitude": "-79.33300",
			"postalCode": "L6G 1C7                                 ",
			"stateOrProvinceName": "Ontario",
			"storeName": "Warden Plaza",
			"telephone1": "905.326.8647                    ",
			"uniqueID": "10039"
		}
	],
	"resourceName": "storelocator",
   	"resourceId":"http:\/\/wcstestserver.raleigh.ibm.com\/wcs\/resources\/store\/10101\/storelocator\/byGeoNode\/10065"
}