ConnectApi.ShiftsFromPatternInput
Shifts from a pattern.
| Property | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
schedulingEndDate | String | Scheduling end date in YYYY-MM-DD format. Provide schedulingEndDate or schedulingOccurrences. Don’t provide both. | Required if schedulingOccurrences isn’t provided | 51.0 |
schedulingOccurrences | Integer | Number of scheduling occurrences. Provide schedulingEndDate or schedulingOccurrences. Don’t provide both. | Required if schedulingEndDate isn’t provided | 51.0 |
schedulingStartDate | String | Scheduling start date in YYYY-MM-DD format. | Required | 51.0 |
serviceResourceId | String | ID of the service resource to assign shifts to. In version 53.0 and later, use serviceResourceIdList. | Optional | 51.0–52.0 |
serviceResourceIdList | List<String> | List of service resource IDs to assign shifts to. | Optional | 53.0 |
serviceTerritoryId | String | ID of the service territory to assign shifts to. | Optional | 51.0 |
shiftStatus | String | Status of the shifts. Default values are:
| Optional | 52.0 |
See Also