CollectionResultModel<TaskModel>

A collection of items.

Properties

NameDescription Additional information
Href

See Hypermedia.

Type: String

RelatedActions

See Hypermedia.

Type: Array of RelationModel

Count

Number of items in the returned collection. See Object Counts.

Type: Number

TotalMatchingFilter

The total number of items that matched the specified filter. This may be larger than the number of items returned, if the caller specified "take" and/or "skip" parameters. See Object Counts.

Type: Number

Items

The items.

Type: Array of TaskModel

Sample

application/json

Sample:
{
  "Count": 1,
  "TotalMatchingFilter": 1,
  "Items": [
    {
      "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,
      "CanCancel": true,
      "CreationTime": "2013-12-05T16:13:17.5854389-05:00",
      "Steps": [
        {
          "Id": "e2fd3ae5-179a-4fb5-81f9-832daa69ddfb",
          "Name": "Widget wiggle",
          "Description": "Widget wiggle 1",
          "State": "Succeeded",
          "Message": "Wiggled widget wisely",
          "CreationTime": "2013-12-05T16:13:17.5854389-05:00",
          "StartTime": "2013-12-05T16:13:17.5854389-05:00",
          "FinishTime": "2013-12-05T16:13:17.5854389-05:00",
          "TargetAgent": {
            "Href": "[api:Agents(941e92f1-5dd6-4720-bca2-6875c8b04acd)]",
            "Name": "SERVER1",
            "Id": "941e92f1-5dd6-4720-bca2-6875c8b04acd"
          }
        }
      ]
    }
  ]
}