Skip to main content

AddConfigMgrApp

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

Parameters

The AddConfigMgrApp web method includes the following parameters:

#ParametersData TypeDescription
1.catalogItemIDIntegerID of the catalog item.
2.configMgrAppIDStringID of the application in Microsoft Endpoint Configuration Manager.
3.deployTargetEnum valueUse one of the following values:
0 —DeployToUser
1 —DeployToComputer
4.createUninstallBooleanEnter True if catalog item is to trigger an uninstall; otherwise, enter False .

Return Value

Returns one of the following values:

  • Returns TRUE for success.

  • Returns FALSE for failure.