Show / Hide Table of Contents

Class DBC.WebhookUsageFields

Fields for WebhookUsage, Webhook usage statistics - tracks call+error statistics. Same primary key as the webhook.

Inheritance
object
DBC.WebhookUsageFields
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
public static class DBC.WebhookUsageFields

Fields

ConsecutiveErrors

WebhookUsage.ConsecutiveErrors: Number of consecutive errors. Reset to 0 when an non-error is received. If too many errors, webhook.state is changed to TooManyErrors(3) to deactivate webhook.

Declaration
public const string ConsecutiveErrors = "consecutive_errors"
Field Value
Type Description
string

LastError

WebhookUsage.LastError: Most recent error message received from target. HTTP Headers + body. To help with debugging webhooks.

Declaration
public const string LastError = "last_error"
Field Value
Type Description
string

Registered

WebhookUsage.Registered: Registered when

Declaration
public const string Registered = "registered"
Field Value
Type Description
string

RegisteredAssociateId

WebhookUsage.RegisteredAssociateId: Registered by whom

Declaration
public const string RegisteredAssociateId = "registered_associate_id"
Field Value
Type Description
string

TotalCalls

WebhookUsage.TotalCalls: Number of times webhook has been invoked since registered. For statistical purposes.

Declaration
public const string TotalCalls = "total_calls"
Field Value
Type Description
string

TotalErrors

WebhookUsage.TotalErrors: Number of times webhook has returned error since registered. For statistical purposes.

Declaration
public const string TotalErrors = "total_errors"
Field Value
Type Description
string

Updated

WebhookUsage.Updated: Last updated when

Declaration
public const string Updated = "updated"
Field Value
Type Description
string

UpdatedAssociateId

WebhookUsage.UpdatedAssociateId: Last updated by whom

Declaration
public const string UpdatedAssociateId = "updated_associate_id"
Field Value
Type Description
string

UpdatedCount

WebhookUsage.UpdatedCount: Number of updates made to this record

Declaration
public const string UpdatedCount = "updatedCount"
Field Value
Type Description
string

WebhookUsageId

WebhookUsage.WebhookUsageId: Primary key

Declaration
public const string WebhookUsageId = "webhook_usage_id"
Field Value
Type Description
string
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top