UploadFile
Uploads a new file into a specified Box folder.
Input
| Name | Type | Description |
| FilePath | String | The full local path of the file, including its name, to upload. This takes precedence over the Content input. |
| ParentId | String | The identifier of the parent folder where the file will be uploaded. If not provided, the file is uploaded to the root folder of the Box account.
デフォルト値は0です。 |
| AsUserId | String | The Id of the user to impersonate during the upload. Only works with Admin, Co-Admin, and Service Accounts. |
| FileName | String | The name of the file to upload, including its extension. Required if Content is specified. If FilePath is also provided, this value overrides the file's original name. |
| CreatedAt | Datetime | An optional timestamp indicating when the file was originally created. Defaults to the upload time if not set. Format example: '2020-01-01T12:00:00-05:00'. |
| ModifiedAt | Datetime | An optional timestamp indicating when the file was last modified. Defaults to the upload time if not set. Format example: '2020-01-01T12:00:00-05:00'. |
| Hash | String | An optional SHA1 hash of the file to validate that the file was not corrupted during upload. |
Result Set Columns
| Name | Type | Description |
| Success | String | Indicates whether the file was uploaded successfully. |
| ID | String | The unique identifier of the uploaded file. |
| VersionID | String | The identifier for the specific version of the uploaded file. |
| Hash | String | The SHA1 hash of the uploaded file, used for integrity verification. |
| Etag | String | The entity tag of the uploaded file, used for versioning and concurrency control. |