Mengkueri daftar templat persetujuan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:ListWorkFlowTemplates |
list |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Tid |
integer |
No |
ID penyewa. Catatan
Untuk melihat ID penyewa, arahkan pointer ke gambar profil di pojok kanan atas Konsol Data Management (DMS). Untuk informasi lebih lanjut, lihat Tampilan informasi tentang penyewa saat ini. |
-1 |
| SearchName |
string |
No |
Nama templat persetujuan yang ingin Anda cari. |
Admin |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
41067071-0243-4AAB-B3CF-4DE6D54F53B4 |
| ErrorCode |
string |
Kode kesalahan. |
UnknownError |
| ErrorMessage |
string |
Paket kesalahan. |
UnknownError |
| Success |
boolean |
Apakah permintaan berhasil. |
true |
| WorkFlowTemplates |
object |
||
| WorkFlowTemplate |
array<object> |
Templat persetujuan. |
|
|
array<object> |
|||
| IsSystem |
integer |
Indicates whether the approval template is predefined by the system. Valid values:
|
1 |
| WorkflowNodes |
object |
||
| WorkflowNode |
array<object> |
The details of approval nodes. |
|
|
object |
|||
| Comment |
string |
The description of the approval node. |
test |
| NodeType |
string |
The type of the approval node. Valid values:
|
SYS |
| NodeName |
string |
The name of the approval node. |
test |
| Position |
integer |
The position of the approval node. |
1 |
| CreateUserId |
integer |
The ID of the creator. |
1234 |
| TemplateId |
integer |
The ID of the template. |
12345 |
| NodeId |
integer |
The ID of the approval node. |
123 |
| Comment |
string |
The description of the approval template. |
test |
| Enabled |
string |
Indicates whether the approval template is enabled. Valid values:
|
Y |
| TemplateName |
string |
The name of the approval template. |
Admin |
| TemplateId |
integer |
The ID of the approval template. |
12345 |
| CreateUserId |
integer |
The ID of the creator. |
1234 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "41067071-0243-4AAB-B3CF-4DE6D54F53B4",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true,
"WorkFlowTemplates": {
"WorkFlowTemplate": [
{
"IsSystem": 1,
"WorkflowNodes": {
"WorkflowNode": [
{
"Comment": "test",
"NodeType": "SYS",
"NodeName": "test",
"Position": 1,
"CreateUserId": 1234,
"TemplateId": 12345,
"NodeId": 123
}
]
},
"Comment": "test",
"Enabled": "Y",
"TemplateName": "Admin",
"TemplateId": 12345,
"CreateUserId": 1234
}
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.