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 |
|---|---|---|---|
| catalogItemID | Integer | ID of the catalog item. | |
| cmServer | String | System Center Configuration Manager site server. | |
| cmPackageID | String | System Center Configuration Manager package ID. | |
| deploymentSettings | Object of class deployment | Contains number of properties. | |
| 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