CatGroupRelDelete URL

This URL deletes a relationship between a parent catalog group and a child catalog group.

URL structure

http:// host_name/path/
The fully qualified name of your WebSphere Commerce Server and the configuration path.

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.
URL
The URL to be called when the command completes successfully.

Example 1

The following example deletes the catalog group relationship with catalog 6000, parent catalog group 10025, and child catalog group 10026:


http://host_name/webapp/wcs/stores/servlet/CatGroupRelDelete?
catalogId=6000&catgroupIdParent=10025&catgroupIdChild=10026
&rule=hello&seq=1&URL=LogonForm

Example 2

The following example deletes all the catalog group relationships with catalog 6000 and parent catalog group 6000:


http://host_name/webapp/wcs/stores/servlet/CatGroupRelDelete?
catalogId=6000&catgroupIdParent=6000&catgroupIdChild=*
&URL=LogonForm

Example 3

The following example deletes all the catalog group relationships with catalog 6000 and child catalog group 6001:


http://host_name/webapp/wcs/stores/servlet/CatGroupRelDelete?
catalogId=6000&catgroupIdParent=*&catgroupIdChild=6001
&URL=LogonForm

Behavior

  • If the parent catalog group is generic (catgroupIdParent=*), then delete all CatGroup relationships with the specified child catalog group.
  • If the child catalog group is generic (catgroupIdChild=*), then delete all CatGroup relationships with the specified parent catalog group.

Exception conditions

None.