system.kanoa.performanceState.getPerformanceStates
Description
Returns performanceState info for given parametersSyntax
getPerformanceStates(paramsDict)Parameters:
Returns:
Dictionary
Parameter | Type | Required | Notes |
---|---|---|---|
enabled | bool | ||
performanceStateId | int | ||
performanceStateName | string | ||
performanceStatePath | string | ||
performanceStateClassPath | string | ||
performanceStateClassId | int | ||
counterTypeId | int | ||
counterTypeName | string |
Code Examples
# Example Usage:
data = system.kanoa.performanceState.getPerformanceStates({'enabled': True})
print system.kanoa.utilities.convertDatasetToJSON(data)
>
{
'performanceStateName': 'Blob',
'performanceStateClassPath': 'Quality',
'createdByUser': 'jason',
'performanceStateColor': '#FFCCFF',
'performanceStateClassId': 4,
'enabled': True,
'changedDate': None,
'createdDate': Wed May 07 16:01:25 UTC 2025,
'performanceStateClassName': 'Quality',
'createdBy': 5,
'performanceStatePath': 'Quality\\Blob',
'changedBy': None,
'changedByUser': None,
'performanceStateId': 5
}
>>>