code change · obsoletionIntegration & APIsofficial - Microsoftreviewed - checked by Opus

#12324 Obsolete Http Web Request Mgt. usage in public API (webhooks, OData)

Http Web Request Mgt usage is removed from webhook and OData public APIs by replacing DotNet-based code with native HttpClient and HttpRequestMessage, while obsoleting old event signatures.

Pull request · merged into main (BC30) on 2026-10-09 by darjoo · 4 files (+253 -61), 2 AL · obsoletion · tier official · reviewed (checked by Opus)

What changed

  • SendRequest in API Webhook Notification Send now uses native HttpClient instead of Http Web Request Mgt.
  • New event OnSendRequestOnBeforeSendHttpRequest replaces the pending-obsolete OnSendRequestOnBeforeSendRequestAndReadTextResponse
  • OnAfterSendNotification with a DotNet HttpStatusCode is pending obsolete; use OnAfterSendNotificationWithStatusNumber
  • ODataUtility CreateMetadataWebRequest is pending obsolete; build requests with native HttpClient
  • Headers, UTF-8 body, timeout, telemetry and retry rules are kept the same

AL objects touched

Obsoletions

  • API Webhook Notification Send: OnSendRequestOnBeforeSendRequestAndReadTextResponse, replaced by OnSendRequestOnBeforeSendHttpRequest
  • API Webhook Notification Send: OnAfterSendNotification (with DotNet HttpStatusCode parameter), replaced by OnAfterSendNotificationWithStatusNumber
  • ODataUtility: CreateMetadataWebRequest

Context

  • Work items: AB#647963
  • Labels: Team: Integrations
  • Systems: integration

No source states these links: they share an object, a model read them, or a person found the same subject.

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).