Box
Box Adapter
The Box Adapter gives you access to Files and Folders using SQL commands and REST requests.
This adapter requires a subscription with the Box service.
Want to try it in Azure?
Click here to learn more or
click here to create a new Enzo Server RTM 3.1 Azure VM now.
Want to try it in AWS?
Click here to learn more or
click here to create a new Enzo Server RTM 3.1 AWS VM now.
OAuth Configuration
This adapter requires OAuth to be configured.
Download the Box configuration instructionsConfiguration Settings
Name | Description | Default |
---|---|---|
Boolean _isDefault | Make this the default configuration. Defaults to true if configName is already the default. | |
String accessToken | The Box service accessToken assigned to you | |
String refreshToken | The Box refreshToken | |
String clientId | The clientId assigned to your registered application | |
String clientSecret | The app client secret key assigned to your application |
Handlers
CreateFolder
Folders |
Create a new folder at specific path
details
Arguments
SQL CallEXEC Box.CreateFolder 'test' Http Call/box/createfolder Output ColumnsThis call does not return data. |
||||||||||||||||||||||||||||
DeleteFile
files |
Delete file given a file name
details
Arguments
SQL CallEXEC Box.DeleteFile @fileName='abc.txt' Http Call/box/deletefile Output ColumnsThis call does not return data. |
||||||||||||||||||||||||||||
DeleteFolder
Folders |
Delete folder given the folder name
details
Arguments
SQL CallEXEC Box.DeleteFolder @folderName='/TestFolder1' Http Call/box/deletefolder Output ColumnsThis call does not return data. |
||||||||||||||||||||||||||||
DownloadFile
|
upload file at box on given path
details
Arguments
SQL CallEXEC Box.DownloadFile '/abc.txt' Http Call/box/downloadfile Output Columns
|
||||||||||||||||||||||||||||
getAuthURL
authURL |
Get Authentication url
details
ArgumentsSQL CallEXEC Box.getAuthURL Http Call/box/getauthurl Output Columns
|
||||||||||||||||||||||||||||
getTokens
tokens |
Get authentication token
details
Arguments
SQL CallEXEC Box.getTokens 'code here from getAuthURL Function' Http Call/box/gettokens Output Columns
|
||||||||||||||||||||||||||||
ListFiles
Files |
Read all the files from Box root or folder specified
details
Arguments
SQL CallEXEC Box.ListFiles Http Call/box/listfiles Output Columns
|
||||||||||||||||||||||||||||
RenameFile
files |
Rename an existing file
details
Arguments
SQL CallEXEC Box.renamefile @sourceFileName='/abc.txt',@fileName='test2.txt' Http Call/box/renamefile Output ColumnsThis call does not return data. |
||||||||||||||||||||||||||||
RenameFolder
folders |
Rename the folder
details
Arguments
SQL CallEXEC Box.renamefolders @sourceFolderName='/TestFolder',@folderName='test2' Http Call/box/renamefolder Output ColumnsThis call does not return data. |
||||||||||||||||||||||||||||
UploadFile
File |
Upload a file to Box
details
Arguments
SQL CallEXEC Box.UploadFile 'c: mp est.zip', 'test.zip' Http Call/box/uploadfile Output Columns
|