Retrieves the project details and change base database information for a specified schema design ticket, including the ticket state, creator ID, and the name and ID of the change base database.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:GetTableDesignProjectInfo |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| OrderId |
integer |
Yes |
The ID of the schema design ticket. You can call the ListOrders operation to obtain the ID. |
95**** |
| Tid |
integer |
No |
The tenant ID. Note
To view the tenant ID, 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 section of the "Manage DMS tenants" topic |
3*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID, which can be used to query logs and troubleshoot issues. |
48778434-5796-571A-8455-A59146588401 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| ErrorMessage |
string |
The error message returned if the request failed. |
UnknownError |
| ErrorCode |
string |
The error code returned if the request failed. |
UnknownError |
| ProjectInfo |
object |
The information about the schema design project. |
|
| OrderId |
integer |
The ticket ID. |
95**** |
| ProjectId |
integer |
The project ID. |
12**** |
| GmtCreate |
string |
The time when the ticket was created. |
2024-04-23 02:57:01 |
| GmtModified |
string |
The time when the ticket was last modified. |
2024-04-23 02:57:01 |
| Status |
string |
The state of the schema design project. Valid values:
|
DESIGN |
| Title |
string |
The name of the schema design project. |
用户增长战役 |
| Description |
string |
The description of the schema design project. |
测试 |
| CreatorId |
integer |
The ID of the user who created the ticket. |
71**** |
| BaseDatabase |
object |
The change base database details for the schema design ticket. |
|
| SearchName |
string |
The searchable name of the database. |
schema_name@127.0.XX.XX |
| SchemaName |
string |
The database name. |
bk_atc020 |
| DbId |
integer |
The database ID. |
11**** |
| Logic |
boolean |
Indicates whether the database is a logical database. Valid values:
|
false |
| Alias |
string |
The alias of the database instance. |
核心交易库 |
| EnvType |
string |
The environment type of the database instance. Valid values:
|
dev |
| DbType |
string |
The database type. For more information about the valid values of this parameter, see DbType parameter. |
PolarDB |
Examples
Success response
JSON format
{
"RequestId": "48778434-5796-571A-8455-A59146588401",
"Success": true,
"ErrorMessage": "UnknownError",
"ErrorCode": "UnknownError",
"ProjectInfo": {
"OrderId": 0,
"ProjectId": 0,
"GmtCreate": "2024-04-23 02:57:01",
"GmtModified": "2024-04-23 02:57:01",
"Status": "DESIGN",
"Title": "用户增长战役",
"Description": "测试",
"CreatorId": 0,
"BaseDatabase": {
"SearchName": "schema_name@127.0.XX.XX",
"SchemaName": "bk_atc020",
"DbId": 0,
"Logic": false,
"Alias": "核心交易库",
"EnvType": "dev",
"DbType": "POLARDB"
}
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.