Copies the given @shift_instance_sids to published schedule for the org sending the request. If there are any overlap conflicts on published 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. This endpoint can only copy shifts to the published schedule. To copy shifts to a draft schedule use the CopyShiftInstancesToSchedule endpoint. Errors:
grpc.Invalid: one or more fields in the request have invalid values.
grpc.NotFound: the @shift_instance_sids do 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/copyshiftstopublishedschedule' \
--header'Content-Type: application/json' \
--data-raw''