All Products
Search
Document Center

Data Management:ListOrders

Last Updated:Oct 19, 2026

Queries a list of tickets.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

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:

  • AS_ADMIN: The ticket dashboard. This value requires the administrator role.

  • AS_COMMITTER: the tickets that you initiated

  • AS_HANDLER: the tickets pending your processing

  • AS_OWNER: the tickets that you have processed

  • AS_Related: the tickets related to you

Note
  • Set this parameter to AS_ADMIN.

AS_COMMITTER

SearchDateType

string

No

The time search condition. Valid values:

  • CREATE_TIME: the creation time

  • MODIFY_TIME: the modification time

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: all statuses

  • FINISHED: finished

  • RUNNING: running

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:

  • fail: Execution failed.

  • toaudit: pending approval

  • cancel: canceled by the user

  • processing: executing

  • approved: approved

  • reject: rejected

  • success: Execution succeeded.

  • closed: closed

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: The request is successful.

  • false: The request failed.

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.