Source AL, 133 lines
src/System Application/App/SharePoint/src/helpers/SharePointRequestHelper.Codeunit.allines 10 to 25 of 133, Copyright (c) Microsoft Corporation. MIT
codeunit 9109 "SharePoint Request Helper"{ Access = Internal; InherentEntitlements = X; InherentPermissions = X; var HttpClient: HttpClient; Authorization: Interface "SharePoint Authorization"; OperationNotSuccessfulErr: Label 'An error has occurred'; UserAgentLbl: Label 'NONISV|%1|Dynamics 365 Business Central - %2/%3', Locked = true, Comment = '%1 = App Publisher; %2 = App Name; %3 = App Version'; procedure SetAuthorization(Auth: Interface "SharePoint Authorization") begin Authorization := Auth; end;
All 133 lines
Events 1 in 29
| [InternalEvent] OnBeforeSendRequest(HttpRequestMessage: HttpRequestMessage; var SharePointOperationResponse: Codeunit "SharePoint Operation Response"; var IsHandled: Boolean; Method: Text) | new in 21 |
Public procedures 6 in 29
| SetAuthorization(Auth: Interface "SharePoint Authorization") | new in 21 |
| Get(SharePointUriBuilder: Codeunit "SharePoint Uri Builder"): Codeunit "SharePoint Operation Response" | new in 21 |
| Post(SharePointUriBuilder: Codeunit "SharePoint Uri Builder"): Codeunit "SharePoint Operation Response" | new in 21 |
| Post(SharePointUriBuilder: Codeunit "SharePoint Uri Builder"; SharePointHttpContent: Codeunit "SharePoint Http Content"): Codeunit "SharePoint Operation Response" | new in 21 |
| Delete(SharePointUriBuilder: Codeunit "SharePoint Uri Builder"): Codeunit "SharePoint Operation Response" | new in 22 |
| Patch(SharePointUriBuilder: Codeunit "SharePoint Uri Builder"; SharePointHttpContent: Codeunit "SharePoint Http Content"): Codeunit "SharePoint Operation Response" | new in 23 |
Changes 1 in 23
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Procedures | | | | | | 1 | 1 | | | | | | |
|---|
| Patch(SharePointUriBuilder: Codeunit "SharePoint Uri Builder"; SharePointHttpContent: Codeunit "SharePoint Http Content"): Codeunit "SharePoint Operation Response" | new in 23 |
| added |
All 2 changes in 21-29