Skip to main content

addCatalogItemToCategory

The addCatalogItemToCategory web method is used to add a catalog item to a category.

Parameters

The addCatalogItemToCategory web method includes the following parameters:

#ParametersData TypeDescription
TitleStringThe title of the item to add programs to.
CategoryNameStringThe name of the category to assign. If the category does not exist, it is created.
ParentCategoryNameStringIf there are multiple categories with the same name under different hierarchies, specify the parent category name so that the item is added to the correct category hierarchy.

Return Value

Returns one of the following values:

  • Returns a 1 for success
  • Returns a -1 for error