CreateNewCatalogItem
You can use the CreateNewCatalogItem web method to create a new catalog item.
Parameters
The CreateNewCatalogItem web method includes the following parameters:
| # | Parameters | Data Type | Description |
|---|---|---|---|
| 1. | productName | String | Name of the product. |
| 2. | companyName | String | Name of the company. |
| 3. | version | String | Product version. |
| 4. | searchKeywords | String | Keywords that help search for this product. |
| 5. | shortDescription | String | Short description of the product. |
| 6. | longDescription | String | Long description of the product. |
| 7. | 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 |
| 8. | visible | Boolean | Enter True to make catalog item visible on the Browse Catalog page; otherwise, enter False . |
| 9. | icon | Byte Array | Icon of the product. |
| 10. | iconExtension | String | Icon extension. |
| 11. | flexeraID | String | Flexera ID of the product. |
| 12. | templatePackageID | Integer | Template package ID from which the structure be followed while creating new catalog item. '0' otherwise. |
| 13. | csvCategoryNames | String | Single category name or comma separated category names. |
| 14. | createdBy | String | Created by. |
Return Value
Returns one of the following values:
-
Returns integer greater than 0 for success
-
Returns -1 for error