Help Page Home

# GET Tasks({id})

Get details of a single task by ID.

## Request Information

### Parameters

Name | Description | Additional information
--- | --- | ---
id | ID of the task. | Type: String

## Response Information

Task details.

### Response type

TaskModel

### Response body formats

#### application/json, text/json

Sample:

    {
      "Href": "[api:Tasks(06322394-68fc-4fb9-853f-62336fa78d2e)]",
      "Id": "06322394-68fc-4fb9-853f-62336fa78d2e",
      "Name": "Frobnicating widgets",
      "UserName": "DOMAIN\\user",
      "UserSid": "S-1-5-21-1180699209-877415012-3182924384-1004",
      "IsActive": true,
      "IsError": false,
      "IsWarning": false,
      "CanRetry": false,
      "CanCancel": true,
      "CreationTime": "2013-12-05T16:12:55.9867453-05:00",
      "Steps": [
        {
          "Id": "e2fd3ae5-179a-4fb5-81f9-832daa69ddfb",
          "Name": "Widget wiggle",
          "Description": "Widget wiggle 1",
          "IsHistory": false,
          "IsWarning": false,
          "State": "Succeeded",
          "Message": "Wiggled widget wisely",
          "CreationTime": "2013-12-05T16:12:55.9867453-05:00",
          "StartTime": "2013-12-05T16:12:55.9867453-05:00",
          "FinishTime": "2013-12-05T16:12:55.9867453-05:00",
          "TargetAgent": {
            "Href": "[api:Agents(941e92f1-5dd6-4720-bca2-6875c8b04acd)]",
            "Name": "SERVER1",
            "Id": "941e92f1-5dd6-4720-bca2-6875c8b04acd"
          }
        }
      ]
    }