Mengambil daftar tugas pelacakan. Catatan: Jika AccessKey (AK) pemanggil tidak memiliki izin untuk melihat tugas pelacakan pengguna lain, operasi ini hanya mengembalikan tugas yang berhak diakses oleh pemanggil.
Coba sekarang
Test
RAM authorization
Sintaks permintaan
POST HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| PageNum |
integer |
No |
Nomor halaman.
|
1 |
| PageSize |
integer |
No |
Jumlah entri yang dikembalikan pada setiap halaman.
|
10 |
| UserNick |
string |
No |
Nama panggilan pengguna yang memiliki tugas pelacakan. Jika parameter ini tidak ditentukan, semua tugas akan dikembalikan. |
test |
| Paused |
boolean |
No |
Menentukan apakah tugas pelacakan dijeda. |
true |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Respons |
||
| RequestId |
string |
ID permintaan. |
0c52************8e1952a3 |
| Result |
object |
Informasi paginasi untuk tugas pelacakan. |
|
| PageNum |
integer |
Nomor halaman. |
1 |
| PageSize |
integer |
Jumlah entri per halaman yang ditetapkan untuk permintaan. |
10 |
| TotalNum |
integer |
Jumlah total entri. |
1 |
| TotalPages |
integer |
Jumlah total halaman. |
1 |
| Pre |
integer |
Nomor halaman sebelumnya. Nilai null atau 0 menunjukkan bahwa tidak ada halaman sebelumnya. |
null |
| Next |
integer |
Nomor halaman berikutnya. Nilai null atau 0 menunjukkan bahwa tidak ada halaman berikutnya. |
null |
| Data |
array<object> |
Array dari model tugas pelacakan. |
|
|
object |
Model tugas pelacakan. |
||
| MailId |
string |
The mail ID of the tracking task. |
2342526 |
| Paused |
boolean |
Indicates whether the task is paused.
|
true |
| BizOwnerUserId |
string |
The user ID of the owner. |
asag****2423 |
| BizOwnerName |
string |
The nickname of the owner. |
test |
| SubscribeName |
string |
The name of the tracking task. |
test |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. Nilai yang valid:
|
true |
Contoh
Respons sukses
JSONformat
{
"RequestId": "0c52************8e1952a3",
"Result": {
"PageNum": 1,
"PageSize": 10,
"TotalNum": 1,
"TotalPages": 1,
"Pre": 0,
"Next": 0,
"Data": [
{
"MailId": "2342526",
"Paused": true,
"BizOwnerUserId": "asag****2423",
"BizOwnerName": "test",
"SubscribeName": "test"
}
]
},
"Success": true
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Internal.System.Error | An internal system error occurred. | An internal system error occurred. |
| 400 | UserRoleConfig.NotContain.Function | The user %s does not have permission to operate. | The user %s does not have permission to operate. |
| 400 | Invalid.Parameter.Error | The parameter is invalid:%s. | invalid parameter: ${0}. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.