CreateNewCatalogItemWithClassification
You can use the CreateNewCatalogItemWithClassification web method to create a new catalog item with a catalog classification ID.
Parameters
The CreateNewCatalogItemWithClassification web method includes the following parameters:
| # | Parameters | Data Type | Description |
|---|---|---|---|
| productName | String | Name of the product. | |
| companyName | String | Name of the company. | |
| version | String | Product version. | |
| searchKeywords | String | Keywords that help search for this product. | |
| shortDescription | String | Short description of the product. | |
| longDescription | String | Long description of the product. | |
| Type | Integer | Type of the product or packageType . The following values are supported: 0 —Software 1 —General 3 —Group 4 —Task Sequence 15 —System Center 2012 Configuration Manager Application 18 —Altiris Application 19 —Workspace ONE UEM / Android Application 20 —Workspace ONE UEM / iOS Application 21 —Workspace ONE UEM / iPad Application 22 —Workspace ONE UEM / Windows Application 23 —Workspace ONE UEM / Windows 8 Application 25 —Jamf Pro Package 26 —Jamf Cloud Package 28 —Intune App | |
| visible | Boolean | Enter True to make catalog item visible on the Browse Catalog page; otherwise, enter False . | |
| icon | Byte Array | Icon of the product. | |
| iconExtension | String | Icon extension. | |
| flexeraID | String | Flexera ID of the product. | |
| templatePackageID | Integer | Template package ID from which the structure be followed while creating new catalog item. '0' otherwise. | |
| csvCategoryNames | String | Single category name or comma separated category names. | |
| createdBy | String | Created by. | |
| classificationID | Integer | Classification identifier of the classification to be associated with the catalog. |
Return Value
Returns one of the following values:
- Returns integer greater than 0 for success
- Returns -1 for error