Skip to main content

CreateGeneralCatalogItem

You can use the createGeneralCatalogItem web method to add a new general catalog item.

Parameters

The createGeneralCatalogItem web method includes the following parameters:

#ParametersData TypeDescription
catalogNameStringName of the catalog item.
shortDescriptionStringShort description of the catalog item.
longDescriptionStringLong description of the catalog item.
categoryNameStringName 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.
catalogTemplateNameStringCatalog item ID or Template Name of the catalog item. This value can be empty.
questionTemplateNameStringName 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.