Tilbake til Microsoft OneDrive
Koble til Knoon AI med Microsoft OneDrive (Microsoft) for å automatisere AI-arbeidsflyter.
Copy a OneDrive or SharePoint file to another folder, with optional rename.
microsoftOneDriveCopyFile
BETA
Tillatelser
Valgfrie tillatelser
Parametere
| Navn | Type | Beskrivelse | Påkrevd |
|---|---|---|---|
| fileId | file | Select the file to copy. | Ja |
| destinationFolderId | file | Select the destination folder. | Ja |
| newFileName | mustache | Optional. Name for the copied file (e.g. "report-copy.pdf"). | Nei |
| overwriteExisting | boolean | If true, overwrite the file if it already exists at destination. If false, return an error. | Nei |
Returer
| Navn | Type | Beskrivelse |
|---|---|---|
| status | string | COPIED or ERROR. |
| sensitive.fileId | string | DriveItem ID of the copied file. |
| sensitive.name | string | Copied file name. |
| sensitive.mimeType | string | File MIME type. |
| sensitive.size | string | Size (bytes). |
| sensitive.parentReference | object | Parent reference metadata for the copied file. |
| confidential.webUrl | string | Web URL to open the item (if available). |



