createInventoryGroup

You can use the createInventoryGroup web method to create a new inventory group.

Parameters

The createInventoryGroup web method includes the following parameters:

createInventoryGroup Parameters

#

Parameters

Data Type

Description

1.  

GroupName

String

The name of the new inventory group, duplicate group names are not allowed.

2.  

LicenseType

String

The type of license. A new license type will be created if it does not exist.

3.  

Cost

Double

The cost of the item.

4.  

Owned

Integer

The quantity owned of the item.

5.  

Used

Integer

The quantity used of the item.

6.  

MeterRuleName

String

The name of the associated SCCM Metering Rule name.

7.  

MeterRulePartialMatch

Boolean

When true the search will use LIKE syntax and search both the Meter Rule Name and Comments field in SCCM.

8.  

MeterRuleDays

Integer

The number of days for the Metering Rule threshold.

Return Value

LicenseID (Integer).