调用GetSkillGroupServiceCapability获取在线监控下技能组纬度服务能力数据。

调试

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

请求参数

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

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

StartDate Long 1615083365000

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

EndDate Long 1617761765000

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

PageSize Integer 10

每页大小。默认值:10

CurrentPage Integer 1

当前页。默认值:1

DepIds Array of Long 100

部门Id。

GroupIds Array of Long 111

技能组Id。

ExistDepartmentGrouping Boolean true

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

  • true
  • false
ExistSkillGroupGrouping Boolean true

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

  • 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 Long 4

总记录数。

Rows String {"tenant_id":"905","tenant_name":"非单元测试化BU","group_name":"-1","department_id":"-1","department_name":"-1","svc_online_cnt":0,"svc_ask_offline_servicer_num":0,"date_id":"20210326","group_id":"-1","svc_rest_cnt":0,"servicer_rest_cnt":234,"svc_offline_cnt":0,"svc_no_clinet_cnt":0,"svc_ask_rest_servicer_num":0}

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

svc_no_clinet_cnt: 空闲座席数

svc_rest_cnt: 小休座席数

svc_online_cnt: 在线中的座席

svc_avai_capacity: 当前空余服务能力

svc_ask_rest_servicer_num: 申请小休的座席

svc_ask_offline_servicer_num: 申请离线的座席

svc_offline_cnt: 离线座席

svc_max_capacity: 最大服务能力

svc_current_capacity: 当前最大服务能力

max_speci_ability_num: 最大的鲸吞加1能力服务量

current_speci_ability_num: 当前的鲸吞加1能力服务量

special_ability_num: 当前可分配的鲸吞+1的服务量

servicer_rest_cnt: 小休次数

pk_id: 主键

示例

请求示例

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

正常返回示例

XML格式

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

