Java Client Add Document

The addDocument method allows an actor to add a document to a record that exists on the Indivo server. Prior to adding the document, the actor must establish an active session using the authenticate method.

View the Java docs for method definitions and parameter descriptions.

= Code examples =

Add document
The following sample shows how to authenticate and use the session to add a document to a record. In this case, the document is an annotation and is created using a utility class. Note that the annotation does not actually contain a payload as this is not necessary for demonstration purposes.