system.kanoa.event.getAssetProductionEventsSummary(paramsDict)
Returns summarized production event data filtered by the given parameters
Parameters
paramsDict Dictionary
| - assetId | Integer | Id of asset |
| - endDate | DateTime | End date |
| - modeId | Integer | i.e. 2 or None for all modes |
| - startDate | DateTime | Start date |
| - strictDates | Boolean | If true then counts and times will be limited to the range passed in, otherwise counts and times are for the entire run that started or ended during the range |
| - workOrderId | Integer | None for all workorders |
Returns
productionData pyDataset
Example
startDate = system.date.parse("2025-11-01 00:00:00")
endDate = system.date.parse("2025-11-05 00:00:00")
productionData = system.kanoa.event.getAssetProductionEventsSummary({'assetId': 510, 'startDate': startDate, 'endDate': endDate, 'strictDates': True})