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

PI Web API Reference

Element AddReferencedElement

Element AddReferencedElement

Add a reference to an existing element to the child elements collection. This action does not expect any request body. Please refer to the URL Parameters section.

Request

POST elements/{webId}/referencedelements

URL Parameters

  • webId

    The ID of the element 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. 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