Skip to main content

AddConfigMgrAppUsingExistingCollectionId

You can use the AddConfigMgrAppUsingExistingCollectionId web method to add a Microsoft Endpoint Configuration Manager application to a catalog item using an existing collection identifier.

Parameters

The AddConfigMgrAppUsingExistingCollectionId web method includes the following parameters:

#ParametersData TypeDescription
catalogItemIDIntegerID of the catalog item.
configMgrAppIDStringID of the application in Microsoft Endpoint Configuration Manager.
deployTargetEnum valueUse one of the following values: 0 —DeployToUser 1 —DeployToComputer
createUninstallBooleanEnter True if catalog item is to trigger an uninstall; otherwise, enter False .
collectionIdStringID of an existing collection in System Center Configuration Manager to create a catalog using User “Approve application per user per device” functionality.

Return Value

Returns one of the following values:

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