---
title: "Codeunit 6153 API Webhook Notification Mgt."
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/6153-api-webhook-notification-mgt/
type: codeunit
id: 6153
name: "API Webhook Notification Mgt."
app: "Base Application"
namespace: Microsoft.API.Webhooks
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/6153-api-webhook-notification-mgt/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 6153 API Webhook Notification Mgt.

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/6153-api-webhook-notification-mgt/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.API.Webhooks |
| Versions | 17-28 |
| Source file | System/API/Webhooks/APIWebhookNotificationMgt.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| OnDatabaseInsert | (var RecordRef) | - | public | 17-28 | - | - |
| OnDatabaseModify | (var RecordRef) | - | public | 17-28 | - | - |
| OnDatabaseDelete | (var RecordRef) | - | public | 17-28 | - | - |
| OnDatabaseRename | (var RecordRef, var RecordRef) | - | public | 17-28 | - | - |
| GetDatabaseTableTriggerSetup | (Integer, var Boolean, var Boolean, var Boolean, var Boolean) | - | public | 17-28 | - | - |
| GetEntity | (var Record API Webhook Subscription, var Record API Webhook Entity) | Boolean | public | 17-28 | - | - |
| DeleteSubscription | (var Record API Webhook Subscription) | - | public | 17-28 | - | - |
| TryGetEntityKeyField | (var Record API Webhook Entity, var RecordRef, var FieldRef) | Boolean | public | 17-21 | Pending 19.0 | Use another implementation of TryGetEntityKeyField |
| FindLastModifiedDateTimeField | (var RecordRef, var FieldRef) | Boolean | public | 17-22 | Pending 18.0 | Use field SystemModifiedAt |
| ScheduleJob | (DateTime) | - | public | 17-28 | - | - |
| CanScheduleJob | () | Boolean | internal | 17-28 | - | - |
| IsDetailedLoggingEnabled | () | Boolean | public | 17-28 | - | - |
| Reset | () | - | public | 17-28 | - | - |
| TryGetEntityKeyField | (var Record API Webhook Subscription, var Record API Webhook Entity, var RecordRef, var FieldRef) | Boolean | public | 18-28 | - | - |
| ForceDeleteAPIWebhookNotifications | (var Record API Webhook Notification) | - | public | 20-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnGetDelayTime | (var Boolean, var Integer) | 17-28 | - | - |
| Integration event | OnGetDetailedLoggingEnabled | (var Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnCanCreateTask | (var Boolean, var Boolean) | 17-28 | - | - |
| Internal event | OnDeleteAPIWebhookNotifications | (var Record API Webhook Notification, var Boolean) | 20-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
