Mengambil riwayat eksekusi instans. Setiap eksekusi ulang menghasilkan catatan riwayat baru.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
integer |
Yes |
ID instans. Anda dapat memanggil operasi ListInstances untuk mengkueri ID instans. |
1234 |
| ProjectEnv |
string |
No |
Lingkungan ruang kerja. Nilai valid: PROD dan DEV. Secara default, data instans di lingkungan produksi yang dikueri. |
PROD |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
E6F0DBDD-5AD**** |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| Instances |
array<object> |
The instances. |
|
|
object |
|||
| Status |
string |
The status of the node that generates the instance. Valid values:
|
NOT_RUN |
| CycTime |
integer |
The time when the node started to be run. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC. |
1590422400000 |
| BeginRunningTime |
integer |
The time when the instance started to be run. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC. |
1590416703313 |
| FinishTime |
integer |
The time when the running of the node was complete. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC. |
1590416703313 |
| ErrorMessage |
string |
The error message. This parameter is deprecated. You can call the GetInstanceLog operation to query the error information related to the node. |
error message |
| CreateTime |
integer |
The time when the instance was generated. |
1590416703313 |
| DagId |
integer |
The workflow ID. |
33845 |
| TaskType |
string |
The scheduling type of the node. Valid values:
|
NORMAL(0) |
| DagType |
string |
Indicates whether the instance is associated with a monitoring rule in Data Quality. Valid values:
|
1 |
| ModifyTime |
integer |
The time when the node was last modified. |
1590416703313 |
| InstanceId |
integer |
The instance ID. |
1234 |
| BeginWaitResTime |
integer |
The time when the instance started to wait for resources. |
1590416703313 |
| Bizdate |
integer |
The data timestamp of the instance. In most cases, the value is one day before the time when the instance was run. |
1590336000000 |
| NodeName |
string |
The name of the node. |
kzh |
| BeginWaitTimeTime |
integer |
The time when the instance started to wait to be scheduled. |
1590416703313 |
| NodeId |
integer |
The node ID. |
33115 |
| InstanceHistoryId |
integer |
The historical record number of the instance. |
1 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "E6F0DBDD-5AD****",
"Success": true,
"Instances": [
{
"Status": "NOT_RUN",
"CycTime": 1590422400000,
"BeginRunningTime": 1590416703313,
"FinishTime": 1590416703313,
"ErrorMessage": "error message",
"CreateTime": 1590416703313,
"DagId": 33845,
"TaskType": "NORMAL(0)",
"DagType": "1",
"ModifyTime": 1590416703313,
"InstanceId": 1234,
"BeginWaitResTime": 1590416703313,
"Bizdate": 1590336000000,
"NodeName": "kzh",
"BeginWaitTimeTime": 1590416703313,
"NodeId": 33115,
"InstanceHistoryId": 1
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.