云客服-查询指定VDN下的座席休息情况:样例报文

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

样例报文

  • 请求头:
    Content-Type: application/json;charset=UTF-8
    Authorization: ******************
  • 请求参数:
    {
        "ccId":1, 
        "vdn":170,
        "offset":0,
        "limit":3
    }
  • 响应参数:
    {
        "result": "0",
        "resultCode": "0100000",
        "resultDatas": {
            "onRestAgentNum": 2,
            "allowRestAgentNum": 0,
            "details": [
                {
                    "agentId": 1034,
                    "cantRestCause": 2,
                    "vdnId": 170,
                    "ccId": 1,
                    "beginTime": 1602830642000,
                    "applyRestLength": 600,
                    "name": "zhang1130user"
                },
                {
                    "agentId": 1039,
                    "cantRestCause": 0,
                    "vdnId": 170,
                    "ccId": 1,
                    "beginTime": 1602830613000,
                    "applyRestLength": 600,
                    "name": "HW285601039",
                    "reqRestDura": 238
                },
                {
                    "agentId": 1099,
                    "cantRestCause": 0,
                    "vdnId": 170,
                    "ccId": 1,
                    "beginTime": 1602830638000,
                    "applyRestLength": 600,
                    "name": "HW285601099",
                    "reqRestDura": 213
                }
            ],
            "waitRestAgentNum": 1
        },
        "resultDesc": {
            "onRestAgentNum": 2,
            "allowRestAgentNum": 0,
            "details": [
                {
                    "agentId": 1034,
                    "cantRestCause": 2,
                    "vdnId": 170,
                    "ccId": 1,
                    "beginTime": 1602830642000,
                    "applyRestLength": 600,
                    "name": "zhang1130user"
                },
                {
                    "agentId": 1039,
                    "cantRestCause": 0,
                    "vdnId": 170,
                    "ccId": 1,
                    "beginTime": 1602830613000,
                    "applyRestLength": 600,
                    "name": "HW285601039",
                    "reqRestDura": 238
                },
                {
                    "agentId": 1099,
                    "cantRestCause": 0,
                    "vdnId": 170,
                    "ccId": 1,
                    "beginTime": 1602830638000,
                    "applyRestLength": 600,
                    "name": "HW285601099",
                    "reqRestDura": 213
                }
            ],
            "waitRestAgentNum": 1
        },
        "count": 30
    }
support.huaweicloud.com/api-ccfs-cec/cec_07_2533.html