Skip to main content

system.kanoa.asset.addCounterType(countTypeInfo, userId)

Adds a new counter type


Parameters

countTypeInfo Dictionary

- counterTypeNameStringName of the counter type

userId Integer: Id of user executing the function


Returns

counterTypeId Integer


Example

countTypeInfo = {'counterTypeName': 'general'}
userId = 123
counterTypeId = system.kanoa.asset.addCounterType(countTypeInfo, userId)