Retrieves the project information of a specified schema design ticket and the information about the baseline database for changes in the ticket, including the status of the schema design ticket, the ID of the ticket creator, and the name and ID of the baseline 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 value of this parameter. |
95**** |
| Tid |
integer |
No |
The tenant ID. Note
You can obtain the tenant ID by moving the pointer over the profile picture in the upper-right corner of the console. For more information, see View tenant information. |
3*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID, which is used to locate 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 call failed. |
UnknownError |
| ErrorCode |
string |
The error code returned if an exception occurred during the request. |
UnknownError |
| ProjectInfo |
object |
The schema design project information. |
|
| 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 status of the schema design project. Valid values:
|
DESIGN |
| Title |
string |
The name of the schema design project. |
User growth campaign |
| Description |
string |
The description of the schema design project. |
Test |
| CreatorId |
integer |
The user ID of the ticket creator. |
71**** |
| BaseDatabase |
object |
The information about the baseline database for changes in the schema design. |
|
| SearchName |
string |
The search name of the database. |
schema_name@127.0.XX.XX |
| SchemaName |
string |
The name of the database. |
bk_atc020 |
| DbId |
integer |
The ID of the database. |
11**** |
| Logic |
boolean |
Indicates whether the database is a logical database. Valid values:
|
false |
| Alias |
string |
The alias of the instance. |
Core transaction database |
| EnvType |
string |
The environment type. Valid values:
|
dev |
| DbType |
string |
The type of the database. For more information about the valid values, see DbType parameter description. |
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": "User growth campaign",
"Description": "Test",
"CreatorId": 0,
"BaseDatabase": {
"SearchName": "schema_name@127.0.XX.XX",
"SchemaName": "bk_atc020",
"DbId": 0,
"Logic": false,
"Alias": "Core transaction database",
"EnvType": "dev",
"DbType": "POLARDB"
}
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.