跳到主要内容

BatchRequestDto

The files and folders to move or copy, the folder they go to, and the way name clashes are settled.

NameTypeDescriptionNotes
returnSingleOperationBooleanWhich operations the answer carries: true returns the operation this call started and nothing else, false returns every operation of the same kind that the caller has running or unread. When nothing was queued, which happens for an empty selection, true falls back to the full list.[optional]
folderIdsListThe folders to move or copy, by id. A number addresses a folder stored in the portal itself, a string addresses a folder on a connected third-party account, and both kinds may be sent in one list.[optional] [nullable]
fileIdsListThe files to move or copy, by id. A number addresses a file stored in the portal itself, a string addresses a file on a connected third-party account, and both kinds may be sent in one list.[optional] [nullable]
destFolderIdBatchRequestDto_allOf_destFolderId[optional]
conflictResolveTypeFileConflictResolveTypeWhat happens to an item whose name is already taken in the destination folder: skip leaves it where it is, overwrite replaces the entry at the destination, and duplicate places it beside that entry under a name with a numeric suffix. GET api/2.0/files/fileops/move reports which items would clash.[optional] [enum: Skip, Overwrite, Duplicate]
deleteAfterBooleanWhether the finished operation is still reported: false keeps its final record readable through GET api/2.0/files/fileops until it has been read once, true drops the record as soon as the work is done. It deletes nothing: a move takes the sources away in any case, and a copy always leaves them.[optional]
contentBooleanWhat is taken from a listed folder: false moves or copies the folder itself, true takes only what it contains, so its files and subfolders land in the destination and the folder is not recreated there.[optional]
toFillOutBooleanMarks every copied PDF form as a draft prepared for filling, which is how such a copy reports its filling status in a virtual data room. Files that are not forms are left unaffected.[optional]