AddConfigMgrAppUsingExistingCollectionId
App Portal 2021 R1
You can use the AddConfigMgrAppUsingExistingCollectionId web method to add a System Center Configuration Manager (Current Branch) application to a catalog item using an existing collection identifier.
Parameters
The AddConfigMgrAppUsingExistingCollectionId web method includes the following parameters:
# |
Parameters |
Data Type |
Description |
|||||||||
|
catalogItemID |
Integer |
ID of the catalog item. |
|||||||||
|
configMgrAppID |
String |
ID of the application in System Center Configuration Manager (Current Branch). |
|||||||||
|
deployTarget |
Enum value |
Use one of the following values:
|
|||||||||
|
createUninstall |
Boolean |
Enter True if catalog item is to trigger an uninstall; otherwise, enter False. |
|||||||||
|
collectionId |
String |
ID 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. |