调用GetOnlineServiceVolume获取在线监控下在线服务量。

调试

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

请求参数

名称 类型 是否必选 示例值 描述
Action String GetOnlineServiceVolume

系统规定参数。取值:GetOnlineServiceVolume

InstanceId String ccc_xp_pre-cn-***

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

StartDate Long 1615083365000

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

EndDate Long 1617761765000

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

PageSize Integer 20

每页大小。默认值:10

CurrentPage Integer 1

当前页。默认值:1

AgentIds Array of Long 123

坐席ID。

DepIds Array of Long 100

部门ID。

GroupIds Array of Long 111

技能组ID。

TimeLatitudeType String minute

时间纬度类型。取值:

  • minute
  • hour
  • day
ExistAgentGrouping Boolean false

是否根据坐席分组查询。取值:

  • true
  • false
ExistDepartmentGrouping Boolean false

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

  • true
  • false
ExistSkillGroupGrouping Boolean false

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

  • true
  • false

返回数据

名称 类型 示例值 描述
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","online_40s_transfer_ready_cnt":109,"minute_id":"-1","wait_time_len":1215,"pickup_rate":"63.09%","thirty_seconds_to_pickUp":"2560","date_id":"-1","online_over_out_cnt":0,"online_20s_transfer_ready_cnt":109,"thirty_seconds_response_rate":"63.09%","abandonment_rate":"63.09%","service_time_len":68378,"service_pickup":"2560","hour_id":"-1","online_10s_transfer_ready_cnt":109}

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

RequestId String EE338D98-9BD3-4413-B165

请求ID。

online_direct_request_cnt: 直连请求量

online_transfer_request_cnt: 转交请求量(转交代表是别人转交给该小二的)

online_direct_giveup_cnt: 直连放弃量

online_transfer_giveup_cnt: 转交放弃量

online_direct_ready_cnt: 直连接起量

online_transfer_ready_cnt: 转交接起量

online_10s_direct_ready_cnt: 直连10s接起量

online_10s_transfer_ready_cnt: 转交10s接起量

online_20s_direct_ready_cnt: 直连20s接起量

online_20s_transfer_ready_cnt: 转交20s接起量

online_30s_direct_ready_cnt: 直连30s接起量

online_30s_transfer_ready_cnt: 转交30s接起量

online_40s_direct_ready_cnt: 直连40s接起量

online_40s_transfer_ready_cnt: 转交40s接起量

online_60s_direct_ready_cnt: 直连60s接起量

online_60s_transfer_ready_cnt: 转交60s接起量

online_over_out_cnt: 技能组溢出量

online_over_in_cnt: 技能组溢入量

online_sat_cnt: 满意数

online_normal_cnt: 一般数

online_unsat_cnt: 不满意数

service_time_len: 总服务时长

wait_time_len: 总等待时长

示例

请求示例

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

正常返回示例

XML格式

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

