AssetDatabase AddReferencedElement
- Last UpdatedJun 15, 2023
- 1 minute read
- PI System
- PI Web API Reference
- Developer
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.