Feature Pack 7

Get all the top level categories

The following example shows how to get all the top level categories.

Request


http://localhost/search/resources/store/10001/categoryview/@top?langId=-1&catalogId=10001&currency=USD&responseFormat=json

Response


{
	"catalogGroupView": [
		{
			"childCatalogGroupID": [
				"10001_10005",
				"10001_10004",
				"10001_10003",
				"10001_10002"
			],
			"identifier": "Apparel",
			"name": "Apparel",
			"parentCatalogGroupID": "-1",
			"resourceId": "http:\/\/localhost\/search\/resources\/store\/10001\/categoryview\/byId\/10001",
			"shortDescription": "The latest styles for the entire family.",
			"storeID": "10001",
			"thumbnail": "\/wcsstore\/Aurora\/images\/catalog\/apparel\/women\/category\/catr_wcl_pants.png",
			"uniqueID": "10001"
		},
		{
			"childCatalogGroupID": [
				"10001_10028",
				"10001_10029",
				"10001_10030",
				"10001_10031",
				"10001_10032"
			],
			"identifier": "Electronics",
			"name": "Electronics",
			"parentCatalogGroupID": "-1",
			"resourceId": "http:\/\/localhost\/search\/resources\/store\/10001\/categoryview\/byId\/10027",
			"shortDescription": "Electronics",
			"storeID": "10001",
			"thumbnail": "\/wcsstore\/Aurora\/images\/catalog\/electronics\/category\/catr_cta_tablets.png",
			"uniqueID": "10027"
		},
		{
			"childCatalogGroupID": [
				"10001_10034",
				"10001_10035",
				"10001_10036",
				"10001_10037"
			],
			"identifier": "Grocery",
			"name": "Grocery",
			"parentCatalogGroupID": "-1",
			"resourceId": "http:\/\/localhost\/search\/resources\/store\/10001\/categoryview\/byId\/10033",
			"shortDescription": "Grocery",
			"storeID": "10001",
			"thumbnail": "\/wcsstore\/Aurora\/images\/catalog\/grocery\/category\/catr_gda_dairy.png",
			"uniqueID": "10033"
		},
		{
			"childCatalogGroupID": [
				"10001_10039",
				"10001_10040"
			],
			"identifier": "Health",
			"name": "Health",
			"parentCatalogGroupID": "-1",
			"resourceId": "http:\/\/localhost\/search\/resources\/store\/10001\/categoryview\/byId\/10038",
			"shortDescription": "Health",
			"storeID": "10001",
			"thumbnail": "\/wcsstore\/Aurora\/images\/catalog\/health\/category\/catr_hme_medicine.png",
			"uniqueID": "10038"
		},
		{
			"childCatalogGroupID": [
				"10001_10042",
				"10001_10043",
				"10001_10044",
				"10001_10045",
				"10001_10046",
				"10001_10047"
			],
			"identifier": "Home Furnishings",
			"name": "Home & Furnishing",
			"parentCatalogGroupID": "-1",
			"resourceId": "http:\/\/localhost\/search\/resources\/store\/10001\/categoryview\/byId\/10041",
			"shortDescription": "Home & Furnishing",
			"storeID": "10001",
			"thumbnail": "\/wcsstore\/Aurora\/images\/catalog\/homefurnishings\/category\/catr_hap_appliances.png",
			"uniqueID": "10041"
		},
		{
			"childCatalogGroupID": [
				"10001_10049",
				"10001_10050"
			],
			"identifier": "NewslettersAndMagazines",
			"name": "Newsletters & Magazines",
			"parentCatalogGroupID": "-1",
			"resourceId": "http:\/\/localhost\/search\/resources\/store\/10001\/categoryview\/byId\/10048",
			"shortDescription": "Newsletters & Magazines",
			"storeID": "10001",
			"thumbnail": "\/wcsstore\/Aurora\/images\/catalog\/newslettersmagazines\/category\/catr_nma_magazines.png",
			"uniqueID": "10048"
		}
	],
	"recordSetComplete": "true",
	"recordSetCount": 6,
	"recordSetStartNumber": 0,
	"recordSetTotal": 6,
	"resourceId": "http:\/\/localhost\/search\/resources\/store\/10001\/categoryview\/@top?langId=-1&catalogId=10001&currency=USD&responseFormat=json",
	"resourceName": "categoryview"
}