Update an Event Tool

put

/api/event/Tools/{id}

Updates the properties of the event tool that matches the specified ID.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Determines if all data is returned for record(Required only for Tool Type of View)
    Example: oracle.doceng.json.BetterJsonNull@259ae1a9
  • Tool Height(Required only for Tool Type of View)
    Example: oracle.doceng.json.BetterJsonNull@6ddc9001
  • Icon
    Example: fugue/thumb-up.png
  • Enable/disable journaling when tool is run
    Example: 1
  • Text to add to journal when tool is run
    Example: Event Acknowledged
  • Determines if the event list should be unpaused and refreshed when the tool finishes(Required only for Tool Type of View)
    Example: oracle.doceng.json.BetterJsonNull@510e0dd2
  • Tool Name
    Example: Acknowledge
  • Relative path to view(Required only for Tool Type of View)
    Example: oracle.doceng.json.BetterJsonNull@153cf928
  • ID of the path type (Required only for Tool Type of View) Allowed Values: - 1 => Local - 2 => Internal - 3 => Hybrid - 4 => Remote
    Example: oracle.doceng.json.BetterJsonNull@66ad7167
  • This SQL command will be run against the Event.Events schema table (Required only for Tool Type of SQL)
    Example: UPDATE Events SET Action = 'SQL Tool: Acknowledge', Actor = $USERNAME, LastChanged = UNIX_TIMESTAMP(NOW(3)), Ack = 1, OwnerName = $USERNAME WHERE Ack = 0 AND EventID IN ($EVENTLIST);
  • Tool Target(Required only for Tool Type of View) Allowed Values: - window - currenttab - newtab
    Example: oracle.doceng.json.BetterJsonNull@3b235623
  • Tool Type Allowed Values: - 1 => View - 2 => SQL
    Example: 2
  • Tool Width(Required only for Tool Type of View)
    Example: oracle.doceng.json.BetterJsonNull@15c8b75c
Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : schema
Match All
Show Source
Nested Schema : SuccessfulUpdateOperation
Type: object
Show Source
Nested Schema : type
Type: object
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : eventToolsRead
Type: object
Show Source
  • Determines if all data is returned for record
    Example: oracle.doceng.json.BetterJsonNull@65a01901
  • Height of the tool window in pixels
    Example: oracle.doceng.json.BetterJsonNull@51a73873
  • Icon
    Example: fugue/thumb-up.png
  • Enable/disable journaling when tool is run
    Example: 1
  • Journal Status Icon
    Example: OrbGreen.png
  • Journal status if enabled/disabled
    Example: Enabled
  • Text to add to journal when tool is run
    Example: Event Acknowledged
  • Determines if the event list should be unpaused and refreshed when the tool finishes
    Example: oracle.doceng.json.BetterJsonNull@597eb9ac
  • The event tool ID.
    Example: 1
  • Tool Name
    Example: Acknowledge
  • Relative path to view
    Example: oracle.doceng.json.BetterJsonNull@3aac31b7
  • Tool Path type Allowed values: - Hybrid - Internal - Local - Remote
    Example: oracle.doceng.json.BetterJsonNull@a1be5cb
  • Tool Path Type Allowed Values: - 1 => Local - 2 => Internal - 3 => Hybrid - 4 => Remote
    Example: oracle.doceng.json.BetterJsonNull@4f239a76
  • This SQL command will be run against the Event.Events schema table
    Example: UPDATE Events SET Action = 'SQL Tool: Acknowledge', Actor = $USERNAME, LastChanged = UNIX_TIMESTAMP(NOW(3)), Ack = 1, OwnerName = $USERNAME WHERE Ack = 0 AND EventID IN ($EVENTLIST);
  • Tool Target Allowed Values: - window - currenttab - newtab
    Example: oracle.doceng.json.BetterJsonNull@48b1b469
  • Tool target display Allowed Values: - PopUp - CurrentTab - NewTab
    Example: oracle.doceng.json.BetterJsonNull@27ada0e8
  • Tool Type Allowed Values: - 1 => View - 2 => SQL
    Example: 2
  • Tool type name
    Example: SQL
  • Width of the tool window in pixels
    Example: oracle.doceng.json.BetterJsonNull@5b8ba1d2

Default Response

Failed operation
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : errors
Type: array
The list of errors reported. Validation errors will be keyed by record field.
Show Source
Nested Schema : items
Type: object
Back to Top