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": 25100437
  }
}
           
          
            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": "draft v4",
    "nodePath": "base/US East",
    "deviceName": "xr9kv-atl",
    "timestamp": "2019-04-12T14:42:47.958Z",
    "totals": {
      "errors": 27870659,
      "warnings": 1066799,
      "infos": 670561,
      "passes": 86313881
    }
  },
  {
    "id": "5c35355dbebaa82eaf8113f0",
    "batchId": "5c35355dbebaa82eaf8113f0",
    "treeId": "5c35355dbebaa82eaf8113f0",
    "version": "initial",
    "nodePath": "base/US East",
    "deviceName": "xr9kv-atl",
    "timestamp": "2019-04-12T14:42:47.958Z",
    "totals": {
      "errors": 2680288,
      "warnings": 31806912,
      "infos": 71502216,
      "passes": 63663391
    }
  },
  {
    "id": "5c35355dbebaa82eaf8113f0",
    "batchId": "5c35355dbebaa82eaf8113f0",
    "treeId": "5c35355dbebaa82eaf8113f0",
    "version": "v2",
    "nodePath": "base",
    "deviceName": "xr9kv-atl",
    "timestamp": "2019-04-12T14:42:47.958Z",
    "totals": {
      "errors": 46504649,
      "warnings": 31830367,
      "infos": 23919679,
      "passes": 35538394
    }
  },
  {
    "id": "5c35355dbebaa82eaf8113f0",
    "batchId": "5c35355dbebaa82eaf8113f0",
    "treeId": "5c35355dbebaa82eaf8113f0",
    "version": "v3",
    "nodePath": "base/US East/Atlanta",
    "deviceName": "xr9kv-atl",
    "timestamp": "2019-04-12T14:42:47.958Z",
    "totals": {
      "errors": 10652874,
      "warnings": 33011428,
      "infos": 49709818,
      "passes": 86944679
    }
  },
  {
    "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": 11819889,
      "warnings": 9228931,
      "infos": 35283707,
      "passes": 90856061
    }
  }
]