# SelectAndGenerate

## Overview

The SelectAndGenerate operation is a business process encapsulation method that performs autoselection and document assembly.
Note: This operation, along with the Select and Generate operations, are the primary operations used to perform document assembly.

This operation is used to generate documents based on parameters submitted in the request. The request takes a Transaction and Organization object, along with either a PackageID or LOBPhase and document post-processing instructions and returns a DocSet object and an array containing documents (as DocumentSet objects) along with the RequestID as the payload.

Operation | SelectAndGenerate
--- | ---
Style | document
Operation Type | Request-response. The endpoint receives a message, and sends a correlated message.
SOAP Action | http://schemas.bankerssystems.com/2004/ExpereAPI/ExpereIEServices/IExpereAPI/SelectAndGenerate
Input | SelectAndGenerateRequest
Output | SelectAndGenerateResponse

Related reference
SelectAndGenerateRequest
SelectAndGenerateResponse