Summary
          Compliance Reports totals for a Task Instance.
          Description
          Compliance Reports totals for a Task Instance.
          Route
          POST /configuration_manager/json_compliance_reports/history
          Roles
          
            admin
apiread
          
          Parameters
          
            DetailsExampleSchema
          
          
            
              
                | Name | Type | Required | Description | 
            
            
              
    | options | object | yes | - | 
            
          
          
            Copied to Clipboard
            
            {
  "options": {
    "treeId": "5c35355dbebaa82eaf8113f0",
    "version": "v3",
    "nodePath": "base/US East/Atlanta",
    "taskIds": [
      "5f1063d78cf3b62347de4b87",
      "5f1063d78cf3b62347de4b87",
      "5f1063d78cf3b62347de4b87",
      "5f1063d78cf3b62347de4b87",
      "5f1063d78cf3b62347de4b87"
    ],
    "limit": 82599616
  }
}
           
          
            Copied to Clipboard
            
            {
  "type": "object",
  "properties": {
    "options": {
      "title": "options",
      "type": "object",
      "properties": {
        "treeId": {
          "$ref": "common#/definitions/mongoObjectId"
        },
        "version": {
          "type": "string",
          "examples": [
            "v3"
          ]
        },
        "nodePath": {
          "type": "string",
          "examples": [
            "base/US East/Atlanta"
          ]
        },
        "taskIds": {
          "type": "array",
          "items": {
            "type": "string",
            "title": "taskIds",
            "examples": [
              "5f1063d78cf3b62347de4b87"
            ]
          }
        },
        "limit": {
          "type": "integer",
          "minimum": 1
        }
      }
    }
  },
  "required": [
    "options"
  ],
  "additionalProperties": false
}
           
          Return
          
            DetailsExampleSchema
          
          
            
              
                | Name | Type | Description | 
            
            
              
                | complianceHistory | array | - | 
            
          
          
            Copied to Clipboard
            
            [
  {
    "id": "5c35355dbebaa82eaf8113f0",
    "batchId": "5c35355dbebaa82eaf8113f0",
    "treeId": "5c35355dbebaa82eaf8113f0",
    "version": "v2",
    "nodePath": "base",
    "deviceName": "xr9kv-atl",
    "timestamp": "2019-04-12T14:42:47.958Z",
    "totals": {
      "errors": 46016770,
      "warnings": 35867788,
      "infos": 74950060,
      "passes": 11959979
    }
  },
  {
    "id": "5c35355dbebaa82eaf8113f0",
    "batchId": "5c35355dbebaa82eaf8113f0",
    "treeId": "5c35355dbebaa82eaf8113f0",
    "version": "initial",
    "nodePath": "base/US East/Atlanta",
    "deviceName": "xr9kv-atl",
    "timestamp": "2019-04-12T14:42:47.958Z",
    "totals": {
      "errors": 16087492,
      "warnings": 83631234,
      "infos": 58822142,
      "passes": 3138938
    }
  },
  {
    "id": "5c35355dbebaa82eaf8113f0",
    "batchId": "5c35355dbebaa82eaf8113f0",
    "treeId": "5c35355dbebaa82eaf8113f0",
    "version": "draft v4",
    "nodePath": "base",
    "deviceName": "xr9kv-atl",
    "timestamp": "2019-04-12T14:42:47.958Z",
    "totals": {
      "errors": 42453678,
      "warnings": 62223379,
      "infos": 93907950,
      "passes": 94788008
    }
  },
  {
    "id": "5c35355dbebaa82eaf8113f0",
    "batchId": "5c35355dbebaa82eaf8113f0",
    "treeId": "5c35355dbebaa82eaf8113f0",
    "version": "draft v4",
    "nodePath": "base/US East/Atlanta",
    "deviceName": "xr9kv-atl",
    "timestamp": "2019-04-12T14:42:47.958Z",
    "totals": {
      "errors": 99557086,
      "warnings": 42319031,
      "infos": 7392509,
      "passes": 59383696
    }
  },
  {
    "id": "5c35355dbebaa82eaf8113f0",
    "batchId": "5c35355dbebaa82eaf8113f0",
    "treeId": "5c35355dbebaa82eaf8113f0",
    "version": "v3",
    "nodePath": "base",
    "deviceName": "xr9kv-atl",
    "timestamp": "2019-04-12T14:42:47.958Z",
    "totals": {
      "errors": 7052863,
      "warnings": 80823290,
      "infos": 27274079,
      "passes": 3923041
    }
  }
]