JSON output (response) messages
- Last Updated: July 12, 2022
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Output messages are JSON objects named "response". This object contains
properties that are mapped to ABL parameters defined as OUTPUT,
INPUT-OUTPUT, and return-value
parameters. The property names are identical to the parameter names that are mapped to the
RESPONSE_BODY. The return value is named "_retVal"
All ABL parameters types that are supported by OpenEdge REST applications, and that can be represented as JSON objects are supported. This includes datasets and temp-tables. See the Output parameter mapping for more information about supported ABL parameter types.
The following is an example of an output message:
|
If there is no return value because you are calling an external procedure or
internal procedure and the useReturnValue attribute is set to
"FALSE" in the annotation, there will be no _retVal property in the response message. If the parameter is
UNKNOWN, it will have a value of null in the message.