GetScriptResult
  • 1 Minute to read
  • Dark
    Light
  • PDF

GetScriptResult

  • Dark
    Light
  • PDF

Article summary

Returns Execution History for a script

KeyValue(s)Description
method"GetScriptResult"Returns execution history for a script
scriptID"UniqueScriptIdentifier"Unique identifier for the script, either passed in from calling program via ExecuteStoredScript, or automatically generated by ExecuteStoredScript

Example Request:

{
  "method": "GetScriptResult",
  "scriptId": "scriptID1"
}

Example Return:

{
  "status": {
    "script": [
      {
        "method": "Defines",
        "detail": "",
        "state": "Not Started",
        "time": "",
        "errors": []
      },
      {
        "method": "Backup",
        "detail": "",
        "state": "Complete",
        "time": "0.03",
        "errors": []
      },
      {
        "method": "IF",
        "detail": "",
        "state": "Not Started",
        "time": "",
        "errors": []
      },
      {
        "method": "Audit",
        "detail": "%BackupPathAndFile_Audit%",
        "state": "Complete",
        "time": "0.29",
        "errors": []
      },
      {
        "method": "ENDIF",
        "detail": "",
        "state": "Not Started",
        "time": "",
        "errors": []
      }
    ]
  },
  "executed": true,
  "errors": [],
  "millis": 7,
  "projectEpoch": 638294227799262641,
  "method": "GetScriptResult",
  "exmillis": 16
}



Was this article helpful?

What's Next