codeunitIntegration & APIsofficial - Microsoftderived - from the source, no model text

Codeunit 9123 "SharePoint Graph Req. Helper"

System Application · System.Integration.Sharepoint

Across versions

  1. BC23-27not present
  2. BC28added
  3. BC29-30unchanged

Neighbourhood 10 connected objects and pages

Codeunit 9120 "SharePoint Graph Client Impl." (calls, 38 links)SharePoint Graph Client Impl.Codeunit 2356 "Http Response Message" (calls, 20 links)Http Response MessageCodeunit 9350 "Graph Client" (calls, 5 links)Graph ClientCodeunit 2354 "Http Content" (calls, 4 links)Http ContentCodeunit 9111 "SharePoint Diagnostics" (calls, 4 links)SharePoint DiagnosticsCodeunit 2350 "Rest Client" (calls, 2 links)Rest ClientCodeunit 9121 "SharePoint Graph Uri Builder" (calls, 2 links)SharePoint Graph Uri BuilderCodeunit 9353 "Graph Optional Parameters" (calls, 2 links)Graph Optional ParametersCodeunit 3060 "Uri" (calls)UriCodeunit 9129 "SharePoint Graph Response" (calls)SharePoint Graph Response

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

System Application · System.Integration.Sharepoint · BC28-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Access Internal

Procedures

  • Initialize(GraphAuthorization: Interface "Graph Authorization"): Initializes the Graph Request Helper with an authorization.
  • Initialize(NewApiVersion: Enum "Graph API Version"; GraphAuthorization: Interface "Graph Authorization"): Initializes the Graph Request Helper with a specific API version and authorization.
  • Initialize(NewBaseUrl: Text; GraphAuthorization: Interface "Graph Authorization"): Initializes the Graph Request Helper with a custom base URL and authorization.
  • Initialize(NewApiVersion: Enum "Graph API Version"; GraphAuthorization: Interface "Graph Authorization"; HttpClientHandler: Interface "Http Client Handler"): Initializes the Graph Request Helper with an HTTP client handler for testing.
  • GetGraphApiBaseUrl(): Text: Gets the base URL for Graph API calls.
  • Get(Endpoint: Text; var ResponseJson: JsonObject; GraphOptionalParameters: Codeunit "Graph Optional Parameters"): Boolean: Makes a GET request to the Microsoft Graph API.
  • Get(Endpoint: Text; var ResponseJson: JsonObject): Boolean: Makes a GET request to the Microsoft Graph API.
  • DownloadFile(Endpoint: Text; var TempBlob: Codeunit "Temp Blob"): Boolean: Downloads a file from Microsoft Graph API.
  • DownloadFile(Endpoint: Text; var TempBlob: Codeunit "Temp Blob"; GraphOptionalParameters: Codeunit "Graph Optional Parameters"): Boolean: Downloads a file from Microsoft Graph API with optional parameters.
  • DownloadChunk(Endpoint: Text; RangeStart: BigInteger; RangeEnd: BigInteger; var TempBlob: Codeunit "Temp Blob"): Boolean: Downloads a chunk of a file using HTTP Range header.
  • Post(Endpoint: Text; RequestBody: JsonObject; var ResponseJson: JsonObject): Boolean: Makes a POST request to the Microsoft Graph API.
  • Post(Endpoint: Text; RequestBody: JsonObject; GraphOptionalParameters: Codeunit "Graph Optional Parameters"; var ResponseJson: JsonObject): Boolean: Makes a POST request to the Microsoft Graph API with optional parameters.
  • UploadFile(Endpoint: Text; FileInStream: InStream; var ResponseJson: JsonObject): Boolean: Uploads a file to Microsoft Graph API.
  • UploadFile(Endpoint: Text; FileInStream: InStream; GraphOptionalParameters: Codeunit "Graph Optional Parameters"; var ResponseJson: JsonObject): Boolean: Uploads a file to Microsoft Graph API with optional parameters.
  • CreateUploadSession(Endpoint: Text; FileName: Text; FileSize: Integer; GraphOptionalParameters: Codeunit "Graph Optional Parameters"; GraphConflictBehavior: Enum "Graph ConflictBehavior"; var UploadUrlResult: Text): Boolean: Creates an upload session for chunked file upload.
  • UploadChunk(UploadUrl: Text; var ChunkContent: InStream; ContentRange: Text; var ResponseJson: JsonObject): Boolean: Uploads a chunk of file content to an upload session.
  • Put(Endpoint: Text; RequestBody: JsonObject; var ResponseJson: JsonObject): Boolean: Makes a PUT request to the Microsoft Graph API.
  • Put(Endpoint: Text; RequestBody: JsonObject; GraphOptionalParameters: Codeunit "Graph Optional Parameters"; var ResponseJson: JsonObject): Boolean: Makes a PUT request to the Microsoft Graph API with optional parameters.
  • PutContent(Endpoint: Text; Content: InStream; ContentType: Text; var AdditionalHeaders: Dictionary of [Text, Text]; var ResponseJson: JsonObject): Boolean: Makes a PUT request with binary content and custom headers to the Microsoft Graph API.
  • PutContent(Endpoint: Text; Content: InStream; ContentType: Text; var AdditionalHeaders: Dictionary of [Text, Text]; GraphOptionalParameters: Codeunit "Graph Optional Parameters"; IsCompleteUrl: Boolean; var ResponseJson: JsonObject): Boolean: Makes a PUT request with binary content and custom headers to the Microsoft Graph API with optional parameters.
  • Patch(Endpoint: Text; RequestBody: JsonObject; var ResponseJson: JsonObject): Boolean: Makes a PATCH request to the Microsoft Graph API.
  • Patch(Endpoint: Text; RequestBody: JsonObject; GraphOptionalParameters: Codeunit "Graph Optional Parameters"; var ResponseJson: JsonObject): Boolean: Makes a PATCH request to the Microsoft Graph API with optional parameters.
  • Delete(Endpoint: Text): Boolean: Makes a DELETE request to the Microsoft Graph API.
  • Delete(Endpoint: Text; GraphOptionalParameters: Codeunit "Graph Optional Parameters"): Boolean: Makes a DELETE request to the Microsoft Graph API with optional parameters.
  • GetAllPages(Endpoint: Text; GraphOptionalParameters: Codeunit "Graph Optional Parameters"; var JsonArray: JsonArray): Boolean: Makes a GET request to the Microsoft Graph API with pagination support and returns all pages automatically.
  • ConfigureConflictBehavior(var GraphOptionalParameters: Codeunit "Graph Optional Parameters"; ConflictBehavior: Enum "Graph ConflictBehavior"): Configures conflict behavior in optional parameters
  • GetDiagnostics(): Interface "HTTP Diagnostics": Returns detailed information on last API call.

Plus 6 local procedures.

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.

Called by

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: "SharePoint Graph Req. Helper"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources