Menanyakan daftar alur kerja.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:* |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectId |
integer |
No |
ID ruang kerja DataWorks. Anda dapat masuk ke konsol DataWorks dan membuka halaman Manajemen Ruang Kerja untuk memperoleh ID ruang kerja. Anda harus mengonfigurasi parameter ini atau parameter ProjectIdentifier untuk menentukan ruang kerja DataWorks tempat operasi diterapkan. |
10000 |
| ProjectIdentifier |
string |
No |
Nama ruang kerja DataWorks. Anda dapat masuk ke konsol DataWorks dan membuka halaman Manajemen Ruang Kerja untuk memperoleh nama ruang kerja. Anda harus mengonfigurasi parameter ini atau parameter ProjectId untuk menentukan ruang kerja DataWorks tempat operasi diterapkan. |
dw_project |
| PageNumber |
integer |
Yes |
Nomor halaman yang akan dikembalikan. |
1 |
| PageSize |
integer |
Yes |
Jumlah entri yang akan dikembalikan pada setiap halaman. Nilai default: 10. Nilai maksimum: 100. |
10 |
| Keyword |
string |
No |
Kata kunci yang digunakan untuk melakukan pencocokan fuzzy. |
my |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
Kode status HTTP yang dikembalikan. |
200 |
| ErrorMessage |
string |
Pesan kesalahan yang dikembalikan. |
The connection does not exist. |
| RequestId |
string |
ID permintaan. Anda dapat menggunakan ID tersebut untuk memecahkan masalah. |
0000-ABCD-EFG**** |
| ErrorCode |
string |
Kode kesalahan yang dikembalikan. |
Invalid.Tenant.ConnectionNotExists |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. |
true |
| Data |
object |
Informasi tentang alur kerja yang dikembalikan. |
|
| PageNumber |
integer |
Nomor halaman dari halaman yang dikembalikan. |
1 |
| PageSize |
integer |
Jumlah entri yang dikembalikan per halaman. |
10 |
| TotalCount |
integer |
Jumlah total entri yang dikembalikan. |
13 |
| Business |
array<object> |
Detail alur kerja. |
|
|
object |
|||
| Owner |
string |
The owner of the workflow. |
34824327**** |
| Description |
string |
The description of the workflow. |
My first workflow |
| ProjectId |
integer |
The ID of the workspace to which the workflow belongs. |
10000 |
| BusinessId |
integer |
The ID of the workflow. |
3000001 |
| BusinessName |
string |
The name of the workflow. |
My first workflow |
| UseType |
string |
The module to which the workflow belongs. Valid values: NORMAL and MANUAL_BIZ. The value NORMAL indicates that the workflow belongs to auto triggered workflows. The value MANUAL_BIZ indicates that the workflow belongs to manually triggered workflows. |
NORMAL |
Contoh
Respons sukses
JSONformat
{
"HttpStatusCode": 200,
"ErrorMessage": "The connection does not exist.",
"RequestId": "0000-ABCD-EFG****",
"ErrorCode": "Invalid.Tenant.ConnectionNotExists",
"Success": true,
"Data": {
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 13,
"Business": [
{
"Owner": "34824327****",
"Description": "我的第一个业务流程",
"ProjectId": 10000,
"BusinessId": 3000001,
"BusinessName": "我的第一个业务流程",
"UseType": "NORMAL"
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError.System | An internal system error occurred. Try again later. | |
| 500 | InternalError.UserId.Missing | An internal system error occurred. Try again later. | |
| 403 | Forbidden.Access | Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition. | No permission, please authorize |
| 429 | Throttling.Api | The request for this resource has exceeded your available limit. | |
| 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.