Updates a shift template for the given @shift_template_sid and org sending the request with the provided parameters. All of the entity's parameters that are not desired to be updated must be filled with their current values. The @schedule_scenario_sid must be the original for this shift template since it cannot be changed. The @member fields will be ignored since those cannot be updated by this method and must be updated by their respective update methods. Errors:
grpc.Invalid: the @shift_template_sid, @name, @program_node_sid are invalid.
grpc.AlreadyExists: a shift template with the given @name already exists.
grpc.NotFound: the parent program node doesn't exist or belongs to a different scenario than the shift template to update.
grpc.Internal: error occurs when updating the shift template.
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
No schema defined
Example
Request 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/updateshifttemplate' \
--header'Content-Type: application/json' \
--data-raw''