CatGroupRelAdd command

This command adds a relationship between a parent catalog group and a child catalog group. This command is called by the Product Management tools in the WebSphere Commerce Accelerator.

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, CatGroupRelAdd  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

catalogId
(Required) The reference number of the catalog.
catgroupIdParent
(Required) The reference number of the source catalog group.
catgroupIdChild
(Required) The reference number of the target catalog group.
rule
Reserved for IBM internal use.
seq
The sequence that determines the display order of the contents of the catalog group.
URL
The URL to be called when the command completes successfully.

Example

The following example creates a catalog group to subcategory relationship, with parent catalog group 8006 and child catalog group 9000:

http://host_name/webapp/wcs/stores/servlet/CatGroupRelAdd?
catalogId=6000&catgroupIdParent=8006&catgroupIdChild=9000
&rule=hell0&seq=1&URL=LogonForm

Behavior

Exception conditions

None.