Document Representations (DocumentSet and DocSet)

Expere IE offers two ways to represent a set of documents: the DocumentSet and the DocSet objects. The DocumentSet is a simple list of documents used to group documents for a request (or a response as well) while the DocSet is a much richer representation of documents that allows multiple groups of documents based on the intended recipient. A DocSet is always used to represent a fully assembled set of documents, where a DocumentSet may represent either a list of unassembled documents or fully assembled documents. As such, the most common use of a DocumentSet is in a request for documents where the DocumentSet is used to group a list of documents and their corresponding DocumentID elements.

While some operations allow either a DocumentSet or a DocSet to be used on the request, you are encouraged to call the DocSet when working with fully assembled documents. The standard usage is to use the DocumentSet when specifying lists of documents and use the DocSet when working with fully assembled documents. The operations that permit either object on the request include:
Expere IE returns both the DocumentSet and DocSet objects on a request to generate documents. Operations that return both objects in the response include:

A visual representation of the DocSet object looks like:

The object contains IDs along with package and packet objects.

A visual representation of the DocumentSet object looks like:

The object contains document objects, post-processing instructions (AncillaryOutput options), and data objects.
The Data object is returned as part of the DocInstance or Packet under the following conditions: