Updates the @name, @description, and @datetime_range of the given @draft_schedule_sid for the org sending the request. The @name, @description, and @datetime_range fields must all be set with their desired values. If @delete_shifts_not_in_range if true, then any instances outside of the @datetime_range will be permenantly deleted with no recovery option. If @delete_shifts_not_in_range is false, instances outside of the new @datetime_range will be retained, for use if the datetime range is expanded to cover the instances in the future. If @copy_shifts_into_new_range time is true, then new the portion of an expanded @datetime_range which has no instances will copy the instances from the published schedule. If false, no instances will be created for an expanded @scheduling_range. Returns the updated schedule without any shift instances. Errors:
grpc.Invalid: the @name, @description or @datetime_range are invalid.
grpc.Internal: error occurs when updating the schedule or its 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/updatedraftschedule' \
--header'Content-Type: application/json' \
--data-raw''