Lists the tables in a specified category.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:ListTablesInCategory |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Tid |
integer |
No |
The ID of the tenant. Call the GetUserActiveTenant or ListUserTenants operation to query the tenant ID. |
3*** |
| CategoryId |
integer |
Yes |
The category ID. |
30000235593 |
| PageNumber |
integer |
Yes |
The page number. |
1 |
| PageSize |
integer |
Yes |
The number of entries to return per page. |
20 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931 |
| 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 |
| TotalCount |
integer |
The total number of entries returned. |
1 |
| EntityList |
object |
||
| MetaCategoryTableEntity |
array |
The list of tables associated with the asset category. |
|
| MetaCategoryTableEntity |
The table information associated with the specified asset category. |
Examples
Success response
JSON format
{
"RequestId": "0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true,
"TotalCount": 1,
"EntityList": {
"MetaCategoryTableEntity": [
{
"CategoryId": 0,
"TableName": "",
"Description": "",
"InstanceId": 0,
"TableSchemaName": "",
"DbId": 0,
"CatalogName": "",
"DatabaseSearchName": "",
"SchemaName": "",
"DbType": ""
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.