Class WebhookSubscription
Represents the payload of a Http message
Inheritance
System.Object
WebhookSubscription
Namespace: PnP.Framework.Entities
Assembly: PnP.Framework.dll
Syntax
public class WebhookSubscription : 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.
|
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
Date
|
Id
Webhook subscription id
Declaration
public string Id { get; set; }
Property Value
System.
|
NotificationUrl
Webhook notification URL
Declaration
public string NotificationUrl { get; set; }
Property Value
System.
|
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.
|