Codeunit 6154 API Webhook Notification Send

Base Application, Microsoft.API.Webhooks

Source AL, 1,943 lines

src/Layers/W1/BaseApp/System/API/Webhooks/APIWebhookNotificationSend.Codeunit.allines 16 to 31 of 1,943, Copyright (c) Microsoft Corporation. MIT

codeunit 6154 "API Webhook Notification Send"{    // 1. Aggregates notifications    // 2. Generates notifications payload per notification URL    // 3. Sends notifications    Permissions = TableData "API Webhook Subscription" = rimd,                  TableData "API Webhook Notification" = rimd,                  TableData "API Webhook Notification Aggr" = rimd;    trigger OnRun()    var        [SecurityFiltering(SecurityFilter::Ignored)]        APIWebhookSubscription: Record "API Webhook Subscription";        [SecurityFiltering(SecurityFilter::Ignored)]        APIWebhookNotification: Record "API Webhook Notification";

All 1,943 lines

Events 10 in 29

[IntegrationEvent] OnBeforeProcessNotifications()17-29
[IntegrationEvent] OnAfterProcessNotifications()17-29
[IntegrationEvent] OnBeforeDeleteInactiveJobs()17-29
[IntegrationEvent] OnBeforeSendNotification(NotificationUrl: Text; Payload: Text)17-29
[IntegrationEvent] OnAfterSendNotification(var ErrorMessage: Text; var ErrorDetails: Text; var HttpStatusCode: DotNet HttpStatusCode)17-29
[IntegrationEvent] OnGetMaxNumberOfNotifications(var Handled: Boolean; var Value: Integer)17-29
[IntegrationEvent] OnGetMaxNumberOfAttempts(var Handled: Boolean; var Value: Integer)17-29

All 10 events

Public procedures 3 in 29

DateTimeToUtcString(DateTimeValue: DateTime): Text17-29
GetMaxNumberOfLoggedNotifications(): Integernew in 20
GetMaxNumberOfNotifications(): Integernew in 20

Changes 2 in 20

List17181920212223242526272829
Procedures2
Events1
GetMaxNumberOfLoggedNotifications(): Integernew in 20
added
GetMaxNumberOfNotifications(): Integernew in 20
added

All 3 changes in 17-29