Skip to main content

system.kanoa.shift.updateShift(shiftInfo, userId)

Updates a shift. All shiftInfo keys are required.


Parameters

shiftInfo Dictionary

- assetIdInteger
- shiftColorString
- shiftIdInteger
- shiftNameIdInteger

userId Integer


Returns

# of records modified Integer


Example

retVal = system.kanoa.shift.updateShift({'shiftId': 1, 'shiftNameId': 2, 'assetId': 18, 'shiftColor': '#00FF00'}, 123)