Table Folders
Description
No description available
Supported Operations
Below section contains supported CRUD operations. Each operation is executed by some EndPoint behind the scene.| Method | Supported | Reference EndPoint |
|---|---|---|
| SELECT | list_files | |
| INSERT | ||
| UPDATE | ||
| UPSERT | ||
| DELETE | delete_item | |
| LOOKUP |
Examples
SSIS
Use OneDrive Connector in API Source component to read data or in API Destination component to read/write data:
Read from Folders table using API Source
API Source - OneDrive
Read and write Microsoft OneDrive data effortlessly. Integrate, manage, and automate files and folders — almost no coding required.
OneDrive
Folders
| Required Parameters | |
|---|---|
| Record Filter (Client Side) | Fill-in the parameter... |
| Drive Id / Shared Folder | Fill-in the parameter... |
| Optional Parameters | |
| Default Group or User Id (additional Scopes needed to list - If fails enter manually) | |
| Search Type (Default=Recursive) | search(q='') |
| Search Path (Default=Root Folder) - Max 200 listed | /root |
| Order By Field(s) - Only for Recursive SearchType | |
Read/write to Folders table using API Destination
API Destination - OneDrive
Read and write Microsoft OneDrive data effortlessly. Integrate, manage, and automate files and folders — almost no coding required.
OneDrive
Folders
Select
| Required Parameters | |
|---|---|
| Record Filter (Client Side) | Fill-in the parameter... |
| Drive Id / Shared Folder | Fill-in the parameter... |
| Optional Parameters | |
| Default Group or User Id (additional Scopes needed to list - If fails enter manually) | |
| Search Type (Default=Recursive) | search(q='') |
| Search Path (Default=Root Folder) - Max 200 listed | /root |
| Order By Field(s) - Only for Recursive SearchType | |
ODBC application
Use these SQL queries in your ODBC application data source:
Read all folders (recursive)
<p>Gets all folders recursively (no files). Use this when you need only folder metadata or the folder tree. For files and folders together use Read all files and folders.</p>
SELECT * FROM Folders
SQL Server
Use these SQL queries in SQL Server after you create a data source in Data Gateway:
Read all folders (recursive)
<p>Gets all folders recursively (no files). Use this when you need only folder metadata or the folder tree. For files and folders together use Read all files and folders.</p>
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM Folders';
EXEC (@MyQuery) AT [LS_TO_ONEDRIVE_IN_GATEWAY];