system.kanoa.shift.getShiftEvents
Description
Returns shift events filtered by the given parametersSyntax
getShiftEvents(paramsDict)- paramsDict (dict)
- - assetId (int)
- - assetPath (string)
- - shiftId (int)
- - shiftName (string)
- - shiftNameId (int)
- shiftEventsData (pyDataSet)
Code Example
startDate = system.date.parse("2025-01-01 00:00:00")
endDate = None
shiftData = system.kanoa.shift.getShiftEvents({'assetId': 1})