调用GetSkillGroupServiceStatus获取在线报表下技能组服务状态量。

调试

您可以在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

AgentIds Array of Long 123

技能组Id。

DepIds Array of Long 111

部门Id。

GroupIds Array of Long 100

技能组id。

TimeLatitudeType String minute/hour/day

时间纬度类型。取值:

  • minute
  • hour
  • day
ExistAgentGrouping Boolean false

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

  • true
  • false
ExistDepartmentGrouping Boolean false

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

  • true
  • false
ExistSkillGroupGrouping Boolean false

是否根据技能组分组查询

ExistRobotInstanceGrouping Boolean false

是否根据机器实例分组查询。取值:

  • true
  • false
ExistChannelInstanceGrouping Boolean false

是否根据渠道实例分组查询。取值:

  • true
  • false

返回数据

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

请求ID。

Message String xxxx

状态码描述。

Code String 200

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

Success String true

接口调用是否成功。

Data object

数据列表。

PageSize Integer 2000

每页大小。

TotalNum Integer 4

总记录数。

Rows String {"online_40s_transfer_ready_cnt":382,"minute_id":"-1","online_unsatis_cnt":0,"online_simple_cnt":0,"average_queue_time":"0.39","service_pickup":"7752","online_service_time_len":220753,"online_direct_give_up_len":1187,"channel_instance_name":"-1","servicer_id":"-1","tenant_name":"非单元测试化BU","group_name":"-1","online_30s_transfer_ready_cnt":382}

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

PageNum Integer 1

当前页数。

date_id:日期

hour_id:小时

minute_id:分钟-5分钟,如:05,10,00,15

servicer_id:小二ID

servicer_name:小二名称

group_id:技能组ID

group_name:技能组名称

department_id:部门ID

department_name:部门名称

tenant_id:租户ID

tenant_name:租户名称

robot_instance_id:机器人id

robot_instance_name:机器人名称

channel_instance_id:渠道实例id

channel_instance_name:渠道实例名称

online_direct_request_cnt:用户直接请求的服务量(直连)

online_transfer_request_cnt:被转入的用户服务请求量

online_direct_ready_cnt:用户直接接起的服务量(直连)

online_transfer_ready_cnt:被转入的用户接起服务量

online_transfer_in_give_up_cnt:转交后用户放弃量(未接起量)

online_transfer_out_cnt:转出的总量(建议通过产品上落标记动作直接取数)

online_direct_give_up_cnt:放弃量(直连)直接请求放弃的量

online_transfer_give_up_cnt:放弃量(转入)转入后放弃的量

online_10s_direct_ready_cnt:10秒接起量(直连)

online_10s_transfer_ready_cnt:10秒接起量(转入)

online_20s_direct_ready_cnt:20秒接起量(直连)

online_20s_transfer_ready_cnt:20秒接起量(转入)

online_30s_direct_ready_cnt:30秒接起量(直连)

online_30s_transfer_ready_cnt:30秒接起量(转入)

online_40s_direct_ready_cnt:40秒接起量(直连)

online_40s_transfer_ready_cnt:40秒接起量(转入)

online_60s_direct_ready_cnt:60秒接起量(直连)

online_60s_transfer_ready_cnt:60秒接起量(转入)

online_service_time_len:服务总时长对应技能组中,小二开始服务的时间到小二服务结束时间(如果发生转交,服务结束时间=转交时间)

online_direct_wait_len:等待总时长(直连)直连接起量的进入队列到接起待时长

online_transfer_wait_len:等待总时长(转入)转入接起量的进入队列到接起待时长

online_direct_give_up_len:放弃总时长(直连)直连接起量的进入队列到放弃时长

online_transfer_give_up_len:放弃总时长(转入)转入接起量的进入队列到放弃的时长(如果有放弃的,其时长算在最后一个目标技能组)

online_direct_response_len:响应时长(直连)会员发出对话到小二回复的平均间隔时长

online_transfer_response_len:响应时长(转入)会员发出对话到小二回复的平均间隔时长

