ScriptInstanceDto Data Type

The Class 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  
executionRoles array of string   The execution roles.
script string   The script.
code string required The code
sourcingRoles array of string   The sourcing roles.
scriptInstanceCategoryCode string  
languageDescriptions array of LanguageDescriptionDto  
description string   The description
scriptParameters array of ScriptParameterDto  
updatedCode string   The updated code.

Example

{
  "disabled" : true,
  "type" : "JAVA",
  "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" : "..."
  } ],
  "executionRoles" : [ "...", "..." ],
  "script" : "...",
  "code" : "...",
  "sourcingRoles" : [ "...", "..." ],
  "scriptInstanceCategoryCode" : "...",
  "languageDescriptions" : [ {
    "languageCode" : "...",
    "description" : "..."
  }, {
    "languageCode" : "...",
    "description" : "..."
  } ],
  "description" : "...",
  "scriptParameters" : [ {
    "code" : "...",
    "className" : "...",
    "defaultValue" : "...",
    "mandatory" : true,
    "allowedValues" : "...",
    "valuesSeparator" : "...",
    "collection" : true,
    "languageDescriptions" : [ {
      "languageCode" : "...",
      "description" : "..."
    }, {
      "languageCode" : "...",
      "description" : "..."
    } ]
  }, {
    "code" : "...",
    "className" : "...",
    "defaultValue" : "...",
    "mandatory" : true,
    "allowedValues" : "...",
    "valuesSeparator" : "...",
    "collection" : true,
    "languageDescriptions" : [ {
      "languageCode" : "...",
      "description" : "..."
    }, {
      "languageCode" : "...",
      "description" : "..."
    } ]
  } ],
  "updatedCode" : "..."
}