CreateGeneralCatalogItem
You can use the createGeneralCatalogItem web method to add a new general catalog item.
Parameters
The createGeneralCatalogItem web method includes the following parameters:
| # | Parameters | Data Type | Description |
|---|---|---|---|
| catalogName | String | Name of the catalog item. | |
| shortDescription | String | Short description of the catalog item. | |
| longDescription | String | Long description of the catalog item. | |
| categoryName | String | Name of the category where the catalog item should reside. You can only specify one category name. This value must not be empty or refer to a category that does not exist. | |
| catalogTemplateName | String | Catalog item ID or Template Name of the catalog item. This value can be empty. | |
| questionTemplateName | String | Name of the Question Template. This value can be empty. |
Return Value
Returns one of the following values:
- Returns TRUE for success
- Returns FALSE for error
note
FALSE status could be returned if no category name was specified, a non-existent category name was specified, a wrong question template name was specified, or if a catalog item already exists with same name as the new catalog item.