Menghentikan tugas sinkronisasi pengatur waktu.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectId |
integer |
Yes |
ID ruang kerja DataWorks. Masuk ke Konsol DataWorks dan buka halaman Workspace untuk mendapatkan ID ruang kerja. Konfigurasikan parameter ini untuk menentukan ruang kerja DataWorks tempat Operasi API diterapkan. |
10000 |
| TaskType |
string |
Yes |
Jenis tugas sinkronisasi yang ingin Anda hentikan. Atur nilai menjadi DI_REALTIME. DI_REALTIME menunjukkan tugas sinkronisasi pengatur waktu. |
DI_REALTIME |
| FileId |
integer |
Yes |
ID tugas sinkronisasi. Anda dapat memanggil operasi ListFiles untuk mengkueri ID. |
100 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| RequestId |
string |
The request ID. You can locate logs and troubleshoot issues based on the ID. |
0bc1411515937635973**** |
| Data |
object |
The information returned for the synchronization task. |
|
| Status |
string |
Indicates whether the synchronization task is stopped. Valid values:
|
success |
| Message |
string |
The reason why the synchronization task fails to be stopped. If the synchronization task is stopped, the value null is returned. |
fileId:[100] is invalid. |
Contoh
Respons sukses
JSONformat
{
"Success": true,
"RequestId": "0bc1411515937635973****",
"Data": {
"Status": "success",
"Message": "fileId:[100] is invalid."
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Param.Invalid | The parameter is invalid. | Param invalid |
| 500 | InternalError.System | An internal error occurred. | InternalError |
| 403 | Forbidden.Access | Access is forbidden. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.