---
title: "Codeunit 132981 SharePoint Http Client Handler"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/132981-sharepoint-http-client-handler/
type: codeunit
id: 132981
name: "SharePoint Http Client Handler"
app: "System Application Test Library"
namespace: System.Test.Integration.Sharepoint
versions: "28-29"
build: 29.0.54011.55644
countries: "W1, DE, US"
source: "https://jonas-paprotka.de/ref/codeunit/132981-sharepoint-http-client-handler/source/?v=28 https://jonas-paprotka.de/ref/codeunit/132981-sharepoint-http-client-handler/source/"
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 132981 SharePoint Http Client Handler

JOP-AL, https://jonas-paprotka.de/ref/codeunit/132981-sharepoint-http-client-handler/

| | |
| --- | --- |
| App | System Application Test Library |
| Namespace | System.Test.Integration.Sharepoint |
| Versions | 28-29 |
| Minors | W1 28.0-29.0; DE 28.0-29.0; US 28.0-29.0, [every minor](https://jonas-paprotka.de/ref/codeunit/132981-sharepoint-http-client-handler/editions.json) |
| Implements | Http Client Handler |
| Source file | SharePoint/src/graph/SharePointHttpClientHandler.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| Send | (HttpClient: HttpClient; InHttpRequestMessage: Codeunit "Http Request Message"; var OutHttpResponseMessage: Codeunit "Http Response Message") | Boolean | public | 28-29 | - | - |
| ExpectSendToFailWithError | (NewSendError: Text) | - | public | 28-29 | - | - |
| SetResponse | (var NewHttpResponseMessage: Codeunit "Http Response Message") | - | public | 28-29 | - | - |
| GetHttpRequestMessage | (var OutHttpRequestMessage: Codeunit "Http Request Message") | - | public | 28-29 | - | - |
| AddResponse | (StatusCode: Integer; ResponseBody: Text) | - | public | 29 | - | - |
| AddResponse | (var NewHttpResponseMessage: Codeunit "Http Response Message") | - | public | 29 | - | - |
| GetHttpRequestUri | (Index: Integer) | Text | public | 29 | - | - |
| GetHttpRequestMethod | (Index: Integer) | Text | public | 29 | - | - |
| GetRequestCount | () | Integer | public | 29 | - | - |
| Reset | () | - | public | 29 | - | - |

## Source

Symbols: Microsoft.SystemApplicationTestLibrary.symbols.9856ae4f-d1a7-46ef-89bb-6ef056398228, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-11-20.
AL source 28: https://github.com/microsoft/BCApps, MIT, releases/28.x at 408a4cc8d3a4c54b60464cc14c964479facb9ba0.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
