Codeunit 9123 SharePoint Graph Req. Helper

System Application, System.Integration.Sharepoint

Source AL, 649 lines

src/System Application/App/SharePoint/src/graph/helpers/SharePointGraphReqHelper.Codeunit.allines 16 to 31 of 649, Copyright (c) Microsoft Corporation. MIT

codeunit 9123 "SharePoint Graph Req. Helper"{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    var        GraphClient: Codeunit "Graph Client";        SharePointDiagnostics: Codeunit "SharePoint Diagnostics";        ApiVersion: Enum "Graph API Version";        CustomBaseUrl: Text;        MicrosoftGraphDefaultBaseUrlLbl: Label 'https://graph.microsoft.com/%1', Comment = '%1 = Graph API Version', Locked = true;        RangeHeaderLbl: Label 'bytes=%1-%2', Locked = true;        UntrustedUploadHostErr: Label 'Upload URL points to an untrusted host.', Locked = true;        AllowedUploadUrlPatternLbl: Label '^https:\/\/[a-zA-Z0-9][a-zA-Z0-9\.\-]*\.(sharepoint\.com|microsoft\.com|microsoftonline\.com)(\/.*)?$', Locked = true;

All 649 lines

Public procedures 27 in 29

Initialize(GraphAuthorization: Interface "Graph Authorization")new in 28
Initialize(NewApiVersion: Enum "Graph API Version"; GraphAuthorization: Interface "Graph Authorization")new in 28
Initialize(NewBaseUrl: Text; GraphAuthorization: Interface "Graph Authorization")new in 28
Initialize(NewApiVersion: Enum "Graph API Version"; GraphAuthorization: Interface "Graph Authorization"; HttpClientHandler: Interface "Http Client Handler")new in 28
GetGraphApiBaseUrl(): Textnew in 28
Get(Endpoint: Text; var ResponseJson: JsonObject; GraphOptionalParameters: Codeunit "Graph Optional Parameters"): Booleannew in 28

All 27 procedures