Skip to main content

system.kanoa.operators.getOperatorShiftAssignments(paramsDict)

Returns operator shift assignment rows filtered by whichever keys are present in paramsDict - every key is optional


Parameters​

paramsDict Dictionary

- assetIdInteger
- crewIdInteger
- endDateDateTimepaired with startDate
- isActiveBoolean
- startDateDateTimepaired with endDate filter to assignments overlapping the range
- userIdInteger

Returns​

assignmentData Dataset


Example​

paramsDict = {'crewId': 4}
assignmentData = system.kanoa.operators.getOperatorShiftAssignments(paramsDict)