system.kanoa.shift.updateShift(shiftInfo, userId)
Updates a shift. All shiftInfo keys are required.
Parameters
shiftInfo Dictionary
| - assetId | Integer | |
| - shiftColor | String | |
| - shiftId | Integer | |
| - shiftNameId | Integer |
userId Integer
Returns
# of records modified Integer
Example
retVal = system.kanoa.shift.updateShift({'shiftId': 1, 'shiftNameId': 2, 'assetId': 18, 'shiftColor': '#00FF00'}, 123)