JSON input (request) messages
- Last Updated: July 12, 2022
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Input messages are JSON objects named "request". This object contains
properties that are mapped to ABL parameters defined as INPUT and
INPUT-OUTPUT. The property names are identical to the parameter names they
are being mapped to.
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 Input parameter mapping for more information about supported ABL parameter types.
The following is an example of an input message:
|
In the above example, the REQUEST_BODY of
the incoming message contains three parameters. They are a CHARACTER parameter with the name Param1, a
LOGICAL parameter with the name Param2, and a DATASET parameter with the name
ds1. To access these parameters, the application server
procedure must have these parameters declared.