addCatalogItemToCategory
The addCatalogItemToCategory web method is used to add a catalog item to a category.
Parameters
The addCatalogItemToCategory web method includes the following parameters:
| # | Parameters | Data Type | Description |
|---|---|---|---|
| Title | String | The title of the item to add programs to. | |
| CategoryName | String | The name of the category to assign. If the category does not exist, it is created. | |
| ParentCategoryName | String | If 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