查询数据质量校验任务详情
接口说明
需要购买 DataWorks 基础版及以上版本才能使用。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
Id | long | 否 | 数据质量监控 ID。 | 1006455182 |
返回参数
示例
正常返回示例
JSON
格式
{
"RequestId": "SDFSDFSDF-SDFSDF-SDFDSF-SDFSDF",
"DataQualityEvaluationTask": {
"Target": {
"Type": "Table",
"DatabaseType": "maxcompute",
"TableGuid": "odps.meta_open_api_test_sz.test_partition_tbl",
"PartitionSpec": "pt=$[yyyymmdd-1]"
},
"Description": "质量监控任务描述。",
"Trigger": {
"Type": "ByScheduledTaskInstance",
"TaskIds": [
30001
]
},
"RuntimeConf": "{ \"queue\": \"default\", \"sqlEngine\": \"SPARK_SQL\" }\n",
"Id": 2178,
"Name": "OpenAPI创建数据质量监控测试\n",
"ProjectId": 2626,
"Hooks": [
{
"Type": "BlockTaskInstance",
"Condition": "(${severity} == \"High\" AND ${status} == \"Critical\") OR (${severity} == \"Normal\" AND ${status} == \"Critical\") OR (${severity} == \"Normal\" AND ${status} == \"Error\")"
}
],
"Notifications": {
"Condition": "(${severity} == \"High\" AND ${status} == \"Critical\") OR (${severity} == \"Normal\" AND ${status} == \"Critical\") OR (${severity} == \"Normal\" AND ${status} == \"Error\")",
"Notifications": [
{
"NotificationReceivers": [
{
"ReceiverType": "DingdingUrl",
"Extension": "{ \"atAll\": true }\n",
"ReceiverValues": [
"https://api.fc.aliyuncs.com/webhook\n"
]
}
],
"NotificationChannels": [
{
"Channels": [
"Mail"
]
}
]
}
]
}
}
}
错误码
访问错误中心查看更多错误码。