获取员工活码详情

最后更新:2024/6/27

请求方式: POST(HTTPS)

请求地址: https://open.wshoto.com/openapi/qrcode/staff_qr_code/detail?access_token=x

Query参数:

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

Body参数:

{
  "id": 1595394670995704258,
  "config_id": "60e55330",
  "state": "QRCODE_YG88"
}
参数 类型 必填 说明
id long 活码id
config_id string 企业微信‘联系我’id
state string 企业自定义的state

返回值:


{
  "code": 0,
  "msg": "请求成功",
  "data": {
    "id": 1798179688900748034,
    "type": 1,
    "qrcode_name": "openApi创建",
    "guide_msg": "",
    "config_id": "00b6c9f02e72bc599b5d8b3f71cc52b7",
    "state": "QRCODE_YGc832832896c2e805",
    "without_confirm": 1,
    "multiple_type": 1,
    "qr_code": "https://wework.qpic.cn/wwpic3az/779229_J9aSdu5sQyaiSnC_1717554421/0",
    "qr_code_img_url": "https://wework.qpic.cn/wwpic3az/779229_J9aSdu5sQyaiSnC_1717554421/0",
    "day_add_up_mark": false,
    "staff_user_ids": [
      "woDkH9EAAA0t6at-EgwB3GOAgnFMiREA"
    ],
    "user_list": [
      {
        "dept_id": null,
        "user_id": "woDkH9EAAA0t6at-EgwB3GOAgnFMiREA",
        "day_add_up_number": null,
        "staff_count_up_number": null,
        "is_standby_staff": false
      }
    ],
    "time_list": [],
    "time_slice_list": [],
    "qrcode_group_id": null,
    "custom_remark": null,
    "qrcode_model": "",
    "qrcode_model_url": "",
    "model_title": "加好友 享专属服务",
    "staff_promotion_flag": 1,
    "channel_ids": "",
    "short_link": "https://wsurl.cc/jtg6lb",
    "create_user_id": "woDkH9EAAA0t6at-EgwB3GOAgnFMiREA",
    "create_time": "2024-06-05",
    "person": 15,
    "greeting_type": 1,
    "greeting_list": [
      {
        "id": 1798179688904942339,
        "greeting_type": 1,
        "greeting_model": null,
        "greeting": "这是一段欢迎语",
        "week_day": null,
        "start_time": null,
        "end_time": null,
        "delete_status": null,
        "material_info_list": [
          {
            "id": 1771385115516090882,
            "type": 3,
            "combination_id": null,
            "package_config_id": null,
            "send_type": 1
          }
        ]
      }
    ]
  }
}

参数说明:

参数 类型 说明
code int 返回码
msg string 对返回码的文本描述内容
data object 员工活码详情
  id long 员工活码id
  qrcode_name string 员工活码名称
  type int 活码类型:1:单人,2:多人
  guide_msg string 引导语
  config_id string 新增联系方式的配置id
  state string 企业自定义的state参数,用于区分不同的添加渠道,不超过30个字符
  without_confirm int 验证标志,1自动通过,2手动通过,3_分时段自动通过
  multiple_type int 添加方式,1-全天可添加,2-分时段添加
  qr_code string 联系二维码地址
  qr_code_img_url string 二维码图片地址
  day_add_up_mark bool 每日添加上限标志:true:开启,false:关闭
  staff_user_ids string[] 活码下的员工id
  user_list User[] 员工具体信息
    dept_id string 部门id
    user_id bool 员工id
    day_add_up_number int 每日添加上限
    staff_count_up_number int 员工人数添加上限数
    is_standby_staff bool 是否备用员工
  time_list Time[] 通过时间
    week_day string[] 星期,1:周一,2:周二,3:周三,4:周四,5:周五,6:周六,7:周日
    start_time string 开始时间 HH:mm:ss,如:09:00:00
    end_time string 结束时间 HH:mm:ss,如:09:00:00
  time_slice_list TimeSlice[] 时间片段列表
    week_day string[] 星期,1:周一,2:周二,3:周三,4:周四,5:周五,6:周六,7:周日
    start_time string 开始时间 HH:mm:ss,如:09:00:00
    end_time string 结束时间 HH:mm:ss,如:09:00:00
    user_list string[] 使用员工id
    dept_list string 使用部门id
  qrcode_group_id long 活码分组id
  custom_remark string 自定义备注名
  qrcode_model string 活码模板
  qrcode_model_url string 活码模板url
  model_title string 模板标题
  staff_promotion_flag int 使用员工是否可推广活码,0 否,1 是,默认是
  channel_ids string 获客渠道
  short_link string 活码短链地址
  create_user_id string 创建人user_id
  create_time string 创建时间
  create_source int 创建来源 1.通过页面手动创建 2.门店模板自动创建 3.商城 4.开放平台 xxxxx
  greeting_type int 欢迎语类型,1:固定欢迎语,2:分时段欢迎语
  greeting_list Greeting[] 欢迎语类型,1:固定欢迎语,2:分时段欢迎语
    id long 欢迎语id
    greeting_type int 欢迎语类型,1:固定欢迎语,2:分时段欢迎语
    greeting_model string 欢迎语模板id
    greeting string 欢迎语内容
    week_day string[] 星期,1:周一,2:周二,3:周三,4:周四,5:周五,6:周六,7:周日
    start_time string 开始时间 HH:mm:ss,如:09:00:00
    end_time string 结束时间 HH:mm:ss,如:09:00:00
    delete_status bool 删除状态,true:删除,false:不删除
    material_info_list Material[] 欢迎语素材
      id long 素材id
      type int 素材类型
      combination_id long 组合素材id
      package_config_id long 分类id
      send_type int 发送类型 1 轨迹发送 2 普通发送

results matching ""

    No results matching ""