Updates an approval template.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TemplateName |
string |
Yes |
The name of the approval template. |
TestTemplate |
| Comment |
string |
Yes |
The description of the approval template. |
For test use |
| NodeIdList |
string |
Yes |
The approval node IDs. Separate multiple node IDs with commas (,). You can call ListWorkflowNode to obtain node IDs. |
1,2 |
| TemplateId |
integer |
Yes |
The ID of the approval template. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
34E01EDD-6A16-4CF0-9541-C644D1BE01AA |
| ErrorCode |
string |
The error code. |
403 |
| ErrorMessage |
string |
The error message. |
UnknownError |
| Success |
boolean |
Indicates whether the request is successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "34E01EDD-6A16-4CF0-9541-C644D1BE01AA",
"ErrorCode": "403",
"ErrorMessage": "UnknownError",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.