Summary
          Get historical graded compliance reports.
          Description
          Get historical graded compliance reports for a task instance on a node.
          Route
          POST /configuration_manager/json_compliance_reports/grade/history
          Roles
          
            admin
apiwrite
          
          Parameters
          
            DetailsExampleSchema
          
          
            
              
                | Name | Type | Required | Description | 
            
            
              
    | treeId | string | yes | - | 
    | version | string | yes | - | 
    | nodePath | string | yes | - | 
    | taskId | string | yes | - | 
    | options | object | yes | - | 
            
          
          
            Copied to Clipboard
            
            {
  "treeId": "5c35355dbebaa82eaf8113f0",
  "version": "initial",
  "nodePath": "base",
  "taskId": "5f80bd24f8479975bb46054d",
  "options": {
    "weights": {
      "error": -16000062.305544421,
      "warning": 1038902.9323708266,
      "info": -32590585.955169037
    },
    "limit": 57997321
  }
}
           
          
            Copied to Clipboard
            
            {
  "type": "object",
  "properties": {
    "treeId": {
      "title": "treeId",
      "$ref": "common#/definitions/mongoObjectId"
    },
    "version": {
      "title": "version",
      "$ref": "goldenConfigData#/definitions/goldenConfigTreeVersionName"
    },
    "nodePath": {
      "title": "nodePath",
      "$ref": "goldenConfigData#/definitions/goldenConfigNodePath"
    },
    "taskId": {
      "title": "taskId",
      "type": "string",
      "examples": [
        "5f80bd24f8479975bb46054d"
      ]
    },
    "options": {
      "title": "options",
      "$ref": "goldenConfigData#/definitions/gradeDeviceComplianceHistoryOptions"
    }
  },
  "required": [
    "treeId",
    "version",
    "nodePath",
    "taskId",
    "options"
  ],
  "additionalProperties": false
}
           
          Return
          
            DetailsExampleSchema
          
          
            
              
                | Name | Type | Description | 
            
            
              
                | graded_compliance_history | array | - | 
            
          
          
            Copied to Clipboard
            
            [
  {
    "id": "5c35355dbebaa82eaf8113f0",
    "nodePath": "base/US East/Atlanta",
    "deviceName": "xr9kv-atl",
    "timestamp": "2019-04-12T14:42:47.958Z",
    "error": 26961463,
    "warning": 4538571,
    "info": 47345845,
    "pass": 40628293,
    "score": 74.46163213866295,
    "grade": "fail"
  },
  {
    "id": "5c35355dbebaa82eaf8113f0",
    "nodePath": "base/US East/Atlanta",
    "deviceName": "xr9kv-atl",
    "timestamp": "2019-04-12T14:42:47.958Z",
    "error": 11027826,
    "warning": 72215881,
    "info": 54333598,
    "pass": 47537620,
    "score": 0.601505774999378,
    "grade": "pass"
  },
  {
    "id": "5c35355dbebaa82eaf8113f0",
    "nodePath": "base/US East/Atlanta",
    "deviceName": "xr9kv-atl",
    "timestamp": "2019-04-12T14:42:47.958Z",
    "error": 74183214,
    "warning": 5937850,
    "info": 4473312,
    "pass": 19917306,
    "score": 8.128451567775086,
    "grade": "fail"
  },
  {
    "id": "5c35355dbebaa82eaf8113f0",
    "nodePath": "base/US East/Atlanta",
    "deviceName": "xr9kv-atl",
    "timestamp": "2019-04-12T14:42:47.958Z",
    "error": 99361689,
    "warning": 44920640,
    "info": 65922246,
    "pass": 11473523,
    "score": 29.330800647784393,
    "grade": "review"
  },
  {
    "id": "5c35355dbebaa82eaf8113f0",
    "nodePath": "base/US East/Atlanta",
    "deviceName": "xr9kv-atl",
    "timestamp": "2019-04-12T14:42:47.958Z",
    "error": 82585905,
    "warning": 58504449,
    "info": 51888185,
    "pass": 14763474,
    "score": 54.912436166010025,
    "grade": "review"
  }
]