Get Tasks Status Using GET

Get Tasks Status Using GET

In general, to get the status of any long running operations, the operation must have been initiated through the vRealize Operations Manager REST API. This API endpoint returns the details of the long running tasks that were submitted via the API only. Furthermore, the list of tasks that this API returns includes tasks for long running operations such as Adapter Installation, Describe etc. This API does not return the tasks created when any Remediation Actions are executed in the system either via the UI or via the API.

Request
URI
GET
https://{api_host}/api/tasks
COPY
Query Parameters
string of array
taskId
Optional

The task ids

string of array
taskState
Optional

States of the tasks

Possible values are : INITIATED, STOPPED, RUNNING, FINISHED, ERROR, ABORTED, UNKNOWN,

Authentication
This operation uses the following authentication methods.
Responses
200

List of Tasks' Statuses

Returns task-statuses of type(s) application/json
{
    "taskStatusList": [
        {
            "createdTime": 0,
            "description": "string",
            "errorMessages": [
                "string"
            ],
            "lastUpdateTime": 0,
            "links": [
                {
                    "description": "string",
                    "href": "string",
                    "name": "string",
                    "rel": "string"
                }
            ],
            "statusMessage": "string",
            "taskId": "string",
            "taskState": "string"
        }
    ]
}
taskStatusList
Optional

Collection of task statuses