<GetSkillGroupServiceCapabilityResponse>
<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_name>-1</group_name>
            <department_id>-1</department_id>
            <department_name>-1</department_name>
            <svc_online_cnt>0</svc_online_cnt>
            <svc_ask_offline_servicer_num>0</svc_ask_offline_servicer_num>
            <date_id>20210326</date_id>
            <group_id>-1</group_id>
            <svc_rest_cnt>0</svc_rest_cnt>
            <servicer_rest_cnt>234</servicer_rest_cnt>
            <svc_offline_cnt>0</svc_offline_cnt>
            <svc_no_clinet_cnt>0</svc_no_clinet_cnt>
            <svc_ask_rest_servicer_num>0</svc_ask_rest_servicer_num>
        </0>
        <1>
            <tenant_id>905</tenant_id>
            <tenant_name>非单元测试化BU</tenant_name>
            <group_name>-1</group_name>
            <department_id>-1</department_id>
            <department_name>-1</department_name>
            <svc_online_cnt>0</svc_online_cnt>
            <svc_ask_offline_servicer_num>0</svc_ask_offline_servicer_num>
            <date_id>20210327</date_id>
            <group_id>-1</group_id>
            <svc_rest_cnt>0</svc_rest_cnt>
            <servicer_rest_cnt>96</servicer_rest_cnt>
            <svc_offline_cnt>0</svc_offline_cnt>
            <svc_no_clinet_cnt>0</svc_no_clinet_cnt>
            <svc_ask_rest_servicer_num>0</svc_ask_rest_servicer_num>
        </1>
        <2>
            <tenant_id>905</tenant_id>
            <tenant_name>非单元测试化BU</tenant_name>
            <group_name>-1</group_name>
            <department_id>-1</department_id>
            <department_name>-1</department_name>
            <svc_online_cnt>0</svc_online_cnt>
            <svc_ask_offline_servicer_num>0</svc_ask_offline_servicer_num>
            <date_id>20210401</date_id>
            <group_id>-1</group_id>
            <svc_rest_cnt>0</svc_rest_cnt>
            <servicer_rest_cnt>244</servicer_rest_cnt>
            <svc_offline_cnt>0</svc_offline_cnt>
            <svc_no_clinet_cnt>0</svc_no_clinet_cnt>
            <svc_ask_rest_servicer_num>0</svc_ask_rest_servicer_num>
        </2>
        <3>
            <tenant_id>905</tenant_id>
            <tenant_name>非单元测试化BU</tenant_name>
            <group_name>-1</group_name>
            <department_id>-1</department_id>
            <svc_avai_capacity>27</svc_avai_capacity>
            <svc_current_capacity>0</svc_current_capacity>
            <department_name>-1</department_name>
            <svc_online_cnt>9</svc_online_cnt>
            <svc_ask_offline_servicer_num>0</svc_ask_offline_servicer_num>
            <date_id>20210330</date_id>
            <svc_max_capacity>27</svc_max_capacity>
            <group_id>-1</group_id>
            <svc_rest_cnt>0</svc_rest_cnt>
            <current_speci_ability_num>0</current_speci_ability_num>
            <servicer_rest_cnt>44</servicer_rest_cnt>
            <max_speci_ability_num>9</max_speci_ability_num>
            <svc_offline_cnt>0</svc_offline_cnt>
            <svc_no_clinet_cnt>9</svc_no_clinet_cnt>
            <svc_ask_rest_servicer_num>0</svc_ask_rest_servicer_num>
        </3>
        <4>
            <tenant_id>905</tenant_id>
            <tenant_name>非单元测试化BU</tenant_name>
            <group_name>-1</group_name>
            <department_id>-1</department_id>
            <department_name>-1</department_name>
            <svc_online_cnt>0</svc_online_cnt>
            <svc_ask_offline_servicer_num>0</svc_ask_offline_servicer_num>
            <date_id>20210325</date_id>
            <group_id>-1</group_id>
            <svc_rest_cnt>0</svc_rest_cnt>
            <servicer_rest_cnt>580</servicer_rest_cnt>
            <svc_offline_cnt>0</svc_offline_cnt>
            <svc_no_clinet_cnt>0</svc_no_clinet_cnt>
            <svc_ask_rest_servicer_num>0</svc_ask_rest_servicer_num>
        </4>
        <5>
            <tenant_id>905</tenant_id>
            <tenant_name>非单元测试化BU</tenant_name>
            <group_name>-1</group_name>
            <department_id>-1</department_id>
            <department_name>-1</department_name>
            <svc_online_cnt>0</svc_online_cnt>
            <svc_ask_offline_servicer_num>0</svc_ask_offline_servicer_num>
            <date_id>20210329</date_id>
            <group_id>-1</group_id>
            <svc_rest_cnt>0</svc_rest_cnt>
            <servicer_rest_cnt>288</servicer_rest_cnt>
            <svc_offline_cnt>0</svc_offline_cnt>
            <svc_no_clinet_cnt>0</svc_no_clinet_cnt>
            <svc_ask_rest_servicer_num>0</svc_ask_rest_servicer_num>
        </5>
        <6>
            <tenant_id>905</tenant_id>
            <tenant_name>非单元测试化BU</tenant_name>
            <group_name>-1</group_name>
            <department_id>-1</department_id>
            <department_name>-1</department_name>
            <svc_online_cnt>0</svc_online_cnt>
            <svc_ask_offline_servicer_num>0</svc_ask_offline_servicer_num>
            <date_id>20210328</date_id>
            <group_id>-1</group_id>
            <svc_rest_cnt>0</svc_rest_cnt>
            <servicer_rest_cnt>192</servicer_rest_cnt>
            <svc_offline_cnt>0</svc_offline_cnt>
            <svc_no_clinet_cnt>0</svc_no_clinet_cnt>
            <svc_ask_rest_servicer_num>0</svc_ask_rest_servicer_num>
        </6>
        <7>
            <tenant_id>905</tenant_id>
            <tenant_name>非单元测试化BU</tenant_name>
            <group_name>-1</group_name>
            <department_id>-1</department_id>
            <department_name>-1</department_name>
            <svc_online_cnt>0</svc_online_cnt>
            <svc_ask_offline_servicer_num>0</svc_ask_offline_servicer_num>
            <date_id>20210331</date_id>
            <group_id>-1</group_id>
            <svc_rest_cnt>0</svc_rest_cnt>
            <servicer_rest_cnt>148</servicer_rest_cnt>
            <svc_offline_cnt>0</svc_offline_cnt>
            <svc_no_clinet_cnt>0</svc_no_clinet_cnt>
            <svc_ask_rest_servicer_num>0</svc_ask_rest_servicer_num>
        </7>
    </Rows>
