Request body for starting an asynchronous import entry task.

interface IStartImportUploadedPartsRequest {
    autoRename?: boolean;
    importAsElectronicDocument?: boolean;
    metadata?: ImportEntryRequestMetadata;
    name: string;
    partETags: string[];
    pdfOptions?: ImportEntryRequestPdfOptions;
    uploadId: string;
    volumeName?: string;
}

Implemented by

Properties

autoRename?: boolean

Indicates if the entry should be automatically renamed if an entry already exists with the given name in the folder. The default value is false.

importAsElectronicDocument?: boolean

Whether the file is imported as the electronic document (true) or as image pages (false). Default: false. This flag is only effective when the file extension is one of: txt, tif, tiff, bmp, pcx, jpg, jpeg, gif, png. For any other file type (PDF, Word, Excel, etc.), the file is always imported as the electronic document regardless of this flag.

The metadata that will be assigned to the entry.

name: string

The name for the imported entry.

partETags: string[]

The array of the ETag values received when writing the file chunks into the upload URLs. The ETag values should be in the order of their associated upload URLs, i.e. {eTag received when writing to the first URL}, {eTag received when writing to the second URL}, ...

Server-side processing options applied to the imported file. See ImportEntryRequestPdfOptions for the full contract.

uploadId: string

The UploadId received when calling the CreateMultipartUploadUrls API to request upload URLs.

volumeName?: string

The name of the volume to use. Will use the default parent entry volume if not specified. This is ignored in Laserfiche Cloud.