Document
Copy
For adding new Documents:
<BatchLoaderPrototype>
<Item type="Document" action="add">
<item_number>@1</item_number>
<name>@2</name>
<description>@3</description>
<owned_by_id>
<Item type="Identity" action="get" select="id">
<keyed_name>@4</keyed_name>
</Item>
</owned_by_id>
<managed_by_id>
<Item type="Identity" action="get" select="id">
<keyed_name>@5</keyed_name>
</Item>
</managed_by_id>
<classification>@6</classification>
<authoring_tool>@7</authoring_tool>
<authoring_tool_version>@8</authoring_tool_version>
</Item>
</BatchLoaderPrototype>
For adding a new document with an attached file:
<BatchLoaderPrototype>
<Item type="Document" action="add">
<item_number>@1</item_number>
<name>@2</name>
<description>@3</description>
<owned_by_id>
<Item type="Identity" action="get" select="id">
<keyed_name>@4</keyed_name>
</Item>
</owned_by_id>
<managed_by_id>
<Item type="Identity" action="get" select="id">
<keyed_name>@5</keyed_name>
</Item>
</managed_by_id>
<classification>@6</classification>
<authoring_tool>@7</authoring_tool>
<authoring_tool_version>@8</authoring_tool_version>
<Relationships>
<Item type="Document File" action="add">
<related_id>
<Item type="File" action="add">
<actual_filename>@9</actual_filename>
<filename>@10</filename>
<Relationships>
<Item type="Located" action="add">
<related_id>67BBB9204FE84A8981ED8313049BA06C</related_id>
</Item>
</Relationships>
</Item>
</related_id>
</Item>
</Relationships>
</Item>
</BatchLoaderPrototype>