Parameter mapping
- Last Updated: January 16, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
The last step in mapping REST operations to ABL operations is mapping the parameters. A REST resource verb has two distinct parameter mappings:
- Request mapping
- Response mapping
For each REST verb, you must map sections of the REST request with ABL input parameters and sections of the REST response with ABL output parameters.
In your REST service, you can map interface parameters to any of the sections present in an HTTP request or response such as:
- Header
- Body
- Cookie
- Query string parameters
- Path parameter
- Form parameter
To create a mapping rule, click on a section under Request or Response and drag a line to the required Interface parameter (ABL input or output parameter).