PublishAltirisCatalogItemEx
You can use the PublishAltirisCatalogItemEx web method to create a new Altiris catalog item using advertisement.
Parameters
The PublishAltirisCatalogItemEx 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. | visible | Boolean | Enter one of the following values: True —Make the catalog item visible on the Browse Catalog tab. False —Do not make the catalog item visible on the Browse Catalog tab. |
| 8. | icon | Byte Array | Icon of the product. |
| 9. | iconExtension | String | Icon extension. |
| 10. | flexeraID | String | Flexera ID of the product. |
| 11. | AltirisPackageOrPolicyID | String | Altiris package or policy ID. |
| 12. | AltirisProgramData | String | String of the format:InstallType\(Integer\)| programIDwhere InstallType may be one of the following:0 —Install 1 —Uninstall 2 —Repair The programID is a string. For example:0|programID |
| 13. | DeploymentTarget | Integer | Enter one of the following values: 0 —DeployToUser 1 —DeployToComputer |
| 14. | templatePackageID | Integer | To follow a template structure when creating the new catalog item, enter a Template package ID. If you do not want to use a template, enter 0 . |
| 15. | csvCategoryNames | String | Enter a single category name or a comma separated list of category names. |
| 16. | csvGroupNames | String | Enter a comma separated list of property values. |
| 17. | memberShipType | Integer | Enter membership type. |
Return Value
Returns one of the following values:
-
Returns an integer greater than 0 for success
-
Returns -1 for error