Mengambil tren jumlah instans yang berhasil diselesaikan pada jam-jam berbeda di tanggal bisnis untuk instans periodik yang dihasilkan pada tanggal tersebut.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectId |
integer |
Yes |
ID ruang kerja DataWorks. Anda dapat masuk ke Konsol DataWorks dan membuka halaman konfigurasi ruang kerja untuk mendapatkan ID ruang kerja. |
9527 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Struktur tanggapan. |
||
| RequestId |
string |
ID permintaan. Anda dapat menggunakan ID ini untuk memecahkan masalah. |
952795279527ab**** |
| InstanceStatusTrend |
object |
Data tren jumlah instans yang berhasil diselesaikan pada jam-jam berbeda di tanggal bisnis. |
|
| TodayTrend |
array<object> |
Tren untuk tanggal bisnis saat ini. |
|
|
object |
Struktur tanggapan. |
||
| TimePoint |
string |
Titik waktu. Nilainya adalah jam tepat yang berkisar dari 00:00 hingga 23:00, seperti 00:00, 01:00, atau 02:00. |
01:00 |
| Count |
integer |
Jumlah instance yang berhasil dijalankan. |
10 |
| YesterdayTrend |
array<object> |
Tren untuk hari sebelum tanggal bisnis. |
|
|
object |
Struktur tanggapan. |
||
| TimePoint |
string |
Titik waktu. Nilainya adalah jam tepat yang berkisar dari 00:00 hingga 23:00, seperti 00:00, 01:00, atau 02:00. |
01:00 |
| Count |
integer |
Jumlah instance yang berhasil dijalankan. |
10 |
| AvgTrend |
array<object> |
Tren rata-rata historis. |
|
|
object |
Struktur tanggapan. |
||
| TimePoint |
string |
Titik waktu. Nilainya adalah jam tepat yang berkisar dari 00:00 hingga 23:00, seperti 00:00, 01:00, atau 02:00. |
01:00 |
| Count |
integer |
Jumlah instance yang berhasil dijalankan. |
10 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "952795279527ab****",
"InstanceStatusTrend": {
"TodayTrend": [
{
"TimePoint": "01:00",
"Count": 10
}
],
"YesterdayTrend": [
{
"TimePoint": "01:00",
"Count": 10
}
],
"AvgTrend": [
{
"TimePoint": "01:00",
"Count": 10
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | Forbidden.Not.Server | The dataworksAPI service is not available in this area. Please try it in another area. | |
| 500 | InternalError.System | An internal system error occurred. Try again later. | |
| 500 | InternalError.UserId.Missing | An internal system error occurred. Try again later. | |
| 500 | Forbidden.Wkbench.ProjectNoPermission | You are not authorized to access the workspace. | |
| 403 | ResourceNotAuthorized.Api | You are not authorized to access the resources. | |
| 403 | Forbidden.Access | Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition. | |
| 429 | Throttling.Api | The request for this resource has exceeded your available limit. | |
| 429 | Throttling.Api.Risk | The request for this resource has exceeded your daily available limit. | |
| 429 | Throttling.Resource | You have reached the limit for the resource. Please contact us by submitting a ticket. | |
| 429 | Throttling.System | The DataWorks system is busy. Try again later. | |
| 429 | Throttling.User | Your request is too frequent. Try again later. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.