Mengkueri riwayat eksekusi pemindaian kualitas data di proyek tertentu.
Deskripsi operasi
This feature requires DataWorks basic edition or higher.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:ListDataQualityScanRuns |
list |
*全部资源
|
None | None |
Sintaks permintaan
POST HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DataQualityScanId |
integer |
No |
ID pemindaian kualitas data. |
10001 |
| CreateTimeFrom |
integer |
No |
Waktu mulai paling awal eksekusi pemindaian kualitas data yang akan disertakan dalam hasil. Tentukan pengatur waktu sebagai stempel waktu UNIX dalam milidetik. |
1710239005403 |
| CreateTimeTo |
integer |
No |
Waktu mulai paling akhir eksekusi pemindaian kualitas data yang akan disertakan dalam hasil. Tentukan pengatur waktu sebagai stempel waktu UNIX dalam milidetik. |
1710239005403 |
| Status |
string |
No |
Status eksekusi pemindaian kualitas data. Nilai valid:
|
Fail |
| SortBy |
string |
No |
Bidang dan Pesanan pengurutan untuk hasil. Formatnya adalah
|
CreateTime Desc |
| PageSize |
integer |
No |
Jumlah entri yang akan dikembalikan pada setiap halaman. Nilai default: 10. |
20 |
| PageNumber |
integer |
No |
Nomor halaman yang akan dikembalikan. Nilai default: 1. |
1 |
| ProjectId |
integer |
Yes |
ID proyek. |
12345 |
| Filter |
object |
No |
Objek dengan kondisi filter lanjutan. Parameter berikut didukung:
|
{ "TaskInstanceId": "111", "RunNumber": "1" } |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| RequestId |
string |
The request ID. |
0bc14115***159376359 |
| PageInfo |
object |
The pagination information. |
|
| TotalCount |
integer |
The total number of entries. |
324 |
| PageSize |
integer |
The number of entries per page. The default value is 10. |
10 |
| PageNumber |
integer |
The page number. The default value is 1. |
1 |
| DataQualityScanRuns |
array<object> |
The list of data quality scan runs. |
|
|
array<object> |
The details of a data quality scan run. |
||
| Id |
integer |
The ID of the data quality monitor running record. |
3155 |
| CreateTime |
integer |
The time when the data quality monitor starts running. |
1710239005403 |
| FinishTime |
integer |
The time when the data quality monitor stops. |
1710239005403 |
| Status |
string |
The status of the instance.
|
Fail |
| Parameters |
array<object> |
The parameters configured for the instance. |
|
|
object |
The parameter information. |
||
| Name |
string |
The parameter name. |
dt |
| Value |
string |
The parameter value. You can use a scheduling time expression. |
$[yyyy-mm-dd-1] |
Contoh
Respons sukses
JSONformat
{
"RequestId": "0bc14115***159376359",
"PageInfo": {
"TotalCount": 324,
"PageSize": 10,
"PageNumber": 1,
"DataQualityScanRuns": [
{
"Id": 3155,
"CreateTime": 1710239005403,
"FinishTime": 1710239005403,
"Status": "Fail",
"Parameters": [
{
"Name": "dt",
"Value": "$[yyyy-mm-dd-1]"
}
]
}
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.