Queries approval templates.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Tid | long | No | The ID of the tenant. Note
: To view the ID of the tenant, log on to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see View information about the current tenant.
| -1 |
SearchName | string | No | The name that is used to query approval templates. | Admin |
Response parameters
Examples
Sample success responses
JSON
format
{
"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
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history