Interface IListSubscription
- Namespace
- PnP.Core.Model.SharePoint
- Assembly
- PnP.Core.dll
Defines a structure for a webhook subscription
public interface IListSubscription : IDataModel<IListSubscription>, IDataModelParent, IDataModelWithContext, ISupportModules<IListSubscription>, IDataModelGet<IListSubscription>, IDataModelLoad<IListSubscription>, IDataModelUpdate, IDataModelDelete, IQueryableDataModel
- Inherited Members
- Extension Methods
Properties
ClientState
A string, which represents client information. You can use this for validating notifications, tagging different subscriptions, or other reasons.
string ClientState { get; set; }
Property Value
ExpirationDateTime
Expiration date for the webhook
DateTime ExpirationDateTime { get; set; }
Property Value
Id
Subscription unique Id
Guid Id { get; set; }
Property Value
NotificationUrl
A url, where the notification request will be sent
string NotificationUrl { get; set; }
Property Value
Resource
Resource identifier, usually a list id
string Resource { get; set; }