Codeunit "API Webhook Notification Send"

ID 6154
Namespace: Microsoft.API.Webhooks

Properties

Name Value
Permissions TableData "API Webhook Subscription" = rimd, TableData "API Webhook Notification" = rimd, TableData "API Webhook Notification Aggr" = rimd

Methods

GetMaxNumberOfLoggedNotifications

procedure GetMaxNumberOfLoggedNotifications(): Integer

Returns

Type Description
Integer

GetMaxNumberOfNotifications

procedure GetMaxNumberOfNotifications(): Integer

Returns

Type Description
Integer

Events

OnBeforeProcessNotifications

[IntegrationEvent(False,False)]
local procedure OnBeforeProcessNotifications()

OnAfterProcessNotifications

[IntegrationEvent(False,False)]
local procedure OnAfterProcessNotifications()

OnBeforeDeleteInactiveJobs

[IntegrationEvent(False,False)]
local procedure OnBeforeDeleteInactiveJobs()

OnBeforeSendNotification

[IntegrationEvent(False,False)]
local procedure OnBeforeSendNotification(NotificationUrl: Text, Payload: Text)

Parameters

Name Type Description
NotificationUrl Text
Payload Text

OnAfterSendNotification

[IntegrationEvent(False,False)]
local procedure OnAfterSendNotification(var ErrorMessage: Text, var ErrorDetails: Text, HttpStatusCode: DotNet "System.Net.HttpStatusCode")

Parameters

Name Type Description
ErrorMessage Text
ErrorDetails Text
HttpStatusCode DotNet "System.Net.HttpStatusCode"

OnAfterSendNotificationWithStatusNumber

[IntegrationEvent(False,False)]
local procedure OnAfterSendNotificationWithStatusNumber(var ErrorMessage: Text, var ErrorDetails: Text, HttpStatusCode: Integer)

Parameters

Name Type Description
ErrorMessage Text
ErrorDetails Text
HttpStatusCode Integer

OnGetMaxNumberOfNotifications

[IntegrationEvent(False,False)]
local procedure OnGetMaxNumberOfNotifications(var Handled: Boolean, var Value: Integer)

Parameters

Name Type Description
Handled Boolean
Value Integer

OnGetMaxNumberOfAttempts

[IntegrationEvent(False,False)]
local procedure OnGetMaxNumberOfAttempts(var Handled: Boolean, var Value: Integer)

Parameters

Name Type Description
Handled Boolean
Value Integer

OnGetSendingNotificationTimeout

[IntegrationEvent(False,False)]
local procedure OnGetSendingNotificationTimeout(var Handled: Boolean, var Value: Integer)

Parameters

Name Type Description
Handled Boolean
Value Integer

OnSendRequestOnBeforeSendRequestAndReadTextResponse

[IntegrationEvent(False,False)]
local procedure OnSendRequestOnBeforeSendRequestAndReadTextResponse(var HttpWebRequestMgt: Codeunit "Http Web Request Mgt.")

Parameters

Name Type Description
HttpWebRequestMgt Codeunit System.Integration."Http Web Request Mgt."

See also