/
Getting all properties from a certain Task

Getting all properties from a certain Task

Format

MethodGET
URL

/tasks/$TASK_ID

Request contentsEmpty
Successful answerObject related to this Task type
Non-successful answerErrorMessage Object
Unexpected answerHTTP 500

Common fields for all Task types

Schema

task_idStringTask's unique identifier
executionStringDate and time when the task finished running
stateStringCurrent state. Either "running" or "completed"
retriesStringNumber of times that, in case of error, the task will be retried
current_tryIntegerCurrent execution iteration
resultStringTask result. Either "error", "success" or "pending"
result_msgStringMessage related to Task result

JSON example

{
    "execution": "2016-02-03 16:58:03",
    "state": "completed",
    "retries": "0",
    "result": "success",
    "task_id": "86725e2d-6277-434e-84ad-4d5d174f405f",
    "result_msg": "Guest started successfuly on host flexdev01",
    "current_try": 1
}

Related content

Getting all properties from a certain Task
Getting all properties from a certain Task
More like this
Getting all properties from a certain Task
Getting all properties from a certain Task
More like this
Listing all registered tasks
Listing all registered tasks
More like this
Listing all registered tasks
Listing all registered tasks
More like this
Modifying Host properties
Modifying Host properties
More like this
Modifying Host properties
Modifying Host properties
More like this