Skip to main content

AddConfigMgrPackage

You can use the AddConfigMgrPackage web method to add a Microsoft Endpoint Configuration Manager package to a catalog item.

Parameters

The AddConfigMgrPackage web method includes the following parameters:

#ParametersData TypeDescription
catalogItemIDIntegerID of the catalog item.
cmPackageIDStringID of the package in Microsoft Endpoint Configuration Manager.
cmPackageDataStringString in the format of InstallType\

Return Value

Returns one of the following values:

  • Returns TRUE for success.
  • Returns FALSE for failure.