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
| - assetId | Integer | |
| - crewId | Integer | |
| - endDate | DateTime | paired with startDate |
| - isActive | Boolean | |
| - startDate | DateTime | paired with endDate filter to assignments overlapping the range |
| - userId | Integer |
Returns
assignmentData Dataset
Example
paramsDict = {'crewId': 4}
assignmentData = system.kanoa.operators.getOperatorShiftAssignments(paramsDict)