Summary
          Compliance Reports totals for a Device.
          Description
          Compliance Reports totals for a Device.
          Route
          POST /configuration_manager/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",
    "devices": [
      "xr9kv-atl",
      "xr9kv-atl",
      "xr9kv-atl"
    ],
    "limit": 82433308
  }
}
           
          
            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"
          ]
        },
        "devices": {
          "type": "array",
          "items": {
            "$ref": "deviceData#/definitions/deviceName"
          }
        },
        "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": "v3",
    "nodePath": "base/US East/Atlanta",
    "deviceName": "xr9kv-atl",
    "timestamp": "2019-04-12T14:42:47.958Z",
    "totals": {
      "errors": 55953547,
      "warnings": 90818392,
      "infos": 55865946,
      "passes": 6216296
    }
  },
  {
    "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": 38882568,
      "warnings": 31992934,
      "infos": 3817488,
      "passes": 43854370
    }
  },
  {
    "id": "5c35355dbebaa82eaf8113f0",
    "batchId": "5c35355dbebaa82eaf8113f0",
    "treeId": "5c35355dbebaa82eaf8113f0",
    "version": "initial",
    "nodePath": "base",
    "deviceName": "xr9kv-atl",
    "timestamp": "2019-04-12T14:42:47.958Z",
    "totals": {
      "errors": 21625251,
      "warnings": 83890394,
      "infos": 6997365,
      "passes": 10373620
    }
  },
  {
    "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": 73565350,
      "warnings": 89756554,
      "infos": 97871504,
      "passes": 77677503
    }
  }
]