App Portal 2017
You can use the createInventoryGroup web method to create a new inventory group.
Parameters
The createInventoryGroup web method includes the following parameters:
| 
                         #  | 
                    
                         Parameters  | 
                    
                         Data Type  | 
                    
                         Description  | 
                |||
                        
  | 
                    
                         GroupName  | 
                    
                         String  | 
                    
                         The name of the new inventory group, duplicate group names are not allowed.  | 
                |||
                        
  | 
                    
                         LicenseType  | 
                    
                         String  | 
                    
                         The type of license. A new license type will be created if it does not exist.  | 
                |||
                        
  | 
                    
                         Cost  | 
                    
                         Double  | 
                    
                         The cost of the item.  | 
                |||
                        
  | 
                    
                         Owned  | 
                    
                         Integer  | 
                    
                         The quantity owned of the item.  | 
                |||
                        
  | 
                    
                         Used  | 
                    
                         Integer  | 
                    
                         The quantity used of the item.  | 
                |||
                        
  | 
                    
                         MeterRuleName  | 
                    
                         String  | 
                    
                         The name of the associated SCCM Metering Rule name.  | 
                |||
                        
  | 
                    
                         MeterRulePartialMatch  | 
                    
                         Boolean  | 
                    
                         When true the search will use LIKE syntax and search both the Meter Rule Name and Comments field in SCCM.  | 
                |||
                        
  | 
                    
                         MeterRuleDays  | 
                    
                         Integer  | 
                    
                         The number of days for the Metering Rule threshold.  | 
                
Return Value
LicenseID (Integer).
                        App Portal / App Broker 2017 Administration Guide18 July 2017 | 
                    Copyright Information | Flexera Software |