调用GetQueueInformation获取在线监控下技能组纬度队列信息。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
InstanceId String ccc_xp_pre-cn-***

AICCS实例ID。可在智能联络中心控制台上获取。

StartDate Long 1615083365000

开始时间戳。单位:毫秒。

EndDate Long 1617761765000

结束时间戳。单位:毫秒。

PageSize Integer 20

每页大小。默认值:20

CurrentPage Integer 1

当前页。默认值:1

DepIds Array of Long 123

部门Id。

GroupIds Array of Long 111

技能组Id。

ExistDepartmentGrouping Boolean false

是否根据部门分组查询。取值:

  • true
  • false
ExistSkillGroupGrouping Boolean fasle

是否根据技能组分组查询。取值:

  • true
  • false

返回数据

名称 类型 示例值 描述
RequestId String EE338D98-9BD3-4413-B165

请求ID。

Message String xxxx

状态码的描述。

Code String 200

请求状态码。返回200代表请求成功。

Success String true

接口调用是否成功。

Data object

数据列表。

PageNum Integer 1

当前页数。

PageSize Integer 2000

页大小。

TotalNum Integer 4

总记录数。

Rows String {"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}

信息为List<Map>类型的Json字符串。

current_session_wait_cnt: 排队会员

current_session_service_cnt: 服务中会员

eventide: 事件时间

fst_assign_time: 该队列最早的时间,排队中的分配时间

示例

请求示例

http(s)://aiccs.aliyuncs.com/?InstanceId=ccc_xp_pre-cn-***
&StartDate=1615083365000
&EndDate=1617761765000
&PageSize=20
&CurrentPage=1
&DepIds=[123]
&GroupIds=[111]
&ExistDepartmentGrouping=false
&ExistSkillGroupGrouping=false
&公共请求参数

正常返回示例

XML格式

HTTP/1.1 200 OK
Content-Type:application/xml

<GetQueueInformationResponse>
<RequestId>EE338D98-9BD3-4413-B165</RequestId>
<Message>xxxx</Message>
<Code>200</Code>
<Success>true</Success>
<Data>
    <PageNum>1</PageNum>
    <PageSize>2000</PageSize>
    <TotalNum>4</TotalNum>
    <Rows>
        <0>
            <tenant_id>905</tenant_id>
            <tenant_name>非单元测试化BU</tenant_name>
            <group_id>-1</group_id>
            <group_name>-1</group_name>
            <department_id>-1</department_id>
            <department_name>-1</department_name>
            <current_session_wait_cnt>0</current_session_wait_cnt>
            <current_session_service_cnt>0</current_session_service_cnt>
            <date_id>20210327</date_id>
            <maximum_queuing_time>-1</maximum_queuing_time>
        </0>
        <1>
            <tenant_id>905</tenant_id>
            <tenant_name>非单元测试化BU</tenant_name>
            <group_id>-1</group_id>
            <group_name>-1</group_name>
            <department_id>-1</department_id>
            <department_name>-1</department_name>
            <current_session_wait_cnt>0</current_session_wait_cnt>
            <current_session_service_cnt>1</current_session_service_cnt>
            <date_id>20210326</date_id>
            <maximum_queuing_time>-1</maximum_queuing_time>
        </1>
        <2>
            <tenant_id>905</tenant_id>
            <tenant_name>非单元测试化BU</tenant_name>
            <group_id>-1</group_id>
            <group_name>-1</group_name>
            <department_id>-1</department_id>
            <fst_assign_time>2021-03-30 10:19:04</fst_assign_time>
            <department_name>-1</department_name>
            <current_session_wait_cnt>1</current_session_wait_cnt>
            <current_session_service_cnt>1</current_session_service_cnt>
            <date_id>20210330</date_id>
            <maximum_queuing_time>695668</maximum_queuing_time>
        </2>
        <3>
            <tenant_id>905</tenant_id>
            <tenant_name>非单元测试化BU</tenant_name>
            <group_id>-1</group_id>
            <group_name>-1</group_name>
            <department_id>-1</department_id>
            <department_name>-1</department_name>
            <current_session_wait_cnt>0</current_session_wait_cnt>
            <current_session_service_cnt>0</current_session_service_cnt>
            <date_id>20210328</date_id>
            <maximum_queuing_time>-1</maximum_queuing_time>
        </3>
        <4>
            <tenant_id>905</tenant_id>
            <tenant_name>非单元测试化BU</tenant_name>
            <group_id>-1</group_id>
            <group_name>-1</group_name>
            <department_id>-1</department_id>
            <department_name>-1</department_name>
            <current_session_wait_cnt>0</current_session_wait_cnt>
            <current_session_service_cnt>0</current_session_service_cnt>
            <date_id>20210325</date_id>
            <maximum_queuing_time>-1</maximum_queuing_time>
        </4>
        <5>
            <tenant_id>905</tenant_id>
            <tenant_name>非单元测试化BU</tenant_name>
            <group_id>-1</group_id>
            <group_name>-1</group_name>
            <department_id>-1</department_id>
            <department_name>-1</department_name>
            <current_session_wait_cnt>0</current_session_wait_cnt>
            <current_session_service_cnt>0</current_session_service_cnt>
            <date_id>20210329</date_id>
            <maximum_queuing_time>-1</maximum_queuing_time>
        </5>
        <6>
            <tenant_id>905</tenant_id>
            <tenant_name>非单元测试化BU</tenant_name>
            <group_id>-1</group_id>
            <group_name>-1</group_name>
            <department_id>-1</department_id>
            <fst_assign_time>2021-04-01 23:19:57</fst_assign_time>
            <department_name>-1</department_name>
            <current_session_wait_cnt>2</current_session_wait_cnt>
            <current_session_service_cnt>1</current_session_service_cnt>
            <date_id>20210401</date_id>
            <maximum_queuing_time>476015</maximum_queuing_time>
        </6>
        <7>
            <tenant_id>905</tenant_id>
            <tenant_name>非单元测试化BU</tenant_name>
            <group_id>-1</group_id>
            <group_name>-1</group_name>
            <department_id>-1</department_id>
            <department_name>-1</department_name>
            <current_session_wait_cnt>0</current_session_wait_cnt>
            <current_session_service_cnt>1</current_session_service_cnt>
            <date_id>20210331</date_id>
            <maximum_queuing_time>-1</maximum_queuing_time>
        </7>
    </Rows>
</Data>
</GetQueueInformationResponse>

JSON格式

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "EE338D98-9BD3-4413-B165",
  "Message" : "xxxx",
  "Code" : "200",
  "Success" : "true",
  "Data" : {
    "PageNum" : 1,
    "PageSize" : 2000,
    "TotalNum" : 4,
    "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
    }, {
      "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" : 1,
      "date_id" : "20210326",
      "maximum_queuing_time" : -1
    }, {
      "tenant_id" : "905",
      "tenant_name" : "非单元测试化BU",
      "group_id" : "-1",
      "group_name" : "-1",
      "department_id" : "-1",
      "fst_assign_time" : "2021-03-30 10:19:04",
      "department_name" : "-1",
      "current_session_wait_cnt" : 1,
      "current_session_service_cnt" : 1,
      "date_id" : "20210330",
      "maximum_queuing_time" : "695668"
    }, {
      "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" : "20210328",
      "maximum_queuing_time" : -1
    }, {
      "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" : "20210325",
      "maximum_queuing_time" : -1
    }, {
      "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" : "20210329",
      "maximum_queuing_time" : -1
    }, {
      "tenant_id" : "905",
      "tenant_name" : "非单元测试化BU",
      "group_id" : "-1",
      "group_name" : "-1",
      "department_id" : "-1",
      "fst_assign_time" : "2021-04-01 23:19:57",
      "department_name" : "-1",
      "current_session_wait_cnt" : 2,
      "current_session_service_cnt" : 1,
      "date_id" : "20210401",
      "maximum_queuing_time" : "476015"
    }, {
      "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" : 1,
      "date_id" : "20210331",
      "maximum_queuing_time" : -1
    } ] ]
  }
}

错误码

访问错误中心查看更多错误码。