Creating Information Elements

All Information Element Types can be created as an empty Information Element. By providing the Namespace of the desired Information Element Instance Type. the IE of that type will be created.

By posting the following example in the Body of a Create InformationElement the IE will be created of the specified type:

DataNode and Information Elements

Information Element is a specialization of Datanode. All basic properties from a Datanode is available on an Information Element.

Properties

The following properties are needed to create an Information Element of any type. The properties are inherited from Datanode.

Property Description
displayName The display name of the Information Element. String. Not null.
namespace The Information Element Instance Type Namespace. This property controls what type of Information Element is created. String. Not null.
parentId The Id of the Entity or Information Element that the created Information Element should be attached to. Guid. Not null.
parentNamespace The Namespace of the Entity or Information Element that the created Information Element should be attached to. String. Not null.

:exclamation: Do NOT use the IE Base Type Namespace
It is the namespace property that controls what type of Information Element is created. It is very important to notice that the namespace should be an Information Element Instance Type namespace and NOT a Information Element Base Type Namespace.

Create example

{
    "displayName": "My new Information Element",
    "namespace": "dk.realequity.ie.phonenumber.mytype",
    "parentId": "e4ec5d5b-09f5-423e-891b-f73501c1c4b9",
    "parentNamespace": "dk.realequity.actor.contact.person",
}