Skip to main content

What it does

Gets information about all the documents of a batch.

Definition

Document [] GetDocuments ( int sessionId, int batchId );

Parameters

NameTypeDescription
sessionIdintThe ID of the connection to the Application Server
batchIdintThe ID of the batch that contains the documents about which information is to be retrieved

Returned value

TypeDescription
Document[]The list of all documents in the batch, including the empty document that is the parent document of all the top-level documents in the batch. The collection of top-level documents can be accessed using the ChildrenOrder field of the empty parent document. The ParentId of the empty parent document is set to -1.