online_direct_response_times:响应次数(直连)会员发出对话到小二回复的间隔次数

online_transfer_response_times:响应次数(转入)会员发出对话到小二回复的间隔次数

online_satis_cnt:满意数-touch的评价

online_simple_cnt:一般数-touch的评价

online_unsatis_cnt:不满意数-touch的评价

示例

请求示例

http(s)://aiccs.aliyuncs.com/?InstanceId=ccc_xp_pre-cn-***
&StartDate=1615083365000
&EndDate=1617761765000
&PageSize=10
&CurrentPage=1
&AgentIds=[123]
&DepIds=[111]
&GroupIds=[100]
&TimeLatitudeType=minute/hour/day
&ExistAgentGrouping=false
&ExistDepartmentGrouping=false
&ExistSkillGroupGrouping=false
&ExistRobotInstanceGrouping=false
&ExistChannelInstanceGrouping=false
&公共请求参数

正常返回示例

XML格式

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

<GetSkillGroupServiceStatusResponse>
<RequestId>EE338D98-9BD3-4413-B165</RequestId>
<Message>xxxx</Message>
<Code>200</Code>
<Success>true</Success>
<Data>
    <Page>1</Page>
    <PageSize>2000</PageSize>
    <TotalNum>4</TotalNum>
    <Rows>
        <online_40s_transfer_ready_cnt>382</online_40s_transfer_ready_cnt>
        <minute_id>-1</minute_id>
        <online_unsatis_cnt>0</online_unsatis_cnt>
        <online_simple_cnt>0</online_simple_cnt>
        <average_queue_time>0.39</average_queue_time>
        <service_pickup>7752</service_pickup>
        <online_service_time_len>220753</online_service_time_len>
        <online_direct_give_up_len>1187</online_direct_give_up_len>
        <channel_instance_name>-1</channel_instance_name>
        <servicer_id>-1</servicer_id>
        <tenant_name>非单元测试化BU</tenant_name>
        <group_name>-1</group_name>
        <online_30s_transfer_ready_cnt>382</online_30s_transfer_ready_cnt>
        <online_direct_response_times>551</online_direct_response_times>
        <online_direct_give_up_cnt>2242</online_direct_give_up_cnt>
        <channel_instance_id>-1</channel_instance_id>
        <online_transfer_wait_len>177</online_transfer_wait_len>
        <servicer_name>马珍4号</servicer_name>
        <robot_instance_id>-1</robot_instance_id>
        <tenant_id>905</tenant_id>
        <participation>2</participation>
        <_30_seconds_pick_up_rate>75.21%</_30_seconds_pick_up_rate>
        <online_transfer_response_times>2</online_transfer_response_times>
        <pickup_rate>75.21%</pickup_rate>
        <date_id>-1</date_id>
        <online_20s_transfer_ready_cnt>382</online_20s_transfer_ready_cnt>
        <online_transfer_give_up_cnt>313</online_transfer_give_up_cnt>
        <hour_id>-1</hour_id>
        <online_10s_transfer_ready_cnt>382</online_10s_transfer_ready_cnt>
        <online_direct_request_cnt>9612</online_direct_request_cnt>
        <online_60s_transfer_ready_cnt>382</online_60s_transfer_ready_cnt>
        <service_request_volume>10307</service_request_volume>
        <robot_instance_name>-1</robot_instance_name>
        <participation_rate>0.00%</participation_rate>
        <online_direct_ready_cnt>7370</online_direct_ready_cnt>
        <online_transfer_out_cnt>695</online_transfer_out_cnt>
        <online_transfer_in_give_up_cnt>313</online_transfer_in_give_up_cnt>
        <online_transfer_response_len>9</online_transfer_response_len>
        <online_20s_direct_ready_cnt>7370</online_20s_direct_ready_cnt>
        <online_30s_direct_ready_cnt>7370</online_30s_direct_ready_cnt>
        <_30_seconds_to_pick_up>7752</_30_seconds_to_pick_up>
        <online_10s_direct_ready_cnt>7367</online_10s_direct_ready_cnt>
        <online_direct_wait_len>3852</online_direct_wait_len>
        <department_id>-1</department_id>
        <department_name>-1</department_name>
        <satisfaction>-1</satisfaction>
        <online_transfer_ready_cnt>382</online_transfer_ready_cnt>
        <online_transfer_give_up_len>3907</online_transfer_give_up_len>
        <average_response_time>4.84</average_response_time>
        <online_direct_response_len>2667</online_direct_response_len>
        <group_id>-1</group_id>
        <online_transfer_request_cnt>695</online_transfer_request_cnt>
        <give_up>2555</give_up>
        <online_satis_cnt>2</online_satis_cnt>
        <online_60s_direct_ready_cnt>7370</online_60s_direct_ready_cnt>
        <online_40s_direct_ready_cnt>7370</online_40s_direct_ready_cnt>
        <average_abandon_time>0.49</average_abandon_time>
    </Rows>
