Queries a list of tickets.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:ListOrders |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Tid |
integer |
No |
The tenant ID. You can call the GetUserActiveTenant or ListUserTenants operation to obtain the value of this parameter. |
3*** |
| PluginType |
string |
No |
The ticket type. For valid values, see PluginType parameter description. |
DC_COMMON |
| OrderResultType |
string |
No |
The search type. If you do not specify this parameter, the system queries the tickets that you initiated (AS_COMMITTER) by default. Valid values:
Note
|
AS_COMMITTER |
| SearchDateType |
string |
No |
The time search condition. Valid values:
|
CREATE_TIME |
| StartTime |
string |
No |
The start time. |
2022-04-08 11:00:00 |
| EndTime |
string |
No |
The end time. |
2022-04-09 11:00:00 |
| SearchContent |
string |
No |
The search content. |
test |
| OrderStatus |
string |
No |
The ticket status. Valid values:
|
ALL |
| PageSize |
integer |
No |
The number of entries per page. |
10 |
| PageNumber |
integer |
No |
The starting page number. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Orders |
object |
||
| Order |
array<object> |
The ticket list information. |
|
|
object |
|||
| Comment |
string |
The ticket remarks. |
test |
| LastModifyTime |
string |
The last modification time of the ticket. |
2022-04-08 11:27:45 |
| StatusCode |
string |
The status code of the ticket. Valid values:
|
success |
| CreateTime |
string |
The creation time of the ticket. |
2022-04-08 11:15:46 |
| Committer |
string |
The ticket submitter. |
test |
| CommitterId |
integer |
The user ID of the ticket submitter. |
51**** |
| StatusDesc |
string |
The status description of the ticket. |
Change succeeded |
| PluginType |
string |
The ticket type. |
DC_COMMON |
| OrderId |
integer |
The ticket ID. |
51**** |
| TotalCount |
integer |
The total number of entries. |
1 |
| RequestId |
string |
The request ID. |
427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D |
| ErrorCode |
string |
The error code. |
UnknownError |
| ErrorMessage |
string |
The error message. |
UnknownError |
| Success |
boolean |
Indicates whether the request is successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"Orders": {
"Order": [
{
"Comment": "test",
"LastModifyTime": "2022-04-08 11:27:45",
"StatusCode": "success",
"CreateTime": "2022-04-08 11:15:46",
"Committer": "test",
"CommitterId": 0,
"StatusDesc": "变更成功",
"PluginType": "DC_COMMON",
"OrderId": 0
}
]
},
"TotalCount": 1,
"RequestId": "427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.