A package is a grouping of documents, usually belonging to a common line of business such as Mortgage or Home Equity. In the Expere Document Engine, packages are defined as XML documents that can be used to collect and organize PackageDocs (PKGD.* files), including the order in which documents are output. Package files, in turn, the XML files that reference a particular document (whether a template or dynamic document) in the Expere Knowledge Base. Packages are referenced by name; and all package files begin with a PKG prefix and package names also begin with PKG.
The ExpereAPI provides methods to select documents in a package, list available packages, and get the list of documents that belong to a package. Any number of packages can be defined and any number of PackageDocs can be referenced in a package.
The SelectAndGenerateoperation is used to return the applicable documents in a package based on the autoselection logic. The ListDocuments operation can be used to obtain a list of documents within a given package based on a PackageID submitted on the request. In this method, the PackageID determines the list of documents and not autoselection rules. The ListPackages operation can be used to return a list of packages based on an organization object submitted on the request.