Webhook_usage Table (512)
•
Environment: onsite, online
Some tooltip text!
• 1 minute to read
• 1 minute to read
Webhook usage statistics - tracks call+error statistics. Same primary key as the webhook.
Fields
| Name | Description | Type | Null |
|---|---|---|---|
| webhook_usage_id | Primary key | PK | |
| total_calls | Number of times webhook has been invoked since registered. For statistical purposes. | Int | |
| total_errors | Number of times webhook has returned error since registered. For statistical purposes. | Int | |
| consecutive_errors | 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. | Int | |
| last_error | Most recent error message received from target. HTTP Headers + body. To help with debugging webhooks. | String(4000) | ● |
| registered | Registered when | UtcDateTime | |
| registered_associate_id | Registered by whom | FK associate | |
| updated | Last updated when | UtcDateTime | |
| updated_associate_id | Last updated by whom | FK associate | |
| updatedCount | Number of updates made to this record | UShort |

Indexes
| Fields | Types | Description |
|---|---|---|
| webhook_usage_id | PK | Clustered, Unique |
Relationships
| Table | Description |
|---|---|
| associate | Employees, resources and other users - except for External persons |
Replication Flags
- None
Security Flags
- No access control via user's Role.