Updates the name and description of a business scenario for a task flow.
Debugging
Request parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| Action | String | Yes | UpdateScenario |
The operation that you want to perform. Set the value to UpdateScenario. |
| Tid | Long | No | 3*** |
The ID of the tenant. Note The ID of the tenant is displayed when you move the pointer over the profile picture
in the upper-right corner of the Data Management (DMS) console. For more information,
see the "View information about the current tenant" section of the Manage DMS tenants topic.
|
| ScenarioId | String | Yes | 12*** |
The ID of the business scenario. |
| ScenarioName | String | Yes | Business scenario-test |
The name of the business scenario. |
| Description | String | No | test |
The description of the business scenario. |
Response parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
| RequestId | String | 7FAD400F-7A5C-4193-8F9A-39D86C4F0231 |
The ID of the request. |
| ErrorCode | String | UnknownError |
The error code returned if the request failed. |
| ErrorMessage | String | UnknownError |
The error message returned if the request failed. |
| Success | Boolean | true |
Indicates whether the request was successful. Valid values:
|
Examples
Sample requests
http(s)://dms-enterprise.aliyuncs.com/?Action=UpdateScenario
&Tid=3***
&ScenarioId=12***
&ScenarioName=Business scenario-test
&Description=test
&Common request parameters
Sample responses
XML format
HTTP/1.1 200 OK
Content-Type:application/xml
<UpdateScenarioResponse>
<RequestId>7FAD400F-7A5C-4193-8F9A-39D86C4F0231</RequestId>
<Success>true</Success>
</UpdateScenarioResponse>
JSON format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "7FAD400F-7A5C-4193-8F9A-39D86C4F0231",
"Success" : true
}
Error codes
For a list of error codes, see Service error codes.