Skip to main content

system.kanoa.asset.getOperationalAssets

Description

Returns assets that have production data. Used to filter out assets that have been created but are not in use.

Syntax

getOperationalAssets(paramsDict)
  • Parameters
      paramsDict (dict) - Dictionary containing filter parameters.
  • Returns
      data (pyDataset).
  • Code Examples

    # Example Usage:
    parameters = {
    'enabled': True,
    'assetPath': 'Kanoa Industries%',
    'assetId': 1,
    'assetTypeIdList': [1, 2, 5],
    'assetGroupIdList': [2],
    'oeeTypeList': ['OEE_Enabled'],
    'userId': 5,
    'userFunction': 'configureAssets'
    }
    operational_assets = system.kanoa.asset.getOperationalAssets(parameters)