Feature Pack 4Feature Pack 5Feature Pack 6

Get category details based on its identifier

The following example shows how to get category details based on its identifier.

Request


GET /wcs/resources/store/11051/categoryview/Tops HTTP/1.1
Host: wcstestserver.raleigh.ibm.com
Content-Type: application/json

Response


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

{
   "CatalogGroupView": [
      {
         "fullImage": "images\/catalog\/apparel\/en_US\/large_girls_boys_tops.jpg",
         "fullImageAltDescription": "Image for Tops from Madisons2",
         "identifier": "Tops",
         "metaDescription": "Girls and boys tops",
         "metaKeyword": "CategoryKeyword",
         "name": "Tops",
         "parentCatalogGroupID": [
            "10379"
         ],
         "productsURL": "http:\/\/wcstestserver.raleigh.ibm.com\/wcs\/resources\/store\/11051\/productview\/byCategory\/10381",
         "resourceId": "http:\/\/wcstestserver.raleigh.ibm.com\/wcs\/resources\/store\/11051\/categoryview\/byId\/10381",
         "shortDescription": "Girls and boys tops",
         "thumbnail": "images\/catalog\/apparel\/girls_boys_tops_sm.jpg",
         "title": "Tops | Madisons2",
         "uniqueID": "10381"
      }
   ],
   "MetaData": [
		{
			"metaData": "1"
		}
	],
	"recordSetComplete": "true",
	"recordSetCount": "1",
	"recordSetStartNumber": "0",
	"recordSetTotal": "1",
	"resourceId": "http:\/\/wcstestserver.raleigh.ibm.com\/wcs\/resources\/store\/11051\/categoryview\/byId\/10381",
	"resourceName": "categoryview"
}