Updates the time variables of a node.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:UpdateTaskTimeVariables |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Tid |
integer |
No |
The tenant ID. Note
You can view the tenant ID by hovering over the profile picture in the upper-right corner of the console. For more information, see View tenant information. |
3*** |
| NodeId |
string |
Yes |
The node ID. You can call the GetTaskInstanceRelation operation to query this parameter. |
43**** |
| TimeVariables |
string |
Yes |
The node variables and time variable configurations. The value is a JSON-formatted string. |
{"variables":[ {"name":"var", "pattern":"yyyy-MM-dd|+0m+0h-2d+0w+0M+1y"} ]} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
39557312-28D5-528F-9554-80C0700EB489 |
| ErrorCode |
string |
The error code. |
UnknownError |
| ErrorMessage |
string |
The error message returned if the call failed. |
UnknownError |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "39557312-28D5-528F-9554-80C0700EB489",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.