获取员工活码列表

最后更新:2024/6/27

企业可通过此接口,获取员工活码列表

请求方式: POST(HTTPS)

请求地址: https://open.wshoto.com/openapi/qrcode/staff/v2/list

参数说明:

参数 类型 必填 说明
access_token string 调用接口凭证

Body参数:

{
  "current_index": 1,
  "page_size": 10,
  "qrcode_name": "活码名称",
  "qrcode_ids": "1765559610334299010",
  "staff_user_ids": "admin",
  "channel_ids": "123,222,333",
  "qrcode_group_id": 0, 
  "create_source": 4
}
参数 类型 必填 说明
current_index int 页码。默认值为1
page_size int 列表返回长度。默认值为20,最大值为100
qrcode_name string 活码名称
qrcode_ids string 活码ids
staff_user_ids string 使用员工ids
channel_ids string 获客渠道ids(多个逗号分开)
qrcode_group_id long 活码分组id
create_source int 创建来源: 0 全部, 1 手动创建, 2 根据门店自动创建, 3 商城, 4 开发平台

返回值:

{
  "code": 0,
  "msg": "请求成功",
  "data": {
    "total": 1,
    "records": [
      {
        "id": 1798171062828032769,
        "qrcode_name": "20240605",
        "create_time": "2024-06-05 09:52:44"
      }
    ]
  }
}

参数说明:

参数 类型 说明
code int 返回码
msg string 对返回码的文本描述内容
data Page 分页对象
  total int 总条数
  records Qrcode[] 数据列表
  id long 员工活码id
  qrcode_name string 员工活码名称
  create_time string 创建时间

results matching ""

    No results matching ""