Mengkueri status eksekusi dan informasi waktu proses dari tugas unggah file berdasarkan ID tugas.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| SiteId |
integer |
No |
ID situs, yang dapat diperoleh dengan memanggil operasi ListSites. Penting Parameter ini wajib diisi saat mengkueri tugas unggah. |
123456**** |
| UploadId |
integer |
No |
ID tugas unggah file, yang ditetapkan saat Anda memanggil operasi UploadFile. Penting Parameter ini wajib diisi dan harus berupa ID tugas valid yang dikembalikan oleh operasi UploadFile. Jika parameter ini tidak diberikan atau ID yang ditentukan tidak ada, error InvalidParameters (400) akan dikembalikan. |
159253299357**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Respons. |
||
| RequestId |
string |
ID permintaan. |
ET5BF670-09D5-4D0B-BEBY-D96A2A52**** |
| Status |
string |
Status tugas. Nilai valid:
|
running |
| Description |
string |
Paket error yang dikembalikan ketika tugas unggah file gagal. |
invalid url |
Contoh
Respons sukses
JSONformat
{
"RequestId": "ET5BF670-09D5-4D0B-BEBY-D96A2A52****",
"Status": "running",
"Description": "invalid url"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingTimeParameter | The StartTime and EndTime must be both specified. | Please provide both a start time and an end time. |
| 400 | InvalidEndTime.Mismatch | The specified EndTime is earlier than the StartTime. | The end time you entered is earlier than the start time. Please check and try again. |
| 400 | DomainNameOverLimit | A maximum of 500 domains are supported for each request. | Only 500 domain names are supported at a time. Please reduce the number of domain names to request again. |
| 400 | InvalidTime | The query time cannot exceed the last 3 days. | The query time cannot exceed the last 3 days. |
| 400 | MissingParameter.ObjectType | The ObjectType parameter is required if DomainName or ObjectType is specified. | Specify the ObjectType parameter. |
| 400 | InvalidStationParameter | The specified Station is invalid. | The specified node parameter is invalid. |
| 400 | TooManyRequests | Too many requests.Please try again later. | Requests are too frequent, please try again later. |
| 400 | InvalidTaskId.Malformed | The specified taskId is invalid. | The specified task ID is invalid. |
| 400 | InvalidParameters.InvalidUrls | The specified urls are invalid. | The requested URL parameter is invalid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.