Queries the details of a ticket that applies for permissions.
Operation description
You can call this operation to query the information about tickets that apply for permissions on databases, tables, and sensitive columns.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
OrderId | long | Yes | The ticket ID. You can call the ListOrders operation to query the ticket ID. | 730000 |
Tid | long | No | The tenant ID. Note
To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.
| -1 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "A4C4499E-5AC2-4318-9FCF-03E426781A04",
"Success": true,
"ErrorMessage": "UnknownError",
"ErrorCode": "UnknownError",
"PermApplyOrderDetail": {
"Resources": [
{
"DatabaseInfo": {
"DbId": 12345,
"Logic": false,
"DbType": "MySQL",
"SearchName": "test@xxxx:3306【test】",
"OwnerIds": [
12345
],
"OwnerNickNames": [
"test_user"
],
"EnvType": "product"
},
"TableInfo": {
"TableName": "test_tb"
},
"ColumnInfo": {
"TableName": "test_tb",
"ColumnName": "test_col"
},
"InstanceInfo": {
"InstanceId": "12345",
"SearchName": "xxxx:3306",
"DbType": "MySQL",
"EnvType": "product",
"Host": "xxxx",
"Port": 3306,
"OwnerIds": [
12345
],
"OwnerNickName": [
"test_owner"
],
"DbaId": 12345,
"DbaNickName": "test_dba"
}
}
],
"PermType": 7,
"Seconds": 3600,
"ApplyType": "DB"
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history