GetQueueInformation

Updated at:

Obtain queue information under the skill group dimension in online monitoring. Supports queries grouped by instance, time range, department, and skill group.

Operation description

Queries per second (QPS) limits

  • Per-user invocation frequency: 100 times per second.

  • API-wide invocation frequency: 100 times per second.

Note

If the total invocations from multiple users exceed the API-wide frequency limit, throttling will be triggered.

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 Artificial Intelligence Cloud Call Service (AICCS) instance ID.

You can obtain it from Instance Management in the left-side navigation pane of the Artificial Intelligence Cloud Call Service console.

ccc_xp_pre-cn-***

StartDate

integer

No

The start UNIX timestamp. Unit: milliseconds.

1615083365000

EndDate

integer

No

End UNIX timestamp. Unit: milliseconds.

1617761765000

PageSize

integer

No

The number of entries per page. The value must be greater than 0. Default value: 20.

20

CurrentPage

integer

No

The current page. The value must be greater than 0. Default value: 1.

1

DepIds

array

No

List of department IDs.

integer

No

Department ID.

You can invoke the GetAllDepartment API and view the DepartmentId in the response parameters to obtain the department ID.

123

GroupIds

array

No

The list of skill group IDs.

integer

No

The skill group ID.

You can invoke the QuerySkillGroups API and view the SkillGroupId field in the response to obtain the skill group ID.

111

ExistDepartmentGrouping

boolean

No

Specifies whether to query by department grouping. Default value: false. Valid values:

  • true: Yes.

  • false: No.

false

ExistSkillGroupGrouping

boolean

No

Specifies whether to query data grouped by skill group. Default value: false. Valid values:

  • true: Yes.

  • false: No.

false

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

Request ID.

EE338D98-9BD3-4413-B165

Message

string

Description of the status code.

successful

Data

object

Data list.

TotalNum

integer

Total number of records.

4

PageNum

integer

Current page number.

1

PageSize

integer

Page size.

2000

Rows

string

The information is a JSON string of the List type.

{"tenant_id":"905","tenant_name":"非单元测试化BU","group_id":"-1","group_name":"-1","department_id":"-1","department_name":"-1","current_session_wait_cnt":0,"current_session_service_cnt":0,"date_id":"20210327","maximum_queuing_time":-1}

Code

string

The request status code. A return value of 200 indicates that the request succeeded.

200

Success

string

Indicates whether the API invocation succeeded. Valid values:

  • true: Succeeded.

  • false: Failed.

true

Parameter description for the returned parameter Rows:

group_name: Skill group name  
group_id: Skill group ID  
department_id: Department ID  
department_name: Department name  
date_id: Date  
tenant_id: Tenant ID  
tenant_name: Tenant name  
current_session_wait_cnt: Members in queue  
current_session_service_cnt: Members in service  
eventide: Event time  
fst_assign_time: The earliest assignment time in this queue for members waiting in line

Examples

Success response

JSON format

{
  "RequestId": "EE338D98-9BD3-4413-B165",
  "Message": "successful",
  "Data": {
    "TotalNum": 4,
    "PageNum": 1,
    "PageSize": 2000,
    "Rows": "{\"tenant_id\":\"905\",\"tenant_name\":\"非单元测试化BU\",\"group_id\":\"-1\",\"group_name\":\"-1\",\"department_id\":\"-1\",\"department_name\":\"-1\",\"current_session_wait_cnt\":0,\"current_session_service_cnt\":0,\"date_id\":\"20210327\",\"maximum_queuing_time\":-1}"
  },
  "Code": "200",
  "Success": "true"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.