ImportRamUsers - 从RAM中导入坐席

更新时间:
复制为 MD 格式

RAM中已存在的子账号导入为联络中心坐席。

调试

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

调试

授权信息

当前API暂无授权信息透出。

请求参数

名称

类型

必填

描述

示例值

InstanceId

string

实例 ID。

ccc-test

RoleId

string

角色 ID,坐席导入成功后在实例中的角色,包括管理员、技能组组长和坐席三种角色。

Agent@ccc-test

SkillLevelList

string

技能组的技能等级列表,格式为 JSON 数组的字符串,数组元素是一个对象,包含两个字段:skillGroupId 和 skillLevel,skillGroupId 填写坐席想要关联的技能组 ID,skillLevel 填写坐席在该技能组的技能等级,取值范围 1-10,值越小,业务能力越强,单位时间内能处理更多的通话。

[{"skillGroupId":"skillgroup@ccc-test","skillLevel":5}]

RamIdList

string

待添加的 RAM 用户 ID 列表。

["28036411123456****","29234301123456****"]

WorkMode

string

工作模式。

ON_SITE

返回参数

名称

类型

描述

示例值

object

HttpStatusCode

integer

HTTP 状态码。

200

Data

string

数据,导入执行 ID。

1ca2b084-6f0a-454b-9851-29768a9a5832

RequestId

string

请求 ID。

03C67DAD-EB26-41D8-949D-9B0C470FB716

Code

string

响应码。

OK

Message

string

响应信息。

示例

正常返回示例

JSON格式

{
  "HttpStatusCode": 200,
  "Data": "1ca2b084-6f0a-454b-9851-29768a9a5832\n",
  "RequestId": "03C67DAD-EB26-41D8-949D-9B0C470FB716",
  "Code": "OK",
  "Message": "无"
}

错误码

HTTP status code

错误码

错误信息

描述

400 Parameter.Enumeration The parameter %s must be one of the value of enumeration %s. 该参数必须为系统限定的枚举值之一。
400 Parameter.Maximum The parameter %s must be less than or equal to %s. 参数必须小于或等于系统规定的最大值。
400 Parameter.Minimum The parameter %s must be greater than or equal to %s. 参数必须大于或等于系统规定的最小值。
400 Parameter.Blank The parameter %s may not be null or blank. 该参数不能为null或含有空白符的字符串。
400 Parameter.Empty The parameter %s may not be null or empty. 该参数不能为null值或为空字符串。
404 NotExists.InstanceId The specified instance %s does not exist. 指定的呼叫中心实例不存在。

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

变更历史

更多信息,参考变更详情