Retrieves a list of business scenarios.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:ListScenarios |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Tid |
integer |
No |
The ID of the tenant. Note
To view the ID of the tenant, go 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. |
3*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
7FAD400F-7A5C-4193-8F9A-39D86C4F0231 |
| ErrorCode |
string |
The error code returned if the request failed. |
UnknownError |
| ErrorMessage |
string |
The error message returned if the request failed. |
UnknownError |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| ScenarioList |
array<object> |
The returned business scenarios. |
|
|
object |
|||
| Id |
integer |
The ID of the business scenario. |
41*** |
| ScenarioName |
string |
The name of the business scenario. |
test |
| CreatorId |
string |
The ID of the user who created the business scenario. |
23*** |
| Description |
string |
The description of the business scenario. |
test |
Examples
Success response
JSON format
{
"RequestId": "7FAD400F-7A5C-4193-8F9A-39D86C4F0231",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true,
"ScenarioList": [
{
"Id": 0,
"ScenarioName": "test",
"CreatorId": "23***",
"Description": "test"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.