This command deletes a relationship between a catalog and a 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.
Parameter values
- catalogId
- (Required) The reference number of the catalog.
- catgroupId
- (Required) The reference number of the catalog group.
- URL
- The URL to be called when the command completes successfully.
Example 1
The following example deletes the top catalog group relationship between catalog 6000 and catalog group 9000:
http://host_name/webapp/wcs/stores/servlet/TopCatalogGroupDelete? catalogId=6000&catgroupId=9000&URL=LogonForm
Example 2
The following example deletes all the top catalog group relationships with catalog group 8000 and any catalogs:
http://host_name/webapp/wcs/stores/servlet/TopCatalogGroupDelete? catalogId=*&catgroupId=8000&URL=LogonForm
Example 3
The following example deletes all the top catalog group relationships with catalog 6000 and any catalog groups:
http://host_name/webapp/wcs/stores/servlet/TopCatalogGroupDelete? catalogId=6000&catgroupId=*&URL=LogonForm
Behavior
- If the catalog ID is generic (catalogId=*), then this command deletes all CatToGrp relationships with the specified CatGroupId.
- If the catalog group ID is generic (catalogId=*), then this command deletes all CatToGrp relationships with the specified CatalogId.
Exception conditions
None.