Gets the draft schedule with @draft_schedule_sid for the corresponding @datetime_range for the org sending the request. The @datetime_range field is optional. If not set, the draft schedule will be obtained with it's default range from it's start to end time. Does not return any shift instances on the draft schedule. Errors:
grpc.Invalid: the @datetime_range or @draft_schedule_sid are invalid.
grpc.NotFound: the @node_selector or @draft_schedule_sid doesn't exist.
grpc.Internal: error occurs when getting 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/getdraftschedule' \
--header'Content-Type: application/json' \
--data-raw''