Skip to main content

system.kanoa.event.getModeEvents(paramsDict)

Returns mode events. paramsDict keys are optional


Parameters

paramsDict Dictionary

- assetIdInteger
- endDateDateTimeIf both startDate and endDate are passed, returns all modeEvents during this date range
- modeEventIdInteger
- startDateDateTimeReturns the modeEvent that started at this time if only startDate is passed for dates
- tStampDateTimeReturns the modeEvent active at this time
- workOrderIdInteger

Returns

modeEventData pyDataset


Example

paramsDict = {
'assetId': 18,
'startDate': system.date.parse("2025-11-03 00:00:00"),
'endDate': system.date.parse("2025-11-05 00:00:00")
}
mode_events_data = system.kanoa.event.getModeEvents(paramsDict)