ConnectApi.ShiftsFromPatternInput

Shifts from a pattern.

PropertyTypeDescriptionRequired or OptionalAvailable Version
schedulingEnd​DateStringScheduling end date in YYYY-MM-DD format.
Provide schedulingEndDate or schedulingOccurrences. Don’t provide both.
Required if scheduling​Occurrences isn’t provided51.0
scheduling​OccurrencesIntegerNumber of scheduling occurrences.
Provide schedulingEndDate or schedulingOccurrences. Don’t provide both.
Required if schedulingEnd​Date isn’t provided51.0
schedulingStart​DateStringScheduling start date in YYYY-MM-DD format.Required51.0
serviceResourceIdStringID of the service resource to assign shifts to.
In version 53.0 and later, use serviceResourceIdList.
Optional51.0–52.0
serviceResourceId​ListList<String>List of service resource IDs to assign shifts to.Optional53.0
serviceTerritoryIdStringID of the service territory to assign shifts to.Optional51.0
shiftStatusStringStatus of the shifts. Default values are:
  • Confirmed
  • Published
  • Tentative
Additional status values can be created.
Optional52.0

See Also