Retrieves the details of a database owner, table owner, or instance owner permission application ticket.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:GetOwnerApplyOrderDetail |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| OrderId |
integer |
Yes |
The ID of the ticket. |
730000 |
| Tid |
integer |
No |
The ID of the tenant. Note
: To view the ID of the tenant, log on to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see Manage DMS tenants. |
-1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The schema of the response. |
||
| RequestId |
string |
The ID of the request. |
CB784055-E8CB-4461-AB0B-483A1DA32BB5 |
| Success |
boolean |
Indicates whether the request is successful. |
true |
| ErrorMessage |
string |
The error message returned if the request failed. |
UnknownError |
| ErrorCode |
string |
The error code returned if the request failed. |
UnknownError |
| OwnerApplyOrderDetail |
object |
The details of the ticket. |
|
| ApplyType |
string |
The type of the submitted ticket. Valid values:
|
DB |
| Resources |
array<object> |
The details of the requested resource. |
|
|
array<object> |
The details of the resource. |
||
| Logic |
boolean |
Indicates whether the database is a logical database. Valid values:
|
true |
| TargetId |
string |
The ID of the resource. |
12345 |
| ResourceDetail |
object |
The details of the resource. |
|
| SearchName |
string |
The search name of the resource. |
yuyang[test] |
| DbType |
string |
The type of the database engine. |
MYSQL |
| EnvType |
string |
The type of the environment to which the instance belongs. For more information, see Change the environment type of an instance. |
PRODUCT |
| TableName |
string |
The name of the table. Note
: This parameter is returned when you submit a Database-OWNER ticket. |
test |
| OwnerIds |
array |
The IDs of the original owners. |
|
|
integer |
The ID of the owner. |
132453 |
|
| OwnerNickNames |
array |
The nicknames of the owners. |
|
|
string |
The nickname of the owner. |
test_user |
Examples
Success response
JSON format
{
"RequestId": "CB784055-E8CB-4461-AB0B-483A1DA32BB5",
"Success": true,
"ErrorMessage": "UnknownError",
"ErrorCode": "UnknownError",
"OwnerApplyOrderDetail": {
"ApplyType": "DB",
"Resources": [
{
"Logic": true,
"TargetId": "12345",
"ResourceDetail": {
"SearchName": "yuyang[test]",
"DbType": "MYSQL",
"EnvType": "PRODUCT",
"TableName": "test",
"OwnerIds": [
132453
],
"OwnerNickNames": [
"test_user"
]
}
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.