PUT
/
components
/
instances
/
links

Authorizations

Authorization
string
headerrequired

API Key or Token formatted as Bearer <YOUR_KEY_OR_TOKEN>

Body

application/json
parent_component_instance_id
string
required

Database id for the parent component instance id.

child_component_instance_id
string
required

Database id for the child component instance id. Note, if this component instance is serialized (component type "SN"), then it will automatically break any links it had with prior parents.

process_entry_id
string
required

Database id for the process entry where the link occured

dataset_id
string
required

Database id for the dataset for which the link was created.

break_prior_links
boolean

If true, will break all prior links for the parent. I.e. if an axle had a tire linked to it, and a new link was created with this option set to true, that link between the axle and tire would be broken.

Response

200 - application/json
broken_links
object[]

List of broken component instance links

new_link
object

Newly created component instance link

prior_link
object

If a specific link already exists between a parent and child for a given dataset & process, that already created link is returned here