GET /api/v3/vms/actions/checkexecutionstatus

Checks the status of a previously executed command line script

Request Path

GET /api/v3/vms/actions/checkexecutionstatus?vmId=<vmId>&executionId=<executionId>

Request Payload

{
    "vmId": "MCTQBRGIH5V2br3eiEd129w1A",
    "executionId": "SREWQRGIH5V232eeiEdFetw31"
}

Parameters

vmID The ID of the VM on which the script was executed
executionId The ID returned by the execution request, PUT /api/v3/vms/actions/executepath

Response Example

{
    "id": "SREWQRGIH5V232eeiEdFetw31",
    "exitCode": 0,
    "success": true,
    "standardOutput": "All OK",
    "standardError": null,
    "executedPath": "c:\myScript.py"
}