CatalogImportJobAdd command

This command adds the scheduler job to publish the 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, CatalogImportJobAdd  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

fileUploadId
(Required) The ID of the uploaded file.
URL
(Required) The URL to be called when the command completes successfully.
storeId
(Required) The store's reference number associated with the catalog file being uploaded. Note that this parameter is optional if the store ID is available in the command context.

Example

This example adds the scheduler job to publish the catalog:

http://host_name/webapp/wcs/stores/servlet/CatalogImportJobAdd?
fileUploadId=1234&&storeId=1&URL=CatalogImportSuccessView

Behavior

Exception conditions