Queries a list of historical check results based on a partition filter expression.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
EntityId | integer | Yes | The ID of the partition filter expression. You can call the GetQualityEntity operation to query the ID of the partition filter expression. | 152322134 |
StartDate | string | Yes | The beginning of the time range to query. Specify the time in the yyyy-MM-dd HH:mm:ss format. | 2020-09-20 00:00:00 |
EndDate | string | Yes | The end of the time range to query. Specify the time in the yyyy-MM-dd HH:mm:ss format. | 2020-09-21 00:00:00 |
PageSize | integer | Yes | The number of entries per page. Default value: 10. Maximum value: 20. | 10 |
PageNumber | integer | Yes | The page number. | 1 |
ProjectName | string | Yes | The name of the compute engine or data source. You can obtain the name from data source configurations. | autotest |
ProjectId | long | Yes | The DataWorks workspace ID. | 12345 |
Response parameters
Examples
Sample success responses
JSON
format
{
"HttpStatusCode": 200,
"ErrorMessage": "You have no permission.",
"RequestId": "CBA58543-00D4-41****",
"Success": true,
"ErrorCode": "401",
"Data": {
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 50,
"RuleChecks": [
{
"BlockType": 0,
"WarningThreshold": 0.1,
"Property": "type",
"TableName": "dual",
"Comment": "",
"CheckResultStatus": 0,
"TemplateName": "",
"CheckerName": "fulx",
"RuleId": 123123232,
"FixedCheck": false,
"Op": ">",
"UpperValue": 25555,
"ActualExpression": "ds=20200912",
"ExternalId": "1112323123",
"TimeCost": "202",
"Trend": "abs",
"ExternalType": "CWF2",
"BizDate": 1600704000000,
"CheckResult": 0,
"ResultString": "test",
"MatchExpression": "ds=$[yyyymmdd]",
"CheckerType": 1,
"ProjectName": "autotest",
"BeginTime": 1600704000000,
"DateType": "YMD",
"CriticalThreshold": 0.5,
"IsPrediction": true,
"RuleName": "",
"CheckerId": 7,
"DiscreteCheck": true,
"EndTime": 1600704000000,
"MethodName": "count_distinct",
"LowerValue": 2344,
"EntityId": 15432322,
"WhereCondition": "id>0",
"ExpectValue": 200,
"TemplateId": 5,
"TaskId": "16008552981681a0d6****",
"Id": 121212121,
"ReferenceValue": [
{
"DiscreteProperty": "0",
"Value": 19,
"BizDate": "2020-12-03",
"SingleCheckResult": 0,
"Threshold": 0.5
}
],
"SampleValue": [
{
"DiscreteProperty": "0",
"BizDate": "2020-12-03",
"Value": 19
}
]
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-01-22 | The response structure of the API has changed | View Change Details |
2023-03-08 | The request parameters of the API has changed | View Change Details |