Queries the information about the project and change base database of a schema design ticket, such as the state of the ticket, the ID of the user who created the ticket, and the name and ID of the change base database.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
OrderId | long | Yes | The ID of the schema design ticket. You can call the ListOrders operation to obtain the ID. | 95**** |
Tid | long | 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 parameters
Examples
Sample success responses
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": "test",
"Description": "test",
"CreatorId": 0,
"BaseDatabase": {
"SearchName": "schema_name@127.0.XX.XX",
"SchemaName": "bk_atc020",
"DbId": 0,
"Logic": false,
"Alias": "poc_test",
"EnvType": "dev",
"DbType": "POLARDB"
}
}
}
Error codes
For a list of error codes, visit the Service error codes.