Class WebhookNotification
Web hook notification model: this message is received when SharePoint "fires" a web hook
Inheritance
System.Object
WebhookNotification
Namespace: PnP.Framework.Entities
Assembly: PnP.Framework.dll
Syntax
public class WebhookNotification : object
Properties
ClientState
An opaque string passed back to the client on all notifications. You can use this for validating notifications, tagging different subscriptions, or other reasons.
Declaration
public string ClientState { get; set; }
Property Value
|
System.String
|
ExpirationDateTime
The expiration date for subscription. The expiration date should not be more than 6 months. By default, subscriptions are set to expire 6 months from when they are created.
Declaration
public DateTime ExpirationDateTime { get; set; }
Property Value
|
DateTime
|
Resource
The resource endpoint URL you are creating the subscription for. For example a SharePoint List API URL
Declaration
public string Resource { get; set; }
Property Value
|
System.String
|
SiteUrl
SharePoint site URL
Declaration
public string SiteUrl { get; set; }
Property Value
|
System.String
|
SubscriptionId
Webhook subscription id
Declaration
public string SubscriptionId { get; set; }
Property Value
|
System.String
|
TenantId
SharePoint tenant id
Declaration
public string TenantId { get; set; }
Property Value
|
System.String
|
WebId
SharePoint web id
Declaration
public string WebId { get; set; }
Property Value
|
System.String
|