ScriptInstance Data Type

Implemented Interfaces
IReferenceEntity, Serializable
Properties
name data type constraints description
id number  
appendGeneratedCode boolean  
parentEntityType object  
referenceCode string  
sourcingRoles array of string  
active boolean  
descriptionAndCode string  
script string  
description string max size: 255, min size: 0
codeChanged boolean  
referenceDescription string  
code string required, max size: 255, min size: 1
error boolean  
sourceTypeEnum ScriptSourceTypeEnum  
version number  
descriptionOrCode string  
reuse boolean  
executionRoles array of string  
parentEntity BusinessEntity  
scriptInstanceCategory ScriptInstanceCategory  
scriptErrors array of ScriptInstanceError  
notified boolean  
disabled boolean  
transient boolean  
auditableFields array of AuditableFieldHistory  
auditable Auditable  
historized boolean  

Example

{
  "id" : 12345,
  "appendGeneratedCode" : true,
  "parentEntityType" : { },
  "referenceCode" : "...",
  "sourcingRoles" : [ "...", "..." ],
  "active" : true,
  "descriptionAndCode" : "...",
  "script" : "...",
  "description" : "...",
  "codeChanged" : true,
  "referenceDescription" : "...",
  "code" : "...",
  "error" : true,
  "sourceTypeEnum" : "JAVA",
  "version" : 12345,
  "descriptionOrCode" : "...",
  "reuse" : true,
  "executionRoles" : [ "...", "..." ],
  "parentEntity" : {
    "descriptionOrCode" : "...",
    "auditableFields" : [ {
      "historized" : true,
      "notified" : true,
      "auditType" : "STATUS",
      "historable" : true,
      "fieldName" : "...",
      "currentState" : { },
      "notfiable" : true,
      "previousState" : { }
    }, {
      "historized" : true,
      "notified" : true,
      "auditType" : "RENEWAL",
      "historable" : true,
      "fieldName" : "...",
      "currentState" : { },
      "notfiable" : true,
      "previousState" : { }
    } ],
    "version" : 12345,
    "historized" : true,
    "appendGeneratedCode" : true,
    "auditable" : {
      "lastModified" : 12345,
      "updated" : 12345,
      "updater" : "...",
      "created" : 12345,
      "creator" : "...",
      "lastUser" : "..."
    },
    "parentEntity" : { },
    "parentEntityType" : { },
    "description" : "...",
    "referenceDescription" : "...",
    "codeChanged" : true,
    "referenceCode" : "...",
    "code" : "...",
    "transient" : true,
    "descriptionAndCode" : "...",
    "id" : 12345,
    "notified" : true
  },
  "scriptInstanceCategory" : {
    "version" : 12345,
    "transient" : true,
    "referenceDescription" : "...",
    "descriptionOrCode" : "...",
    "historized" : true,
    "appendGeneratedCode" : true,
    "parentEntity" : {
      "descriptionOrCode" : "...",
      "auditableFields" : [ { }, { } ],
      "version" : 12345,
      "historized" : true,
      "appendGeneratedCode" : true,
      "auditable" : { },
      "parentEntity" : { },
      "parentEntityType" : { },
      "description" : "...",
      "referenceDescription" : "...",
      "codeChanged" : true,
      "referenceCode" : "...",
      "code" : "...",
      "transient" : true,
      "descriptionAndCode" : "...",
      "id" : 12345,
      "notified" : true
    },
    "parentEntityType" : { },
    "code" : "...",
    "referenceCode" : "...",
    "description" : "...",
    "auditableFields" : [ {
      "historized" : true,
      "notified" : true,
      "auditType" : "RENEWAL",
      "historable" : true,
      "fieldName" : "...",
      "currentState" : { },
      "notfiable" : true,
      "previousState" : { }
    }, {
      "historized" : true,
      "notified" : true,
      "auditType" : "STATUS",
      "historable" : true,
      "fieldName" : "...",
      "currentState" : { },
      "notfiable" : true,
      "previousState" : { }
    } ],
    "notified" : true,
    "id" : 12345,
    "auditable" : {
      "lastModified" : 12345,
      "updated" : 12345,
      "updater" : "...",
      "created" : 12345,
      "creator" : "...",
      "lastUser" : "..."
    },
    "descriptionAndCode" : "...",
    "codeChanged" : true
  },
  "scriptErrors" : [ {
    "columnNumber" : 12345,
    "message" : "...",
    "sourceFile" : "...",
    "lineNumber" : 12345
  }, {
    "columnNumber" : 12345,
    "message" : "...",
    "sourceFile" : "...",
    "lineNumber" : 12345
  } ],
  "notified" : true,
  "disabled" : true,
  "transient" : true,
  "auditableFields" : [ {
    "historized" : true,
    "notified" : true,
    "auditType" : "RENEWAL",
    "historable" : true,
    "fieldName" : "...",
    "currentState" : { },
    "notfiable" : true,
    "previousState" : { }
  }, {
    "historized" : true,
    "notified" : true,
    "auditType" : "OTHER",
    "historable" : true,
    "fieldName" : "...",
    "currentState" : { },
    "notfiable" : true,
    "previousState" : { }
  } ],
  "auditable" : {
    "lastModified" : 12345,
    "updated" : 12345,
    "updater" : "...",
    "created" : 12345,
    "creator" : "...",
    "lastUser" : "..."
  },
  "historized" : true
}