Insert a Node

To insert a node into OpenText, your XML must include the following properties and metadata fields:

Type Required Name Description
Property Yes ParentNode The parent node for the new node you want to insert.
Property Optional Type The OpenText object type (default 144).
Metadata field Optional mime_type The MIME type for the content.

For example, the value of your insertXML action parameter might look like this:

<insertXML>      
  <insert>
    <property name="ParentNode" value="..."/>
    <property name="Type" value="144"/>
    <xmlmetadata>
      <mime_type>application/msword</mime_type>
    </xmlmetadata>
    <file>
      <type>content</type>
      <content>base-64-content</content>
    </file>
  </insert>
</insertXML>