# 获取客服工作台客服分组列表

请求方式:POST

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

body参数

{
  "offset": 0,
  "limit": 20,
  "category_id_list": [
    1001
  ],
  "name": "test"
}
字段 类型 必填 说明
name string 筛选条件-客服分组名称
category_id_list arrays 筛选条件-客服分组id列表
offset int 每次获取的的开始位置,最小值为0
limit int 每次获取的条数,取值范围(1~100)

返回值:

{
  "data": {
    "list": [
      {
        "category_id": "1002",
        "category_name": "222",
        "create_time": "1687255139",
        "customer_service_account_list": [
          "sadfasdfasdfa"
        ]
      }
    ],
    "has_more": false
  },
  "errcode": 0,
  "errmsg": "",
  "hint": "Y9IQDq0L3RfZwt4wYHcA"
}

返回说明

字段 类型 说明
errcode int 状态码,0为正常,非0代表错误
errmsg string 错误信息
hint string 请求日志ID
category_id uint64 客服分组id
category_name string 客服分组名称
customer_service_account_list arrays 客服账号列表
create_time int64 客服分组创建时间
has_more bool 是否还有更多数据

完整请求示例:

curl -X POST https://$basehost/gateway/eaopen/GetCustomerServiceCategoryList \
     -H 'Content-Type: application/json; charset=UTF-8' \
     -H 'Token: c2NdxDHKXIJ5j1zrhJeq2eJEHjh9xxx' \
     -d '{
         "offset": 0,
         "limit": 20,
         "category_id_list": [
          1001
          ],
         "name": "test"
}'
最后更新时间: 2024/6/17 18:24:09