Gets metadata knowledge for a specified GUID.
Operation description
This API can be called only for database instances that are enabled for security hosting.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:GetTableKnowledgeInfo |
get |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TableSchemaName |
string |
No |
The schema name of the table, which is required only for SQL Server instances. |
dbo |
| DbId |
integer |
Yes |
The ID of the physical database. You can call the SearchDatabase operation to obtain the ID. |
325 |
| TableName |
string |
Yes |
The name of the table. |
table_name |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. You can use the request ID to query logs and troubleshoot issues. |
0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| ErrorCode |
string |
The error code returned if the request failed. |
UnknownError |
| ErrorMessage |
string |
The error message returned if the request failed. |
UnknownError |
| Table | TableKnowledgeInfo |
The information about the table. |
bill_orders |
Examples
Success response
JSON format
{
"RequestId": "0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931",
"Success": true,
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Table": {
"TableName": "",
"Description": "",
"AssetDescription": "",
"AssetModifiedGmt": "",
"Summary": "",
"ColumnList": [
{
"Description": "",
"ColumnType": "",
"AssetDescription": "",
"Position": 0,
"AssetModifiedGmt": "",
"ColumnName": "",
"Level": 0
}
],
"Level": 0
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.