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/geonode/byParentGeoNode/10001 HTTP/1.1
Host: wcstestserver.raleigh.ibm.com
Content-Type: application/json

Response


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

{
   "GeoNode": [
      {
         "name": "Alberta",
         "type": "PROV",
         "uniqueID": "10003"
      },
      {
         "name": "British Columbia",
         "type": "PROV",
         "uniqueID": "10011"
      },
      {
         "name": "Manitoba",
         "type": "PROV",
         "uniqueID": "10032"
      },
      {
         "name": "New Brunswick",
         "type": "PROV",
         "uniqueID": "10034"
      },
      {
         "name": "Newfoundland and Labrador",
         "type": "PROV",
         "uniqueID": "10038"
      },
      {
         "name": "Nova Scotia",
         "type": "PROV",
         "uniqueID": "10040"
      },
      {
         "name": "Ontario",
         "type": "PROV",
         "uniqueID": "10044"
      },
      {
         "name": "Prince Edward Island",
         "type": "PROV",
         "uniqueID": "10088"
      },
      {
         "name": "Quebec",
         "type": "PROV",
         "uniqueID": "10090"
      },
      {
         "name": "Saskatchewan",
         "type": "PROV",
         "uniqueID": "10109"
      }
   ],
   "resourceName": "geonode",
   "resourceId":"http:\/\/wcstestserver.raleigh.ibm.com\/wcs\/resources\/store\/10101\/geonode\/byParentGeoNode\/10001"
}