system.kanoa.shift.getShiftEvents(paramsDict)
Returns shift events for the given parameters. paramsDict keys are optional.
Parameters
paramsDict Dictionary
| - assetId | Integer | |
| - assetPath | String | |
| - endDate | DateTime | Can be None to return shift events up to the current time |
| - shiftId | Integer | |
| - shiftName | String | |
| - shiftNameId | Integer | |
| - startDate | DateTime |
Returns
shiftEventData pyDataset
Example
startDate = system.date.parse("2025-01-01 00:00:00")
endDate = None
shiftEventData = system.kanoa.shift.getShiftEvents({'assetId': 1})