The Class ScriptInstanceDto.
name | data type | constraints | description |
---|---|---|---|
disabled | boolean | Is entity disabled. Value is ignored in Update action - use enable/disable API instead. | |
executionRoles | array of string | The execution roles. | |
type | ScriptSourceTypeEnum | The type. | |
sourcingRoles | array of string | The sourcing roles. | |
id | number | The id. | |
reuse | boolean | Shall same script instance be utilized in repeated calls | |
auditableField | array of AuditableFieldDto | ||
scriptInstanceCategoryCode | string | ||
script | string | The script. | |
code | string | required | The code |
description | string | The description | |
updatedCode | string | The updated code. |
Example
{ "disabled" : true, "executionRoles" : [ "...", "..." ], "type" : "JAVA", "sourcingRoles" : [ "...", "..." ], "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" : "..." } ], "scriptInstanceCategoryCode" : "...", "script" : "...", "code" : "...", "description" : "...", "updatedCode" : "..." }