system.kanoa.asset.addCounterType
Description
Adds a new counter type.Syntax
addCounterType(countTypeInfo, userId)- countTypeInfo (dict) - A dictionary containing counter type information: - 'counterTypeName' (str): Name of the counter type.
- userId (int) - User ID.
- counterTypeId (int) - ID of the added counter type.
Code Examples
# Example Usage:
count_type_info = {'counterTypeName': 'general'}
user_id = 123
counter_type_id = system.kanoa.asset.addCounterType(count_type_info, user_id)