Copies the given @shift_instance_sids to @destination_schedule for the org sending the request. If there are any overlap conflicts on @destination_schedule and @overlap_as_warning is set to false, then @shift_instance_sids will not be copied, and a list of diagnostics detailing the overlaps will be returned. If @overlap_as_warning is set to true, overlap conflicts will not prevent the shifts from being copied, and the overlap diagnostics will be returned after as warning messages instead. This endpoint can only copy shifts to a draft schedule. To copy shifts to the published schedule use the CopyShiftsToPublishedSchedule endpoint. Errors:
grpc.Invalid: one or more fields in the request have invalid values.
grpc.NotFound: the @shift_instance_sids or @destination_schedule does not exist for the org sending the request.
grpc.Internal: error occurs when copying the shift instances.
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
Example
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.cbf.tcn.com/api/v1alpha1/wfm/copyshiftinstancestoschedule' \
--header'Content-Type: application/json' \
--data-raw''