Request body for importing an entry.

interface IImportEntryRequest {
    autoRename?: boolean;
    importAsElectronicDocument?: boolean;
    metadata?: ImportEntryRequestMetadata;
    name: string;
    pdfOptions?: ImportEntryRequestPdfOptions;
    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

Indicates if the document should be imported as an electronic document (true) or as image pages (false). The default value is false. This option is only applicable when importing the following document types: txt, tif, tiff, bmp, pcx, jpg, jpeg, gif, png.

The metadata that will be assigned to the entry.

name: string

The name for the imported entry.

The options applied when importing a PDF.

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.