Skip to main content

PublishCatalogItemEx

You can use the PublishCatalogItemEx web method to create a new catalog item.

Parameters

The PublishCatalogItemEx web method includes the following parameters:

#ParametersData TypeDescription
productNameStringName of the product.
companyNameStringName of the company.
versionStringProduct version.
shortDescriptionStringShort description of the product.
longDescriptionStringLong description of the product.
VisibleBooleanEnter 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.
iconByte ArrayIcon of the product.
iconExtensionStringIcon extension.
flexeraIDStringFlexera ID of the product.
ConfigManagerServerNameStringServer name.
ConfigManagerSiteCodeStringServer site code.
ConfigManagerIDStringSystem Center Configuration Manager ID of the catalog item.
ConfigManagerDataStringSystem Center Configuration Manager data.
DeploymentTargetEnum ValueEnter one of the following values: 0 —DeployToUser 1 —DeployToComputer
templatePackageIDIntegerTo 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 .
csvCategoryNamesStringEnter a single category name or comma separated list of category names.
csvGroupNamesStringEnter a comma separated list of property values.
memberShipTypeIntegerEnter membership type.
CreateInventoryRecordBooleanEnter one of the following values: True —Create an inventory record. False —Do not create an inventory record.
InventoryClassOrQueryNameStringEnter name of inventory class or query.
ItemAttributesInventoryAttributeObjectEnter the object of the Inventory Attribute.

Return Value

Returns one of the following values:

  • Returns integer greater than 0 for success
  • Returns -1 for error