GetScriptResult
- 1 Minute to read
- Print
- DarkLight
- PDF
GetScriptResult
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Returns Execution History for a script
Key | Value(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?