Arguments | Data Type | Description |
---|---|---|
jsonrpc_response | StringObject | The response of the JsonRpcRequest() |
var_scope | Scope | The scope of the 4GL variables used in resultvar and byref_assign_rule parameters |
resultvar | Varchar(256) | Specifies the name of the variable that the result (return value of the 4GL procedure called in the JSON-RPC request) is assigned to |
byref_assign_rule | Varchar(2000) | Specifies the assignment rule for byref_results. This is a comma-separated string with variable=byrefparam_name pairs. |
byref_param_notfound_handling | integer | Defines the handling if a byref parameter name contained in the "byref_assign_rule" parameter (right side of mapping) is not contained in the "byref_params" object within the "jsonrpc_response" parameter string. Possible values include: • 0 (default)—Function will return ER_FAIL—errors are written to the errormessage parameter (stringobject) • 1—Function will continue to run, warnings are written to the trace window/log file • 2—Function will continue to run, ignoring any byref parameters not found |
result | JsonValue | The “result” JsonValue within the response (BYREF) |
errormessage | StringObject | The “message” within the error object (BYREF) |
errorcode | integer | The “code” within the error object (BYREF) |
errordata | JsonValue | The “data” within the error object (BYREF) |