</Data>
</GetSkillGroupServiceStatusResponse>

JSON格式

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

{
  "RequestId" : "EE338D98-9BD3-4413-B165",
  "Message" : "xxxx",
  "Code" : "200",
  "Success" : "true",
  "Data" : {
    "Page" : 1,
    "PageSize" : 2000,
    "TotalNum" : 4,
    "Rows" : [ {
      "online_40s_transfer_ready_cnt" : 382,
      "minute_id" : "-1",
      "online_unsatis_cnt" : 0,
      "online_simple_cnt" : 0,
      "average_queue_time" : "0.39",
      "service_pickup" : "7752",
      "online_service_time_len" : 220753,
      "online_direct_give_up_len" : 1187,
      "channel_instance_name" : "-1",
      "servicer_id" : "-1",
      "tenant_name" : "非单元测试化BU",
      "group_name" : "-1",
      "online_30s_transfer_ready_cnt" : 382,
      "online_direct_response_times" : 551,
      "online_direct_give_up_cnt" : 2242,
      "channel_instance_id" : "-1",
      "online_transfer_wait_len" : 177,
      "servicer_name" : "马珍4号",
      "robot_instance_id" : "-1",
      "tenant_id" : "905",
      "participation" : "2",
      "_30_seconds_pick_up_rate" : "75.21%",
      "online_transfer_response_times" : 2,
      "pickup_rate" : "75.21%",
      "date_id" : "-1",
      "online_20s_transfer_ready_cnt" : 382,
      "online_transfer_give_up_cnt" : 313,
      "hour_id" : "-1",
      "online_10s_transfer_ready_cnt" : 382,
      "online_direct_request_cnt" : 9612,
      "online_60s_transfer_ready_cnt" : 382,
      "service_request_volume" : "10307",
      "robot_instance_name" : "-1",
      "participation_rate" : "0.00%",
      "online_direct_ready_cnt" : 7370,
      "online_transfer_out_cnt" : 695,
      "online_transfer_in_give_up_cnt" : 313,
      "online_transfer_response_len" : 9,
      "online_20s_direct_ready_cnt" : 7370,
      "online_30s_direct_ready_cnt" : 7370,
      "_30_seconds_to_pick_up" : "7752",
      "online_10s_direct_ready_cnt" : 7367,
      "online_direct_wait_len" : 3852,
      "department_id" : "-1",
      "department_name" : "-1",
      "satisfaction" : -1,
      "online_transfer_ready_cnt" : 382,
      "online_transfer_give_up_len" : 3907,
      "average_response_time" : "4.84",
      "online_direct_response_len" : 2667,
      "group_id" : "-1",
      "online_transfer_request_cnt" : 695,
      "give_up" : "2555",
      "online_satis_cnt" : 2,
      "online_60s_direct_ready_cnt" : 7370,
      "online_40s_direct_ready_cnt" : 7370,
      "average_abandon_time" : "0.49"
    } ]
  }
}

错误码

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