Publishes the shift instances of the given @draft_schedule_sid to the published schedule of the org sending the request. Overlapping shift instances that aren't locked will be replaced with the instances from the draft schedule. If @ignore_diagnostics_errors is set to true, it will publish the schedule regardless of any diagnostics errors, otherwise it will return those diagnostic errors and not publish the schedule. does not return any shift instances on the published schedule. Errors:
grpc.Invalid: the parameters in the @req are invalid..
grpc.NotFound: @draft_schedule_sid doesn't exist.
grpc.Internal: error occurs when publishing the draft schedule.
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/publishdraftschedule' \
--header'Content-Type: application/json' \
--data-raw''