获取客户群活码列表
企业可通过此接口,获取群活码列表
请求方式: GET(HTTPS)
请求地址: https://open.wshoto.com/openapi/qrcode/group_qr_code/list
参数说明:
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| access_token | string | 是 | 调用接口凭证 |
| current_index | int | 否 | 页码。默认值为1 |
| page_size | int | 否 | 列表返回长度。默认值为20,最大值为100 |
| create_source | int | 否 | 0 全部,1 通过页面创建,2 通过门店模板自动创建 |
返回值:
{
"code": 0,
"msg": "请求成功",
"data": {
"total": 29,
"records": [
{
"id": 2317,
"name": "11111111",
"creator": "cjr",
"unlimited": 0,
"expired_time": 1608269181797,
"create_time": 1608269181797,
"url": "http://www.wshoto.com/img.jpg",
"create_type": 3,
"create_source": 1
},
{
"id": 2268,
"name": "测试群cc_1",
"creator": "cjr",
"unlimited": 1,
"expired_time": 1608269181797,
"create_time": 1608269181797,
"url": "http://www.wshoto.com/img.jpg",
"create_type": 4,
"create_source": 1
}
]
}
}
参数说明:
| 参数 | 类型 | 说明 |
|---|---|---|
| code | int | 返回码 |
| msg | string | 对返回码的文本描述内容 |
| data | Page | 分页对象 |
| total | int | 总条数 |
| records | GroupQrcode[] | 数据列表 |
| id | string | 群活码id |
| name | string | 群活码名称 |
| creator | string | 创建人 |
| expired_time | long | 群二维码失效状态,手工创建显示群码最早失效时间 |
| create_time | long | 活码创建时间 |
| unlimited | int | 活码是否永久,0=非永久,1=永久 |
| url | string | 二维码图片地址 |
| create_type | int | 活码是否永久,群活码类型,1:7天码, 2:永久码, 3:按顺序入群, 4:按分类入群 |
| create_source | int | 1 通过页面创建,2 通过门店模板自动创建 |