system.kanoa.performanceState.getAssetPerformanceStates
Description
Returns performanceState info for assets for given parametersSyntax
getAssetPerformanceStates(paramsDict)- paramsDict (dict)
- - enabled (bool)
- - performanceStateId (int)
- - performanceStateName (string)
- - performanceStatePath (string)
- - performanceStateClassPath (string)
- - performanceStateClassId (int)
- - counterTypeId (int)
- - counterTypeName (string)
pyDataset
Code Example
# Example Usage:
data = system.kanoa.performanceState.getAssetPerformanceStates({'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
}
>>>