Add a table to an asset category.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:AddTableToCategory |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Tid |
integer |
No |
The tenant ID. You can call the GetUserActiveTenant or ListUserTenants operation to obtain the tenant ID. |
3*** |
| CategoryId |
integer |
Yes |
The ID of the associated category. |
30000254257 |
| DbId |
integer |
Yes |
The ID of the physical database. You can call the ListDatabases or SearchDatabase operation to obtain the physical database ID. |
1930**** |
| TableName |
string |
Yes |
The name of the table. You can call the ListTables operation to obtain the table name. |
table_name |
| TableSchemaName |
string |
No |
The schema name of the table, which is required only for SQL Server instances. |
dbo |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
C51420E3-144A-4A94-B473-8662FCF4AD10 |
| 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 |
Examples
Success response
JSON format
{
"RequestId": "C51420E3-144A-4A94-B473-8662FCF4AD10",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.