Newer Version Available
Field Service, Shifts from Pattern Resource
- Resource
-
1/connect/field-service/shift-patterns/shiftPatternId/shifts - Available version
- 51.0
- Requires Chatter
- No
- HTTP methods
- GET, POST
- Request body for GET and POST
- Use GET to preview the shifts created from a pattern. Use POST to create shifts from a
pattern.
- Root XML tag
- <shiftsFromPattern>
- JSON example
-
1{ 2"schedulingStartDate": "2020-11-01" 3"schedulingEndDate": "2020-12-01" 4} - Properties
-
Name 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. Optional 51.0 serviceTerritoryId String ID of the service territory to assign shifts to. Optional 51.0
- Response body for GET and POST
- Shifts from Pattern