Create a REST handler parameter

post

/ords/rest/parameters/

Creates a REST handler parameter.

Request

Supported Media Types
Body ()
Root Schema : schema
Type: object
Show Source
  • The parameter access method. Indicates if the parameter is an input value, output value, or both. Valid values: IN, OUT, INOUT.
  • The name of the parameter, as it will be referred to in the SQL. If NULL is specified, then the parameter is unbound.
  • Comment text.
  • ID for specific module handler.
  • 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.
  • The native type of the parameter. Valid values: STRING, INT, DOUBLE, BOOLEAN, LONG, TIMESTAMP.
  • Its value can be 'codePreview', which would make the endpoint respond with the code the backend would have executed. When the parameter is not provided, the endpoint will respond with the results of the operation execution.
  • The type identifies if the parameter originates in the URI Template or a HTTP Header. Valid values: HEADER, RESPONSE, URI.
Back to Top

Response

Supported Media Types

201 Response

Details of the REST handler parameter that has been successfully created.
Body ()
Root Schema : ResourceItem
Type: object
Additional Properties Allowed: true
Show Source
Nested Schema : LinkRelation
Type: object
Show Source
Back to Top