Request body for creating an entry.

interface ICreateEntryRequest {
    autoRename?: boolean;
    entryType: CreateEntryRequestEntryType;
    name: string;
    targetId?: number;
    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.

The type of the entry.

name: string

The name of the entry.

targetId?: number

The TargetId is only needed for creating a shortcut. This will be the entry ID of the shortcut target.

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.