# SelectAndGenerateIn

The SelectAndGenerateIn object is submitted as part of the SelectAndGenerate request message (input).

Parameter | Type | Description
--- | --- | ---
DocumentFormat | string | A string identifying the format of the document to return. Options include: PDF, Raw XML, TRF, Tagged PDF.
DaysToPersistInLongTermStorage | int | An integer indicating the number of days to keep the document available in the system.
AccountIdentifier | long | An element indicating the Administration account in which to associate the request.
TransactionData | xml | Transaction data in the form of a XML file that will be used to process the request.
ContentIdentifier | string | A string identifying the type of content to be used.
AncillaryOutputOptions | array | A sequence of elements indicating Watermark and Barcode information. AncillaryOutPutOptions is an array of AncillaryOutputOption
Attachments | array | An array, ArrayOfAttachments, containing attachment objects. The Attachment object contains the requested file as a PDF and includes description information about the attached PDF. Attachment format. Attachments are base64 encoded. The code reads the file and the uses a .net library call to encode the file for transmission: `Attachment = Convert.ToBase64String(data, 0, strLen)` Convert can be found in `System.Convert`
AttachmentPosition | enum | An enumerator indicating the location of the attachment in relation to the documents.
Callback | string | A sequence of elements indicating the Callback URL, Username and Password.
PassThroughIdentifier | string | The PassThroughIdentifier is an optional user-defined generated parameter. This parameter is case-sensitive. The PassThroughIdentifier MUST be unique for each request. If a PassThroughIdentifier has been submitted previously for an account and exists in the database, Expere Document Services will return the original transaction ID. A new transaction ID will not be created. If the PassThroughIdentifier is passed in the request and the parameter is empty (null), Expere Document Services will process the request and return a new transaction ID.