App Portal 2017
The addSCCMPackageAndProgramToCatalogItem web method is used to adds a System Center Configuration Manager package / program to a catalog item.
Parameters
The addSCCMPackageAndProgramToCatalogItem web method includes the following parameters:
# |
Parameters |
Data Type |
Description |
|||
|
Title |
String |
The title of the item to add programs to. |
|||
|
PackageServer |
String |
The netbios name of the SCCM server where the package exists. |
|||
|
SMSPackageID |
String |
The SCCM PackageID representing the SCCM Package. |
|||
|
SMSPackageData |
String |
The formatting for the SMSPackageData is: Program Action(0 - Install,1 - Uninstall,2 - Repair)|Language ID (0 for English)|Office 2007 Install (Program Name) Separate each entry with a comma, such as: 0|0|InstallInteractive,1|0|UninstallInteractive |
|||
|
TemplatePackageID |
Integer |
The template package ID will copy over the existing settings from that catalog item including request options, visibility, approval, approval process, and Actions. |
Return Value
Returns one of the following values:
• | Returns a 1 for success |
• | Returns a -1 for error |
App Portal / App Broker 2017 Administration Guide18 July 2017 |
Copyright Information | Flexera Software |