App Portal 2017
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: 
 
 
 
 
 
 
 
 
  | 
                
Return Value
Returns one of the following values:
| • | Returns TRUE for success | 
| • | Returns FALSE for failure | 
                        App Portal / App Broker 2017 Administration Guide18 July 2017 | 
                    Copyright Information | Flexera Software |