ODBC Driver for Box

Build 24.0.9060

RestoreItem

Restore an item from trash. In case of a folder itemType the source folder and all of its descendants will be locked for the duration of the operation.

Input

Name Type Description
ItemId String The Id of the item file/folder to be restored.
ItemType String The type of item to be restored. Allowed values are Files and Folders.
NewName String An optional new name for the item file/folder that will be restored.
NewParentId String An optional new parentId. This will be used only when the original source folder has been deleted.

Result Set Columns

Name Type Description
Success String Whether or not the file/folder was successfully restored.
ID String Id of the restored item.
ParentId String ParentId of the restored item.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060