AddCMPackage
The AddCMPackage web method is used internally to add advertisements to a catalog item.
Parameters
The AddCMPackage web method includes the following 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 —Workspace ONE UEM / Google Android 5 —Workspace ONE UEM / iOS 6 —Workspace ONE UEM / Windows 7 —Jamf Pro 8 —ConfigMgr 10 —Intune 11 —Jamf Cloud 0 —Unknown |
Return Value
Returns one of the following values:
-
Returns TRUE for success
-
Returns FALSE for failure