Feature Pack 4Feature Pack 5Feature Pack 6

get points of interest by status

The following example shows how to get points of interest by status.

Request


GET /wcs/resources/lbs/store/10101/pointsOfInterest/byProximity?latitude=43.0&longitude=-79.0&radius=80000.0&poiType=Store HTTP/1.1
Host: myserver.mycompany.com
Content-Type: application/json

Response


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

{
	"PointOfInterest": [
		{
			"altitude": "0.0",
			"cellId": "unknown-cell",
			"description": [
				{
					"langId": "-1",
					"name": "TEST 10046",
					"shortDesc": "10046"
				}
			],
			"identifier": "Bay Plaza",
			"latitude": "43.647",
			"longitude": "-79.379",
			"poiType": "Store",
			"pointId": "10046",
			"pointOfInterestId": "10046",
			"precedence": "1.0",
			"programId": "0",
			"radius": "1.0",
			"regionId": "Ontario",
			"status": "N",
			"storeId": "10101",
			"zoneId": "unknown-zone"
		},
		{
			"altitude": "0.0",
			"cellId": "unknown-cell",
			"description": [
				{
					"langId": "-1",
					"name": "TEST 10047",
					"shortDesc": "10047"
				}
			],
			"identifier": "Islington Plaza",
			"latitude": "43.6",
			"longitude": "-79.505",
			"poiType": "Store",
			"pointId": "10047",
			"pointOfInterestId": "10047",
			"precedence": "1.0",
			"programId": "0",
			"radius": "1.0",
			"regionId": "Ontario",
			"status": "N",
			"storeId": "10101",
			"zoneId": "unknown-zone"
		},
		{
			"altitude": "0.0",
			"cellId": "unknown-cell",
			"description": [
				{
					"langId": "-1",
					"name": "TEST 10007",
					"shortDesc": "10007"
				}
			],
			"identifier": "University Avenue",
			"latitude": "43.649",
			"longitude": "-79.386",
			"poiType": "Store",
			"pointId": "10007",
			"pointOfInterestId": "10007",
			"precedence": "1.0",
			"programId": "0",
			"radius": "1.0",
			"regionId": "Ontario",
			"status": "N",
			"storeId": "10101",
			"zoneId": "unknown-zone"
		},
		{
			"altitude": "0.0",
			"cellId": "unknown-cell",
			"description": [
				{
					"langId": "-1",
					"name": "TEST 10006",
					"shortDesc": "10006"
				}
			],
			"identifier": "Eaton Centre",
			"latitude": "43.656",
			"longitude": "-79.381",
			"poiType": "Store",
			"pointId": "10006",
			"pointOfInterestId": "10006",
			"precedence": "1.0",
			"programId": "0",
			"radius": "1.0",
			"regionId": "Ontario",
			"status": "N",
			"storeId": "10101",
			"zoneId": "unknown-zone"
		}
	],
	"resourceId": "http:\/\/myserver.mycompany.com\/wcs\/resources\/lbs\/store\/10101\/pointsOfInterest\/byProximity",
	"resourceName": "pointofinterest"
}