Stored Procedures
Stored procedures are function-like interfaces that extend the functionality of the adapter beyond simple SELECT/INSERT/UPDATE/DELETE operations with Box.
Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from Box, along with an indication of whether the procedure succeeded or failed.
Box Adapter Stored Procedures
Name | Description |
AddMetadataTemplatestoFile | Applies an instance of a metadata template to a file. |
CopyFile | Copy a File. |
CopyFolder | Copy a Folder. |
CreateSchema | Creates a schema file for the specified table or view. |
CreateSignRequest | Create a Sign Request. |
DeleteFile | Delete a File. |
DownloadFile | Downloads a File. |
EmptyTrash | Clear the recycle bin/trash. |
GetOAuthAccessToken | Gets an authentication token from Box. |
GetOAuthAuthorizationURL | Gets the authorization URL, which must be opened separately by the user to grant access to your application. Only needed when developing Web apps. You will request the auth token from this URL. |
LockFile | Lock a file. |
RefreshOAuthAccessToken | Refreshes the OAuth access token used for authentication with Box. |
RestoreItem | Restore an item from trash. In case of a folder itemType the source folder and all of its descendants will be locked for the duration of the operation. |
ShareAnItem | Shares a File, Folder or Bookmark. |
UnlockFile | Unlock a file. |
UpdateFile | Update a File. |
UploadFile | Uploads a File. |
UploadFileVersion | Uploads a new version of an existing File. |