Search Results for

    Show / Hide Table of Contents

    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.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

    Id

    Webhook subscription id

    Declaration
    public string Id { get; set; }
    Property Value
    System.String

    NotificationUrl

    Webhook notification URL

    Declaration
    public string NotificationUrl { get; set; }
    Property Value
    System.String

    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

    Extension Methods

    ValidationExtensions.ValidateNotNullOrEmpty<T>(T, String)
    ObjectExtensions.Set<TObject, T>(TObject, Expression<Func<TObject, T>>, T, Boolean, Boolean)
    ObjectExtensions.GetPublicInstancePropertyValue(Object, String)
    ObjectExtensions.GetPublicInstanceProperty(Object, String)
    ObjectExtensions.SetPublicInstancePropertyValue(Object, String, Object)
    Extensions.ToByteArray(Object)
    Back to top PnP Framework
    Generated by DocFX with Material UI
    spacer