CustomScriptDto Data Type

The Class CustomScriptDto.

Abstract Type
Subtypes
ScriptInstanceDto
Implemented Interfaces
Serializable
Properties
name data type constraints description
disabled boolean   Is entity disabled. Value is ignored in Update action - use enable/disable API instead.
type ScriptSourceTypeEnum   The type.
id number   The id.
reuse boolean   Shall same script instance be utilized in repeated calls
auditableField array of AuditableFieldDto  
script string   The script.
code string required The code
description string   The description
updatedCode string   The updated code.

Example

This data type is abstract. The example below may be incomplete. More accurate examples can be found in subtypes pages.
{
  "disabled" : true,
  "type" : "JAVA_CLASS",
  "id" : 12345,
  "reuse" : true,
  "auditableField" : [ {
    "entityClass" : "...",
    "fieldName" : "...",
    "id" : 12345,
    "changeOrigin" : "...",
    "auditableField" : [ { }, { } ],
    "originName" : "...",
    "code" : "...",
    "previousState" : "...",
    "currentState" : "...",
    "description" : "...",
    "created" : "...",
    "updatedCode" : "...",
    "actor" : "..."
  }, {
    "entityClass" : "...",
    "fieldName" : "...",
    "id" : 12345,
    "changeOrigin" : "...",
    "auditableField" : [ { }, { } ],
    "originName" : "...",
    "code" : "...",
    "previousState" : "...",
    "currentState" : "...",
    "description" : "...",
    "created" : "...",
    "updatedCode" : "...",
    "actor" : "..."
  } ],
  "script" : "...",
  "code" : "...",
  "description" : "...",
  "updatedCode" : "..."
}