AddCMPackage

App Portal 2020 R1

The AddCMPackage web method is used internally to add advertisements to a catalog item.

Parameters

The AddCMPackage web method includes the following parameters:

AddCMPackage Parameters

#

Parameters

Data Type

Description

1.  

catalogItemID

Integer

ID of the catalog item.

2.  

cmServer

String

System Center Configuration Manager site server.

3.  

cmPackageID

String

System Center Configuration Manager package ID.

4.  

deploymentSettings

Object of class deployment

Contains number of properties.

5.  

deploymentTechnology

Enum value

Enter one of the following values to identify the deployment technology:

1—System Center 2012 Configuration Manager
3—Altiris
4—AirWatch / Google Android
5—AirWatch / iOS
6—AirWatch / Windows
7—Casper
8—ConfigMgr
0—Unknown

Return Value

Returns one of the following values:

Returns TRUE for success
Returns FALSE for failure