云客服-获取技能维度的历史监控指标:样例报文

时间:2024-09-24 14:46:28

样例报文

  • 请求头:
    Content-Type: application/json;charset=UTF-8
    Authorization: ******************
  • 请求参数:
    {
       "ccId":1,
       "vdn":1,
       "skillIds":[11,24],
       "timeGrain":"15MIN",
       "indexIds":["IDX_COUNT_SKILL_REQUEST","IDX_COUNT_SKILL_CONNECTED"],
       "mediaType":53,
       "subMediaType":3
    }
  • 响应参数:
    {
        "result": "0",
        "resultCode": "0100000",
        "resultDatas": [
            {
                "idxs": [
                    {
                        "val": {
                            "2020-08-24 10:30:00.0": "15",
                            "2020-08-24 10:45:00.0": "19"
                        },
                        "id": "IDX_COUNT_SKILL_REQUEST"
                    },
                    {
                        "val": {
                            "2020-08-24 10:30:00.0": "6",
                            "2020-08-24 10:45:00.0": "4"
                        },
                        "id": "IDX_COUNT_SKILL_CONNECTED"
                    }
                ],
                "id": "12"
            },
            {
                "idxs": [
                    {
                        "val": {
                            "2020-08-24 10:00:00.0": "16",
                            "2020-08-24 10:15:00.0": "14"
                        },
                        "id": "IDX_COUNT_SKILL_REQUEST"
                    },
                    {
                        "val": {
                            "2020-08-24 10:00:00.0": "5",
                            "2020-08-24 10:15:00.0": "4"
                        },
                        "id": "IDX_COUNT_SKILL_CONNECTED"
                    }
                ],
                "id": "13"
            }
        ],
        "resultDesc": [
            {
                "idxs": [
                    {
                        "val": {
                            "2020-08-24 10:30:00.0": "15",
                            "2020-08-24 10:45:00.0": "19"
                        },
                        "id": "IDX_COUNT_SKILL_REQUEST"
                    },
                    {
                        "val": {
                            "2020-08-24 10:30:00.0": "6",
                            "2020-08-24 10:45:00.0": "4"
                        },
                        "id": "IDX_COUNT_SKILL_CONNECTED"
                    }
                ],
                "id": "12"
            },
            {
                "idxs": [
                    {
                        "val": {
                            "2020-08-24 10:00:00.0": "16",
                            "2020-08-24 10:15:00.0": "14"
                        },
                        "id": "IDX_COUNT_SKILL_REQUEST"
                    },
                    {
                        "val": {
                            "2020-08-24 10:00:00.0": "5",
                            "2020-08-24 10:15:00.0": "4"
                        },
                        "id": "IDX_COUNT_SKILL_CONNECTED"
                    }
                ],
                "id": "13"
            }
        ]
    }
support.huaweicloud.com/api-ccfs-cec/cec_07_2584.html