</Data>
</GetSkillGroupServiceCapabilityResponse>

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_name" : "-1",
      "department_id" : "-1",
      "department_name" : "-1",
      "svc_online_cnt" : 0,
      "svc_ask_offline_servicer_num" : 0,
      "date_id" : "20210326",
      "group_id" : "-1",
      "svc_rest_cnt" : 0,
      "servicer_rest_cnt" : 234,
      "svc_offline_cnt" : 0,
      "svc_no_clinet_cnt" : 0,
      "svc_ask_rest_servicer_num" : 0
    }, {
      "tenant_id" : "905",
      "tenant_name" : "非单元测试化BU",
      "group_name" : "-1",
      "department_id" : "-1",
      "department_name" : "-1",
      "svc_online_cnt" : 0,
      "svc_ask_offline_servicer_num" : 0,
      "date_id" : "20210327",
      "group_id" : "-1",
      "svc_rest_cnt" : 0,
      "servicer_rest_cnt" : 96,
      "svc_offline_cnt" : 0,
      "svc_no_clinet_cnt" : 0,
      "svc_ask_rest_servicer_num" : 0
    }, {
      "tenant_id" : "905",
      "tenant_name" : "非单元测试化BU",
      "group_name" : "-1",
      "department_id" : "-1",
      "department_name" : "-1",
      "svc_online_cnt" : 0,
      "svc_ask_offline_servicer_num" : 0,
      "date_id" : "20210401",
      "group_id" : "-1",
      "svc_rest_cnt" : 0,
      "servicer_rest_cnt" : 244,
      "svc_offline_cnt" : 0,
      "svc_no_clinet_cnt" : 0,
      "svc_ask_rest_servicer_num" : 0
    }, {
      "tenant_id" : "905",
      "tenant_name" : "非单元测试化BU",
      "group_name" : "-1",
      "department_id" : "-1",
      "svc_avai_capacity" : 27,
      "svc_current_capacity" : 0,
      "department_name" : "-1",
      "svc_online_cnt" : 9,
      "svc_ask_offline_servicer_num" : 0,
      "date_id" : "20210330",
      "svc_max_capacity" : 27,
      "group_id" : "-1",
      "svc_rest_cnt" : 0,
      "current_speci_ability_num" : 0,
      "servicer_rest_cnt" : 44,
      "max_speci_ability_num" : 9,
      "svc_offline_cnt" : 0,
      "svc_no_clinet_cnt" : 9,
      "svc_ask_rest_servicer_num" : 0
    }, {
      "tenant_id" : "905",
      "tenant_name" : "非单元测试化BU",
      "group_name" : "-1",
      "department_id" : "-1",
      "department_name" : "-1",
      "svc_online_cnt" : 0,
      "svc_ask_offline_servicer_num" : 0,
      "date_id" : "20210325",
      "group_id" : "-1",
      "svc_rest_cnt" : 0,
      "servicer_rest_cnt" : 580,
      "svc_offline_cnt" : 0,
      "svc_no_clinet_cnt" : 0,
      "svc_ask_rest_servicer_num" : 0
    }, {
      "tenant_id" : "905",
      "tenant_name" : "非单元测试化BU",
      "group_name" : "-1",
      "department_id" : "-1",
      "department_name" : "-1",
      "svc_online_cnt" : 0,
      "svc_ask_offline_servicer_num" : 0,
      "date_id" : "20210329",
      "group_id" : "-1",
      "svc_rest_cnt" : 0,
      "servicer_rest_cnt" : 288,
      "svc_offline_cnt" : 0,
      "svc_no_clinet_cnt" : 0,
      "svc_ask_rest_servicer_num" : 0
    }, {
      "tenant_id" : "905",
      "tenant_name" : "非单元测试化BU",
      "group_name" : "-1",
      "department_id" : "-1",
      "department_name" : "-1",
      "svc_online_cnt" : 0,
      "svc_ask_offline_servicer_num" : 0,
      "date_id" : "20210328",
      "group_id" : "-1",
      "svc_rest_cnt" : 0,
      "servicer_rest_cnt" : 192,
      "svc_offline_cnt" : 0,
      "svc_no_clinet_cnt" : 0,
      "svc_ask_rest_servicer_num" : 0
    }, {
      "tenant_id" : "905",
      "tenant_name" : "非单元测试化BU",
      "group_name" : "-1",
      "department_id" : "-1",
      "department_name" : "-1",
      "svc_online_cnt" : 0,
      "svc_ask_offline_servicer_num" : 0,
      "date_id" : "20210331",
      "group_id" : "-1",
      "svc_rest_cnt" : 0,
      "servicer_rest_cnt" : 148,
      "svc_offline_cnt" : 0,
      "svc_no_clinet_cnt" : 0,
      "svc_ask_rest_servicer_num" : 0
    } ] ]
  }
}

错误码

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