CData Python Connector for Microsoft OneDrive

Build 25.0.9440

CreateSubscription

Registers a webhook subscription to receive notifications for changes to OneDrive content (for example, file updates).

Input

Name Type Required Description
ChangeType String True Specifies the types of changes to monitor for the resource. Supported values are: created, updated, deleted. Multiple values can be provided as a comma-separated list, with a space after each comma.
NotificationUrl String True HTTPS endpoint URL that will receive change notifications when the specified resource changes.
Resource String True Path to the resource to monitor for changes. The path should not include the base URL such as https://graph.microsoft.com/v1.0/.
ExpirationDateTime String True UTC timestamp indicating when the subscription should expire. The maximum allowed duration depends on the resource type being monitored.
ClientState String False Custom string value, up to 128 characters, sent back with each notification to help validate that the notification came from the expected source.

Result Set Columns

Name Type Description
Id String Unique identifier assigned to the newly created subscription.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9440