Skip to main content

setShiftCodes

Create or replace one or more shift codes.

Parameter

An object where the keys are shift code names, and the values are Shift code objects.

Return value

null

Example

setShiftCodes {"SHIFT": {"shifts": [{"offset": 360, "code": "DAY"}, {"offset": 1080, "code": "NIGHT"}]}}