Update a REST handler parameter
put
/ords/rest/parameters/{id}
Updates a REST handler parameter.
Request
Supported Media Types
- application/json
Path Parameters
-
id: integer
ID for specific parameter.
Root Schema : schema
Type:
Show Source
object
-
access_method:
string
The parameter access method. Indicates if the parameter is an input value, output value, or both. Valid values: IN, OUT, INOUT.
-
bind_variable_name(optional):
string
The name of the parameter, as it will be referred to in the SQL. If NULL is specified, then the parameter is unbound.
-
comments(optional):
string
Comment text.
-
handler_id:
integer
ID for specific handler.
-
name:
string
The name of the parameter, as it is named in the URI Template or HTTP Header. Used to map names that are not valid SQL parameter names.
-
param_type:
string
The native type of the parameter. Valid values: STRING, INT, DOUBLE, BOOLEAN, LONG, TIMESTAMP.
-
source_type:
string
The type identifies if the parameter originates in the URI Template or a HTTP Header. Valid values: HEADER, RESPONSE, URI.
Response
Supported Media Types
- application/json
200 Response
Details of the REST handler parameter that has been successfully updated.
400 Response
No name parameter provided.
404 Response
Parameter does not exist.
409 Response
Parameter name or bind variable already exists.