Procedure mapping examples
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Each AppServer service interface API you expose as a REST resource has a mapping to a unique combination of a relative URI, an HTTP verb, parameters, and media type. (Note that only JSON is currently supported as a media type in OpenEdge.
The implication is that a relative URI could be mapped to a number of different AppServer
procedures using different combinations of HTTP verbs and parameters. The following table
illustrates three different mappings for the resource URI /customer.
| Relative URI | HTTP verb | Procedure |
|---|---|---|
|
|
|
|
|
|
|
|
|
OpenEdge developers have broad scope in determining how best to expose AppServer procedures as REST resources. You should define the relative URI space for ease of use, extensibility, and versioning. In addition, your design should hide the elements of the AppServer procedure path and ABL parameters.