TopCategoriesDisplay command

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.

Diagram of the command structure: the command starts with the fully qualified name of your WebSphere Commerce Server and the configuration path, followed by the command name, TopCategoriesDisplay  and the ? character. End the command with a list of parameters in the form of name value pairs. Separate each name value pair with the & character. For a detailed description of the parameters and their values, refer to the list entitled Parameter values.

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:

Exception Conditions

None.