Stored Procedures
Stored procedures are function-like interfaces that extend the functionality of the driver beyond simple SELECT operations with Microsoft OneDrive.
Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from Microsoft OneDrive, along with an indication of whether the procedure succeeded or failed.
CData ODBC Driver for Microsoft OneDrive Stored Procedures
Name | Description |
CopyResource | Copy a resource from one directory in your drive to another. |
CreateFolder | Create a new folder in your drive. |
CreateSubscription | Subscribes a listener application to receive notifications when data changes. |
DeleteResource | Delete a resource from your drive. |
DeleteSubscription | Subscribes a listener application to receive notifications when data changes. |
DownloadFile | Download an existing file from your drive. |
FetchAdditionalUserFields | Fetch all T1, T2, and T3 fields for a specified user. |
GetAdminConsentURL | Gets the admin consent URL that must be opened separately by an admin of a given domain to grant access to your application. Only needed when using custom OAuth credentials. |
GetOAuthAccessToken | Gets an authentication token from OneDrive. |
GetOAuthAuthorizationURL | Gets the authorization URL that 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. |
ModifySubscription | Subscribes a listener application to receive notifications when data changes. |
MoveResource | Move a resource from one directory in your drive to another. |
RefreshOAuthAccessToken | Refreshes the OAuth access token used for authentication with various Office 365 services. |
RenameResource | Rename files from your drive. |
UploadFile | Upload a new file or update content to an existing file. |