ODBC Driver for Microsoft OneDrive

Build 24.0.8963

CopyResource

Copy a resource from one directory in your drive to another.

Input

Name Type Required Description
ParentID String True The ID of the folder you want to copy the resource to.
NewName String False The new name of the copied resource. If not specified, the resource will be copied with the same name it already has and to the directory it currently is, no matter the value of ParentID.
ResourcePath String False The location of the resource. Either ResourceId or ResourcePath is required for this operation.
ResourceId String False Id of the resource. Either ResourceId or ResourcePath is required for this operation.
SourceDriveId String False The Id of the drive the resource is located in if this is different from the current user drive.
DestinationDriveId String False The Id of the drive to copy the resource to, if this is different from the SourceDriveId.

Result Set Columns

Name Type Description
Success String File copy results.

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