# 修改客服账号所在分组

请求方式:POST

请求地址:https://$basehost/gateway/eaopen/SetCustomerServiceCategory

body参数

{
  "category_id": 2001,
  "customer_service_account":"testApi2"
}
字段 类型 必填 说明
category_id uint64 客服分组id,不填默认修改为默认分组
customer_service_account string 登录id

返回值:

{
  "data": {},
  "errcode": 0,
  "errmsg": "",
  "hint": "eJB8GJIL3RfZwVVWH5wA"
}

返回说明

字段 类型 说明
errcode int 状态码,0为正常,非0代表错误
errmsg string 错误信息
hint string 请求日志ID

完整请求示例:

curl -X POST https://$basehost/gateway/eaopen/SetCustomerServiceCategory \
     -H 'Content-Type: application/json; charset=UTF-8' \
     -H 'Token: c2NdxDHKXIJ5j1zrhJeq2eJEHjh9xxx' \
     -d '{
        "category_id": 2001,
        "customer_service_account":"testApi2"
}'
最后更新时间: 2024/6/17 18:28:27