Power BI Connector for Box

Build 24.0.9060

UploadFileVersion

Uploads a new version of an existing File.

Input

Name Type Description
FilePath String The path of the file including the name.
FileId String The Id of the file to be modified.
NewName String An optional new name for the file. If specified, the file will be renamed when the new version is uploaded. Provide the extension of the file within the name, for example: SampleFile.txt .
AsUserId String The Id of the user you want to impersonate. Only works with Admin, Co-Admin and Service Accounts.
ModifiedAt Datetime Defines the time the file was last modified at. If not set, the upload time will be used. As an example, '2020-01-01T12:00:00-05:00'.
Hash String An optional input containing the SHA1 hash of the file to ensure that the file was not corrupted in transit.
IfMatch String Ensures this item hasn't recently changed before making changes. Pass in the item's last observed etag value into this header and the endpoint will fail with a 412 Precondition Failed if it has changed since.

Result Set Columns

Name Type Description
Success String Whether or not the file was successfully uploaded.
ID String Id of the updated file.
VersionID String Id of a specific version of the file.
Hash String The SHA1 hash of the file.
Etag String Many of the file system items (files or folders) that can be requested via the API return an etag value for the item.

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