FieldService Class
Preview and create shifts from a pattern.
These methods are for FieldService. All methods are static.
Create up to 2,000 shifts from a pattern.
51.0
Yes
public static ConnectApi.ShiftsFromPattern createShiftsFromPattern(ConnectApi.ShiftsFromPatternInput shiftsFromPatternInput, String shiftPatternId)
- shiftsFromPatternInput
Type:
ConnectApi.ShiftsFromPatternInputA
ConnectApi.ShiftsFromPatternInputobject providing the pattern.- shiftPatternId
Type: String
ID of the shift pattern.
Type: ConnectApi.ShiftsFromPattern
Preview up to 2,000 shifts from a pattern.
51.0
Yes
public static ConnectApi.ShiftsFromPattern previewShiftsFromPattern(ConnectApi.ShiftsFromPatternInput shiftsFromPatternInput, String shiftPatternId)
- shiftsFromPatternInput
Type:
ConnectApi.ShiftsFromPatternInputA
ConnectApi.ShiftsFromPatternInputobject providing the pattern.- shiftPatternId
Type: String
ID of the shift pattern.