Upserts an association for the given @non_skill_activity_sid to the given @node. All downstream members of the entity will have their inheritance state cleared, and inherit the given association. If an association already exists between the non skill activity and the @node then their @relationship_type will be updated. The @schedule_scenario_sid must match the scenario of the @parent_entity. If a NOT_ASSOCIATED_WITH relationship is being created, the tree will be checked for conflicting downstream effects. If any member rules, are referencing the non skill activity and @relationship_type is NOT_ASSOCIATED_WITH, then the upsert will not take effect, and the list of related entities to be updated/removed first will be returned. Errors:
grpc.Invalid: the @non_skill_activity_sid, @node or @association_type are invalid. : the non skill activity and @node belong to different scenarios.
grpc.NotFound: the @non_skill_activity_sid or @node don't exist.
grpc.Internal: error occurs when upserting the association.
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/upsertnonskillactivityassociation' \
--header'Content-Type: application/json' \
--data-raw''