Creates the @shift_instance with any member shift segments and shift segment call stats for the org sending the request. If @ignore_diagnostics_errors any diagnostics encountered will be returned as warnings, and the shift will still be created. Otherwise, any diagnostics triggered by the given @shift_instance will be returned and the shift will not be created. Can only create shifts for the published schedule. Draft shifts with segments require the CreateShiftInstanceWithSegments endpoint. Errors:
grpc.Invalid: one or more fields in the request have invalid values.
grpc.NotFound: the fields referenced in @shift_instance or its member shift segments don't exist for the org.
grpc.Internal: error occurs when creating the shift instance or its members.
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/createpublishedshiftwithsegments' \
--header'Content-Type: application/json' \
--data-raw''