GetTicketSummaryReport
Retrieves ticket status statistics.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
ccc-test |
| State |
string |
No |
The ticket status. Valid values:
|
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 |
| 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.