更新时间:2024-03-05 GMT+08:00

senMsgRsp

表1 senMsgRsp参数结构

序号

名称

参数类型

是否必选

说明

1.1

resultDesc

string

False

返回结果码描述

根据不同的场景,返回描述不一样:

  • CONNECT连接座席

    如果resultCode返回0:成功

    如果resultCode返回12:The current time is not within the working time of the service agents

    如果resultCode返回13:No ccucs address available!

    其他非零错误请参见《CCUCS接口开发指南》中的错误码参考。

  • CONNECT连接机器人

    如果resultCode返回0:connect to robot successfully或process robot multi message successfully。

    如果resultCode返回13:Failed to disconnect robot或No ccucs address available!或fail to initialize robot

  • DISCONNECT断连座席

    如果resultCode返回0:disconnect successfully

    如果resultCode返回13:disconnect failed

  • DISCONNECT断连机器人

    如果resultCode返回0:Disconnect robot successfully

    如果resultCode返回13:Failed to disconnect robot

  • CHAT座席场景

    如果resultCode返回0:sendUserMessage successfully.

    如果resultCode返回13:sendUserMessage failed

  • CHAT机器人场景

    如果resultCode返回0:Failed to disconnect robot 或Send message to robot successfully 或process robot multi message successfully

  • TRANS2AGENT场景

    如果resultCode返回13:转人工失败,找不到渠道配置transfer to agent failed, none channel config found.

    如果resultCode返回13:转人工失败,会话已失效。fail to transfer from robot to agent,session keep touch failed.

    如果resultCode返回13:转人工失败,当前已经是人工服务。fail to transfer from robot to agent,it has been agent service.

    如果resultCode返回12:当前非座席工作时间!The current time is not within the working time of the service agents.

    如果resultCode返回13:转人工失败, 无法连接CCUCS。fail to transfer from robot to agent,connect to ccucs failed.

    如果resultCode返回13:断开机器人连接失败。Failed to disconnect robot

    如果resultCode返回0:transfer from robot to agent success.

  • INPUT场景

如果resultCode返回13:发送输入状态失败,找不到渠道配置。send inputStatus failed, none channel config found.

如果resultCode返回13:现在是机器人服务,此条消息无法发送!This is robot service,this message is prevented!

0:sendUserMessage successfully.

如果resultCode返回13:发送用户消息失败!sendUserMessage failed

1.2

resultCode

string

True

接口返回码,成功为0,非0失败,详情请见resultDesc。