GetTicketSummaryReport

Updated at:

Retrieves ticket status statistics.

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

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

InstanceId

string

Yes

The instance ID.

ccc-test

State

string

No

The ticket status. Valid values:

  • Processing: The ticket is being processed.

  • Withdrawal: The ticket has been withdrawn.

  • Rejected: The ticket has been rejected.

  • Closed: The ticket has been closed.

None

CategoryId

string

No

The ticket category ID.

43c2671b-***-***-86d0-6bd187905cc8

StartTime

integer

No

The start time used to filter tickets based on their creation time. The value is a UNIX timestamp in milliseconds.

1716998400000

EndTime

integer

No

The end time used to filter tickets based on their creation time. The value is a UNIX timestamp in milliseconds.

1719590399999

Creator

string

No

The ID of the creator.

creator@ccc-test

Assignee

string

No

The ID of the assignee, which can be an agent ID or a skill group ID.

assignee@ccc-test

AssigneeType

string

No

The assignee type. Valid values:

  • Agent: The assignee is an agent.

  • SkillGroup: The assignee is a skill group.

Agent

Participant

string

No

The ID of the participant.

participant@ccc-test

PageNumber

integer

No

The page number. Default value: 1.

1

PageSize

integer

No

The number of entries per page. Valid values: 1 to 100.

100

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

EAF3C248-E123-441B-A545-B6CD02E98EED

Message

string

The response message.

None

HttpStatusCode

integer

The HTTP status code.

200

Data

object

The data.

TicketsCreated

string

The number of created tickets.

10

TicketsParticipated

string

The number of processed tickets.

5

TicketsAssigned

string

The number of pending tickets.

3

Code

string

The response code.

OK

Examples

Success response

JSON format

{
  "RequestId": "EAF3C248-E123-441B-A545-B6CD02E98EED",
  "Message": "无",
  "HttpStatusCode": 200,
  "Data": {
    "TicketsCreated": "10",
    "TicketsParticipated": "5",
    "TicketsAssigned": "3"
  },
  "Code": "OK"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.