Skip to main content

Link an OPC-UA object node to an existing asset

PUT 

/opc-ua/nodes/:opcUaNodeId/asset

Links a browsed OPC-UA object node to an asset that already exists, and nothing else: the asset keeps its name, its properties and its place in the hierarchy, and the variables of the object keep their retrieval configuration.

The counterpart of POST /opc-ua/assets, which creates the asset itself. This is the way in for an asset built elsewhere - by a script deriving the hierarchy from the address space, for instance, or for an object that has to be re-linked after DELETE.

An asset comes from exactly one OPC-UA object and an object feeds exactly one asset, so a node or an asset that is already linked is refused with 409. Use DELETE first to move a link.

Request

Responses

The link was created. Only the link: the variables of the object keep whatever retrieval configuration they have, and none of them is activated by this - use POST /opc-ua/signals or PUT /opc-ua/nodes/{opcUaNodeId} for that.