Item Categories and Types
Get Item Categories
Description
The ‘getItemCategories’ function returns a list of all the Configuration Item (CI) Categories defined in the system.The function returns a HashMap containing a list of string values including the Category ID and the corresponding string value.
Get Item Types For Category
Parameters
| categoryId | The unique CategoryId to retrieve the Item Types for. |
Description
The ‘getItemTypesForCategory’ function returns a list of all the Item Types that exist in the system for the selected Category. Specify the Category ID as the parameter. The function returns a HashMap containing a list of string values including the Item Type ID and the corresponding string value.
Create Item Type
Parameters
| itemTypeName | New name for the Item Type |
| incidentTeamID | The default Incident Team Id for this Item Type |
| problemTeamID | The default Problem Team Id for this Item Type |
| changeTeamID | The default Change Team Id for this Item Type |
| requestTeamID | The default Service Request Team Id for this Item Type |
| manufacturerName | Name of Manufacturer (created if not available) |
| categoryId | The default categoryId to associate the new Item Type |
Description
Facility to create an ItemType (product) based on the name, the provided support teams, the manufacturer (which will be created if it doesn’t exist) and the Category ID which is returned by getItemCategories().
Get Item Type
Parameters
| itemTypeId | The unique itemTypeId to retrieve details for. |
Description
The ‘getItemType’ function returns item type details of the specified item type id. This method exists as a quick means to determine what category an item type is defined as. This method returns a HashMap containing the item type name and the category name.