This command displays the root categories for a given catalog.
Command structure
- http://host_name/path/
- The fully qualified name of your WebSphere Commerce Server and the configuration path.
Parameter values
- langId
- Sets or resets the preferred language for the duration of the session. The supported languages for a store are found in the STORELANG table.
- storeId
- (Required) The reference number of the store associated with the categories.
- catalogId
- (Required) The reference number for the catalog that is associated with the given store. The catalog contains root categories.
Example
This example displays a store catalog with one single top category.
http://host_name/webapp/wcs/v5/stores/TopCategoriesDisplay? catalogId=323000&storeId=32&langId=-1
Behavior
The command can be used as the second part of a "drill down" sequence that starts with StoreCatalogDisplay, which displays the catalogs of a store. You can:
- Launches the TopCategoriesDisplayView view task.
- Maps to the to TopCategoriesDisplayCmd interface.
Exception Conditions
None.