Excel Add-In for Microsoft OneDrive

Build 24.0.9060

CreateSubscription

Subscribes a listener application to receive notifications when data changes.

Input

Name Type Required Description
ChangeType String True Indicates the type of change in the subscribed resource that will raise a change notification. The supported values are: created, updated, deleted. Multiple values can be combined using a comma-separated list.
NotificationUrl String True The URL of the endpoint that will receive the change notifications. This URL must make use of the HTTPS protocol.
Resource String True Specifies the resource that will be monitored for changes. Do not include the base URL (https://graph.microsoft.com/v1.0/).
ExpirationDateTime String True The date and time in UTC that the subscription will expire. Consult the Microsoft documentation for the maximum duration of each endpoint type https://docs.microsoft.com/en-us/graph/api/resources/subscription?view=graph-rest-1.0.
ClientState String False Specifies the value of the clientState property sent by the service in each change notification. The maximum length is 128 characters. The client can check that the change notification came from the service by comparing the value of the clientState property sent with the subscription with the value of the clientState property received with each change notification.

Result Set Columns

Name Type Description
Id String Id of the subscription created.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060