统计概况

请求URL
GET /apiv2/kchat/Stats/StatistisProfile.json
Query参数
NameRequiredTypeComment
startdate传递格式:2017-7-10
enddate传递格式:2017-7-11



返回示例
{
    //人工响应时间
    "service_time": {
        "average": 23838,
        "count": 495,
        "time_count": 11799872,
        "distribution": [
            216,//0~15秒
            46,//15~30秒
            38,//30~60秒
            195 //>60秒
        ]
    },
    //排队等待时间
    "queue_time": {
        "average": 298,//(秒)
        "count": 499,
        "time_count": 149094964,//(秒)
        "distribution": [
            486,0~1分钟
            5,//1~3分钟
            3,//3~6分钟
            5//>6分钟
        ]
    },
    //对话渠道来源
    "source": {
        "chat": 480,
        "weixin": 74,
        "mini": 29,//微信小程序
        "weibo": 0,
        "sdk": 131,
        "custom": 0,
        "mobile": 32
    },
    //人工服务时长
    "response_time": {
        "average": 4011,//(秒)
        "count": 185,
        "time_count": 742150,//(秒)
        "distribution": [
            66,//0~3分钟
            36,//3~6分钟
            31,//6~10分钟
            52 //>10分钟
        ]
    },
    //数量统计
    "counts": {
        "chat_count": 746,//对话数
        "agent_chat_count": 495,//客服对话数
        "miss_chat_count": 310,//错过对话数
        "message_count": 6154,//消息总计
        "agent_message_count": 2923,//客服消息数
        "visitor_message_count": 1802,//访客消息数量
        "visitor_count": 167,//独立访客量
        "transfer_count": 29//转接量
    }
}