Skip to main content

system.kanoa.attribute.getAttributeEventTotals(paramsDict)

Returns attribute event totals for the given parameters. paramsDict keys are optional.


Parameters

paramsDict Dictionary

- assetIdInteger
- assetPathString
- attributeAssetLinkIdInteger
- attributeNameString
- attributePathString
- endDateDateTimeSet to None to return the current value
- startDateDateTime
- strictDatesBooleanIf true then we only return events where the tStamp is between the start and endDate

Returns

data pyDataset


Example

paramsDict = {'attributeId': 5, 'startDate': system.date.parse("2026-01-01 00:00:00"), 'endDate': system.date.parse("2026-01-02 00:00:00")}
data = system.kanoa.attribute.getAttributeEventTotals(paramsDict)