system.kanoa.shift.updateShiftField(shiftId, field, value, userId)
Updates the passed field value for the given shift.
Parameters
shiftId Integer: Id of the shift to update
field String: Valid options are shiftNameId, assetId, shiftColor
value pyObject: Value to update to
userId Integer
Returns
# of records modified Integer
Example
retVal = system.kanoa.shift.updateShiftField(1, 'shiftNameId', 3, 123)