system.kanoa.performanceState.updatePerformanceStateClass
Description
Adds a new performance state classSyntax
updatePerformanceStateClass(performanceStateClassInfo, userId)Parameters:
Returns:
Dictionary
Parameter | Type | Required | Notes |
---|---|---|---|
performanceStateClassId | int | ||
performanceStateClassName | string | ||
parentId | int | ||
performanceStateClassDescription | string | ||
enabled | bool |
Code Examples
# Example Usage:
userId = 18
performanceStateClassInfo = {
'performanceStateClassId': 7,
'performanceStateClassName': 'Operations',
'parentId': 5,
'performanceStateClassDescription': 'MES Operations state class',
'enabled': True
}
updatePerformanceStateClass(performanceStateClassInfo, userId)
>
4, None
>>>