<GetOnlineServiceVolumeResponse>
<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>
            <online_40s_transfer_ready_cnt>109</online_40s_transfer_ready_cnt>
            <minute_id>-1</minute_id>
            <wait_time_len>1215</wait_time_len>
            <pickup_rate>63.09%</pickup_rate>
            <thirty_seconds_to_pickUp>2560</thirty_seconds_to_pickUp>
            <date_id>-1</date_id>
            <online_over_out_cnt>0</online_over_out_cnt>
            <online_20s_transfer_ready_cnt>109</online_20s_transfer_ready_cnt>
            <thirty_seconds_response_rate>63.09%</thirty_seconds_response_rate>
            <abandonment_rate>63.09%</abandonment_rate>
            <service_time_len>68378</service_time_len>
            <service_pickup>2560</service_pickup>
            <hour_id>-1</hour_id>
            <online_10s_transfer_ready_cnt>109</online_10s_transfer_ready_cnt>
            <online_direct_request_cnt>3843</online_direct_request_cnt>
            <online_60s_transfer_ready_cnt>109</online_60s_transfer_ready_cnt>
            <service_request_volume>4058</service_request_volume>
            <servicer_real_name>--</servicer_real_name>
            <online_transfer_giveup_cnt>88</online_transfer_giveup_cnt>
            <online_direct_ready_cnt>2451</online_direct_ready_cnt>
            <online_unsat_cnt>0</online_unsat_cnt>
            <att>26</att>
            <servicer_id>-1</servicer_id>
            <online_20s_direct_ready_cnt>2451</online_20s_direct_ready_cnt>
            <tenant_name>非单元测试化BU</tenant_name>
            <online_30s_direct_ready_cnt>2451</online_30s_direct_ready_cnt>
            <online_10s_direct_ready_cnt>2450</online_10s_direct_ready_cnt>
            <group_name>-1</group_name>
            <department_id>-1</department_id>
            <department_name>-1</department_name>
            <online_30s_transfer_ready_cnt>109</online_30s_transfer_ready_cnt>
            <satisfaction>100.00%</satisfaction>
            <online_transfer_ready_cnt>109</online_transfer_ready_cnt>
            <online_sat_cnt>1</online_sat_cnt>
            <online_direct_giveup_cnt>1392</online_direct_giveup_cnt>
            <group_id>-1</group_id>
            <online_transfer_request_cnt>215</online_transfer_request_cnt>
            <online_normal_cnt>0</online_normal_cnt>
            <servicer_name>--</servicer_name>
            <online_60s_direct_ready_cnt>2451</online_60s_direct_ready_cnt>
            <online_40s_direct_ready_cnt>2451</online_40s_direct_ready_cnt>
            <online_over_in_cnt>0</online_over_in_cnt>
        </0>
    </Rows>
</Data>
<RequestId>EE338D98-9BD3-4413-B165</RequestId>
</GetOnlineServiceVolumeResponse>

JSON格式

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

{
  "Message" : "xxxx",
  "Code" : "200",
  "Success" : "true",
  "Data" : {
    "PageNum" : 1,
    "PageSize" : 2000,
    "TotalNum" : 4,
    "Rows" : [ [ {
      "tenant_id" : "905",
      "online_40s_transfer_ready_cnt" : 109,
      "minute_id" : "-1",
      "wait_time_len" : 1215,
      "pickup_rate" : "63.09%",
      "thirty_seconds_to_pickUp" : "2560",
      "date_id" : "-1",
      "online_over_out_cnt" : 0,
      "online_20s_transfer_ready_cnt" : 109,
      "thirty_seconds_response_rate" : "63.09%",
      "abandonment_rate" : "63.09%",
      "service_time_len" : 68378,
      "service_pickup" : "2560",
      "hour_id" : "-1",
      "online_10s_transfer_ready_cnt" : 109,
      "online_direct_request_cnt" : 3843,
      "online_60s_transfer_ready_cnt" : 109,
      "service_request_volume" : "4058",
      "servicer_real_name" : "--",
      "online_transfer_giveup_cnt" : 88,
      "online_direct_ready_cnt" : 2451,
      "online_unsat_cnt" : 0,
      "att" : 26,
      "servicer_id" : "-1",
      "online_20s_direct_ready_cnt" : 2451,
      "tenant_name" : "非单元测试化BU",
      "online_30s_direct_ready_cnt" : 2451,
      "online_10s_direct_ready_cnt" : 2450,
      "group_name" : "-1",
      "department_id" : "-1",
      "department_name" : "-1",
      "online_30s_transfer_ready_cnt" : 109,
      "satisfaction" : "100.00%",
      "online_transfer_ready_cnt" : 109,
      "online_sat_cnt" : 1,
      "online_direct_giveup_cnt" : 1392,
      "group_id" : "-1",
      "online_transfer_request_cnt" : 215,
      "online_normal_cnt" : 0,
      "servicer_name" : "--",
      "online_60s_direct_ready_cnt" : 2451,
      "online_40s_direct_ready_cnt" : 2451,
      "online_over_in_cnt" : 0
    } ] ]
  },
  "RequestId" : "EE338D98-9BD3-4413-B165"
}

错误码

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