Search Results for

    Show / Hide Table of Contents
    View Source

    Class WebhookLog

    Represents a log entry for a webhook request execution.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public class WebhookLog

    Constructors

    View Source

    WebhookLog()

    Declaration
    public WebhookLog()

    Properties

    View Source

    Date

    Gets or sets the date and time when the webhook request was executed.

    Declaration
    public DateTime Date { get; set; }
    Property Value
    Type Description
    DateTime
    View Source

    EventAlias

    Gets or sets the alias of the event that triggered the webhook.

    Declaration
    public string EventAlias { get; set; }
    Property Value
    Type Description
    string
    View Source

    ExceptionOccured

    Gets or sets a value indicating whether an exception occurred during the request.

    Declaration
    public bool ExceptionOccured { get; set; }
    Property Value
    Type Description
    bool
    View Source

    Id

    Gets or sets the unique identifier of the log entry.

    Declaration
    public int Id { get; set; }
    Property Value
    Type Description
    int
    View Source

    IsSuccessStatusCode

    Gets or sets a value indicating whether the response had a success status code (2xx).

    Declaration
    public bool IsSuccessStatusCode { get; set; }
    Property Value
    Type Description
    bool
    View Source

    Key

    Gets or sets the unique key of this log entry.

    Declaration
    public Guid Key { get; set; }
    Property Value
    Type Description
    Guid
    View Source

    RequestBody

    Gets or sets the body content that was sent with the request.

    Declaration
    public string? RequestBody { get; set; }
    Property Value
    Type Description
    string
    View Source

    RequestHeaders

    Gets or sets the HTTP headers that were sent with the request.

    Declaration
    public string RequestHeaders { get; set; }
    Property Value
    Type Description
    string
    View Source

    ResponseBody

    Gets or sets the body content returned in the response.

    Declaration
    public string ResponseBody { get; set; }
    Property Value
    Type Description
    string
    View Source

    ResponseHeaders

    Gets or sets the HTTP headers returned in the response.

    Declaration
    public string ResponseHeaders { get; set; }
    Property Value
    Type Description
    string
    View Source

    RetryCount

    Gets or sets the number of retry attempts for this webhook request.

    Declaration
    public int RetryCount { get; set; }
    Property Value
    Type Description
    int
    View Source

    StatusCode

    Gets or sets the HTTP status code returned from the webhook request.

    Declaration
    public string StatusCode { get; set; }
    Property Value
    Type Description
    string
    View Source

    Url

    Gets or sets the URL that the webhook request was sent to.

    Declaration
    public string Url { get; set; }
    Property Value
    Type Description
    string
    View Source

    WebhookKey

    Gets or sets the unique key of the webhook that was executed.

    Declaration
    public Guid WebhookKey { get; set; }
    Property Value
    Type Description
    Guid
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX