system.kanoa.quality.config.addItemSet
Description
Adds an item set in KanoaQDS.Syntax
addItemSet(itemSetInfo, userId)- itemSetInfo (dict)
- - itemSetName (string)
- itemSetDescription (string)
- sortOrder (int): Can be None
- enabled (bool)
- userId (int)
- itemSetId (int)
- msg (string): None if success
Code Examples
# Usage example
itemSetInfo = {'itemSetName': 'Set 1', 'itemSetDescription': 'Description 1', 'sortOrder': 3, 'enabled': True}
userId = 123
itemSetId, msg = system.kanoa.quality.config.addItemSet(itemSetInfo, userId)
>