Update a REST module template

put

/ords/rest/templates/{id}

Updates a REST module template.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : schema
Type: object
Show Source
  • Comment text.
  • Query that is used to generate the entity tag.
  • A type of entity tag to be used by the resource template. An entity tag is an HTTP Header that acts as a version identifier for a resource. Use entity tag headers to avoid retrieving previously retrieved resources and to perform optimistic locking when updating resources. Valid values are HASH, QUERY, NONE.
  • A matching pattern for the resource template. For example, a pattern of /objects/:object/:id? will match /objects/emp/101 (matches a request for the item in the emp resource with id of 101) and will also match /objects/emp/. (Matches a request for the emp resource, because the :id parameter is annotated with the ? modifier, which indicates that the id parameter is optional.)
  • The priority for the order of how the resource template should be evaluated: 0 (low priority. the default) through 9 (high priority).
Back to Top

Response

Supported Media Types

200 Response

Details of the REST module template 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