Skip to main content

AddCM12Package

You can use the AddCM12Package web method to add a System Center 2012 Configuration Manager package to a catalog item.

Parameters

The AddCM12Package web method includes the following parameters:

#ParametersData TypeDescription
catalogItemIDIntegerID of catalog item.
cmPackageIDStringPackage ID in System Center 2012 Configuration Manager.
cmPackageDataStringString in the format of InstallType\

Return Value

Returns one of the following values:

  • Returns TRUE for success
  • Returns FALSE for failure