Try OpenEdge Now
skip to main content
Online Help
Introducing OpenEdge REST : Concepts : Default parameter mapping
 

Default parameter mapping

REST supports default parameter mapping. The default parameters mapping is supported for only the query and path parameters in a HTTP request.
The default parameter mapping for REST will follow these rules:
Note: Input parameter mean either Input or Input-Output.
*If an input parameter name is contained in the resource URI as a query, then the input parameter is automatically mapped as a query parameter. For example, if a query parameter ?custid=[custid] is contained in a resource URI and an input parameter custid is contained in the interface parameters, then the query parameter is automatically mapped with that input parameter.
*If an input parameter name is contained in the resource URI as a path, then the input parameter is automatically mapped as a query parameter. For example, if a path parameter {custid} is contained in a resource URI and an input parameter custid is contained in the interface parameters, then the path parameter is automatically mapped with that input parameter.