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
1.catalogNameStringName of the catalog item.
2.shortDescriptionStringShort description of the catalog item.
3.longDescriptionStringLong description of the catalog item.
4.categoryNameStringName of the category where the catalog item should reside.
Note: You can only specify one category name. This value must not be empty or refer to a category that does not exist.
5.catalogTemplateNameStringCatalog item ID or Template Name of the catalog item.
Note: This value can be empty.
6.questionTemplateNameStringName of the Question Template.
Note: 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.