Codeunit 6154 "API Webhook Notification Send"
Base Application · Microsoft.API.Webhooks
Across versions
- BC23-24present
- BC252 procedures changed
- BC26-30unchanged
Neighbourhood 7 connected objects and pages
Base Application · Microsoft.API.Webhooks · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Permissions | TableData “API Webhook Subscription” = rimd, TableData “API Webhook Notification” = rimd, TableData “API Webhook Notification Aggr” = rimd |
Events published
OnBeforeProcessNotifications()(integration)OnAfterProcessNotifications()(integration)OnBeforeDeleteInactiveJobs()(integration)OnBeforeSendNotification(NotificationUrl: Text; Payload: Text)(integration)OnAfterSendNotification(var ErrorMessage: Text; var ErrorDetails: Text; var HttpStatusCode: DotNet HttpStatusCode)(integration)OnAfterSendNotificationWithStatusNumber(var ErrorMessage: Text; var ErrorDetails: Text; HttpStatusCode: Integer)(integration)OnGetMaxNumberOfNotifications(var Handled: Boolean; var Value: Integer)(integration)OnGetMaxNumberOfAttempts(var Handled: Boolean; var Value: Integer)(integration)OnGetSendingNotificationTimeout(var Handled: Boolean; var Value: Integer)(integration)OnSendRequestOnBeforeSendRequestAndReadTextResponse(var HttpWebRequestMgt: Codeunit "Http Web Request Mgt.")(integration)
Event subscriptions
- HandleOnBeforeInsertJobQueueLogEntry subscribes to Table “Job Queue Entry” OnBeforeInsertLogEntry
Procedures
GetMaxNumberOfLoggedNotifications(): IntegerGetMaxNumberOfNotifications(): IntegerDateTimeToUtcString(DateTimeValue: DateTime): Text
Plus 78 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 6153 “API Webhook Notification Mgt.” (24 calls:
CollectKeyFieldTypeBySubscriptionId → GetEntity,CollectKeyFieldTypeBySubscriptionId → IsDetailedLoggingEnabled,CollectKeyFieldTypeBySubscriptionId → TryGetEntityKeyField, …) - Codeunit 5459 “JSON Management” (16 calls:
AddPayloadPerSubscription → AddJObjectToJArray,DateTimeToUtcString → AddJPropertyToJObject,DateTimeToUtcString → GetJSONObject, …) - Codeunit 1297 “Http Web Request Mgt.” (10 calls:
AddTokenToRequestHeader → AddHeader,SendRequest → AddBodyAsTextWithEncoding,SendRequest → AddHeader, …) - Codeunit 5465 “Graph Mgt - General Tools” (2 calls:
GetAadUserId → StripBrackets,IsApiSubscriptionEnabled → IsApiSubscriptionEnabled) - Codeunit 6723 “Server Setting” (2 calls:
GetMaxNumberOfNotifications → GetApiSubscriptionMaxNumberOfNotifications,GetSendingNotificationTimeout → GetApiSubscriptionSendingNotificationTimeout) - Codeunit 10 “Type Helper” (1 call:
GetUriEscapeFieldValue → UriEscapeDataString) - Codeunit 7201 “CDS Integration Impl.” (1 call:
AddTokenToRequestHeader → GetBusinessEventAccessToken)
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 Send"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.