Codeunit "SharePoint Graph Response"
ID 9129
Namespace: System.Integration.Sharepoint
Holder object for SharePoint Graph API operation results.
Properties
| Name | Value |
|---|---|
| Access | Public |
| InherentEntitlements | X |
| InherentPermissions | X |
Methods
IsSuccessful
Checks whether the operation was successful.
procedure IsSuccessful(): Boolean
Returns
| Type | Description |
|---|---|
| Boolean |
True if the operation was successful; otherwise - false. |
GetError
Gets the error message (if any) of the response.
procedure GetError(): Text
Returns
| Type | Description |
|---|---|
| Text |
Text representation of the error that occurred during the operation. |
GetErrorCallStack
Gets the call stack at the time of the error.
procedure GetErrorCallStack(): Text
Returns
| Type | Description |
|---|---|
| Text |
The call stack when the error occurred. |
GetHttpDiagnostics
Gets the HTTP diagnostics for the last HTTP request (if any).
procedure GetHttpDiagnostics(): Interface "HTTP Diagnostics"
Returns
| Type | Description |
|---|---|
| Interface System.Integration.Sharepoint."HTTP Diagnostics" |
HTTP diagnostics interface for detailed HTTP response information. |