Updates the constraint rule corresponding for given @contraint_rule_sid for the 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 constraint rule since it cannot be changed. If @rule_type is set to MIN_SKILL_LEVEL, the @member_target_entity field must be set with a skill proficiency, otherwise it should not be set and field will be ignored. If the @target_sid is for a different skill proficiency than the current one the constraint rule has as a target, the old one will be deleted and a new one will be created for the given @member_target_entity. If @rule_type is NOT MIN_SKILL_LEVEL then the @target_sid must be that of a scheduling activity. The all other @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: one or more fields in the @constraint_rule have invalid values.
grpc.NotFound: entry to be updated doesn't exist, or the @parent_entity has a different @schedule_scenario_sid than the constraint rule. : the given @target_sid for the given @rule_type, or @parent_entity don't exist.
grpc.Internal: error occurs when updating the constraint rule.
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/updateconstraintrule' \
--header'Content-Type: application/json' \
--data-raw''