Codeunit 6153 "API Webhook Notification Mgt."
Base Application · Microsoft.API.Webhooks
Across versions
- BC23present
- BC241 procedures added, 1 procedures removed
- BC25-28unchanged
- BC292 procedures added, 1 procedures changed
- BC30unchanged
Neighbourhood 7 connected objects and pages
Base Application · Microsoft.API.Webhooks · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| SingleInstance | true |
| Permissions | TableData “API Webhook Subscription” = rimd, TableData “API Webhook Notification” = rimd, TableData “API Webhook Notification Aggr” = rimd |
Events published
OnGetDelayTime(var Handled: Boolean; var Value: Integer)(integration)OnDeleteAPIWebhookNotifications(var ApiWebhookNotification: Record "API Webhook Notification"; var Success: Boolean)(internal)- subscribers: Codeunit 6153 “API Webhook Notification Mgt.” HandleDeleteAPIWebhookNotification
OnGetDetailedLoggingEnabled(var Handled: Boolean; var Enabled: Boolean)(integration)OnCanCreateTask(var Handled: Boolean; var CanCreateTask: Boolean)(integration)
Event subscriptions
- HandleDeleteAPIWebhookNotification subscribes to Codeunit “API Webhook Notification Mgt.” OnDeleteAPIWebhookNotifications
- HandleOnClearCompanyConfig subscribes to Codeunit “Environment Cleanup” OnClearDatabaseConfig
Procedures
OnDatabaseInsert(var RecRef: RecordRef)OnDatabaseModify(var RecRef: RecordRef)OnDatabaseDelete(var RecRef: RecordRef)OnDatabaseRename(var RecRef: RecordRef; var xRecRef: RecordRef)GetDatabaseTableTriggerSetup(TableId: Integer; var OnDatabaseInsert: Boolean; var OnDatabaseModify: Boolean; var OnDatabaseDelete: Boolean; var OnDatabaseRename: Boolean)GetEntity(var APIWebhookSubscription: Record "API Webhook Subscription"; var ApiWebhookEntity: Record "Api Webhook Entity"): BooleanDeleteSubscription(var APIWebhookSubscription: Record "API Webhook Subscription")ForceDeleteAPIWebhookNotifications(var APIWebhookNotification: Record "API Webhook Notification")TryGetEntityKeyField(var APIWebhookSubscription: Record "API Webhook Subscription"; var ApiWebhookEntity: Record "Api Webhook Entity"; var RecRef: RecordRef; var FieldRef: FieldRef): BooleanScheduleJob(EarliestStartDateTime: DateTime)CanScheduleJob(): Boolean(internal)IsDetailedLoggingEnabled(): BooleanReset()GetMaxNumberOfJobs(): IntegerΔ BC29
Plus 28 local procedures.
Triggers
OnRun
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 5465 “Graph Mgt - General Tools” (4 calls:
GetDatabaseTableTriggerSetup → IsApiSubscriptionEnabled,GetRawFieldValue → GetIdWithoutBrackets,IsApiSubscriptionEnabled → IsApiSubscriptionEnabled, …) - Codeunit 4100 “Temp Blob” (2 calls:
CheckTableFilters → CreateInStream,CheckTableFilters → FromRecord) - Codeunit 453 “Job Queue - Enqueue” (1 call:
CreateJob → (object)) - Codeunit 6723 “Server Setting” (1 call:
GetDelayTime → GetApiSubscriptionDelayTime) - Codeunit 7200 “CDS Integration Mgt.” (1 call:
GetSubscriptions → IsBusinessEventsEnabled)
Called by
- Codeunit 6154 “API Webhook Notification Send” (24 calls:
CollectKeyFieldTypeBySubscriptionId → GetEntity,CollectKeyFieldTypeBySubscriptionId → IsDetailedLoggingEnabled,CollectKeyFieldTypeBySubscriptionId → TryGetEntityKeyField, …) - Codeunit 49 “GlobalTriggerManagement” (5 calls:
GetDatabaseTableTriggerSetup → GetDatabaseTableTriggerSetup,OnDatabaseDelete → OnDatabaseDelete,OnDatabaseInsert → OnDatabaseInsert, …)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "API Webhook Notification Mgt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.