Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI Web API Reference

AssetDatabase AddReferencedElement

AssetDatabase AddReferencedElement

Add a reference to an existing element to the specified database.

Request

POST assetdatabases/{webId}/referencedelements

URL Parameters

  • webId

    The ID of the database which the referenced element will be added to. See WebID for more information.

  • referencedElementWebId

    The ID of the referenced element. Multiple referenced elements may be specified with multiple instances of the parameter. See WebID for more information.

  • referenceType

    The name of the reference type between the parent and the referenced element. This must be a "strong" reference type. The default is "parent-child". See Reference Type for more information.

Status Codes

204: The referenced element was successfully added.

409: The referenced element already exists in the collection.

In This Topic
TitleResults for “How to create a CRG?”Also Available in