EndPoint Read Drive
Parameters
Output Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Raw | Description |
---|---|---|---|---|---|
Id |
DT_WSTR
|
nvarchar(500)
|
500 | False |
|
Name |
DT_WSTR
|
nvarchar(300)
|
300 | False |
|
Description |
DT_WSTR
|
nvarchar(500)
|
500 | False |
|
DriveType |
DT_WSTR
|
nvarchar(60)
|
60 | False |
|
CreatedAt |
DT_DBTIMESTAMP
|
datetime
|
False |
||
CreatedByUser |
DT_WSTR
|
nvarchar(56)
|
56 | False |
|
LastModifiedAt |
DT_DBTIMESTAMP
|
datetime
|
False |
||
LastModifiedByUser |
DT_WSTR
|
nvarchar(48)
|
48 | False |
|
LastModifiedByUserEmail |
DT_WSTR
|
nvarchar(100)
|
100 | False |
|
LastModifiedByUserId |
DT_WSTR
|
nvarchar(144)
|
144 | False |
|
QuotaDeleted |
DT_I8
|
bigint
|
False |
||
QuotaRemaining |
DT_I8
|
bigint
|
False |
||
QuotaTotal |
DT_I8
|
bigint
|
False |
||
QuotaUsed |
DT_I8
|
bigint
|
False |
||
WebUrl |
DT_WSTR
|
nvarchar(300)
|
300 | False |
|
OdataContext |
DT_WSTR
|
nvarchar(450)
|
450 | False |
Input Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Raw | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime. |
Examples
SSIS
Use OneDrive Connector in API Source component to read data or in API Destination component to read/write data:
Read Drive using API Source
OneDrive
Read Drive

Read Drive using API Destination
OneDrive
Read Drive

ODBC application
Use these SQL queries in your ODBC application data source:
Get drive
Gets info about drive
SELECT * FROM get_drive
WITH (DriveId='b!GtLQTMU726XXXXY5F2BBNi14')
--You can get DriveId by selecting from 'Drives' table.
SQL Server
Use these SQL queries in SQL Server after you create a data source in Data Gateway:
Get drive
Gets info about drive
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM get_drive
WITH (DriveId=''b!GtLQTMU726XXXXY5F2BBNi14'')
--You can get DriveId by selecting from ''Drives'' table.';
EXEC (@MyQuery) AT [LINKED_SERVER_TO_ONEDRIVE_IN_DATA_GATEWAY];