Codeunit "AOAI Operation Response"

ID 7770
Namespace: System.AI

The status and result of an operation.

Properties

Name Value
Access Public
InherentEntitlements X
InherentPermissions X

Methods

IsSuccess

Check whether the operation was successful.

procedure IsSuccess(): Boolean

Returns

Type Description
Boolean

True if the operation was successful.

GetStatusCode

Get the status code of the operation.

procedure GetStatusCode(): Integer

Returns

Type Description
Integer

The status code of the operation.

GetResult

Get the result of the operation.

procedure GetResult(): Text

Returns

Type Description
Text

The result of the operation.

GetError

Get the error text of the operation.

procedure GetError(): Text

Returns

Type Description
Text

The error text of the operation.

See also