Class DBC.WebhookUsageFields
Fields for WebhookUsage, Webhook usage statistics - tracks call+error statistics. Same primary key as the webhook.
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
public static class WebhookUsageFields : Object
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 |