简要描述:
- 企业客户标签组列表
请求域名:
- http://xx.com
请求URL:
xx.com/business/{公众号id}/plugin/WorkWechatTag/tagGroupList
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
page | 否 | int | 页数,默认1 |
group_name | 否 | string | 标签组名 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "成功",
"data": {
"group_list": {
"current_page": 1,
"data": [
{
"id": 212,
"group_id": "etDesSDgAAkSNK9Dl7LoaiebFlRehgZw",
"group_name": "xy测试标签组3",
"group_order": 1,
"tag_count": 4
},
{
"id": 211,
"group_id": "etDesSDgAAuFYg8fDeWVXcfYClT9lFLQ",
"group_name": "未分组1234",
"group_order": 0,
"tag_count": 1
},
{
"id": 203,
"group_id": "etDesSDgAAaWSsR-R9dhG884ok2FICiA",
"group_name": "未分组123",
"group_order": 0,
"tag_count": 1
},
{
"id": 202,
"group_id": "etDesSDgAAkJJkuNaoogd95VIumMpfNg",
"group_name": "未分组",
"group_order": 0,
"tag_count": 8
},
{
"id": 200,
"group_id": "etDesSDgAApRUH46bnzlzpc8VvwjvCeg",
"group_name": "xy测试标签组2",
"group_order": 1,
"tag_count": 2
},
{
"id": 196,
"group_id": "etDesSDgAAXi2o1TAZFPg8AJk48R4W-Q",
"group_name": "哈哈哈标签组456",
"group_order": 1,
"tag_count": 1
},
{
"id": 194,
"group_id": "etDesSDgAAPhRXjwSHethJTk0WZXd_3w",
"group_name": "哈哈哈标签组3",
"group_order": 1,
"tag_count": 2
},
{
"id": 192,
"group_id": "etDesSDgAAapBySJyy_nL7GASBeUGLzw",
"group_name": "hh",
"group_order": 0,
"tag_count": 1
},
{
"id": 190,
"group_id": "etDesSDgAAe1uXI3LwGyNBoOtNhGr46Q",
"group_name": "客户等级",
"group_order": 0,
"tag_count": 4
},
{
"id": 188,
"group_id": "etDesSDgAAiv-r66i48solLuFS379L5A",
"group_name": "123",
"group_order": 0,
"tag_count": 1
},
{
"id": 187,
"group_id": "etDesSDgAAkqdytUBUMtc_fsnHRnEZ6w",
"group_name": "开发测试标签组1",
"group_order": 0,
"tag_count": 1
},
{
"id": 186,
"group_id": "etDesSDgAA1mxsQDk2NDVmBMP9kCo6YA",
"group_name": "hvfrccrvrvrvrce",
"group_order": 0,
"tag_count": 2
},
{
"id": 185,
"group_id": "etDesSDgAAUw_UZyUZ6fiIBjubPhUWSw",
"group_name": "你好",
"group_order": 0,
"tag_count": 1
},
{
"id": 184,
"group_id": "etDesSDgAAWb8-iCyYtmu8PS_cVqxXoQ",
"group_name": "66",
"group_order": 0,
"tag_count": 1
},
{
"id": 183,
"group_id": "etDesSDgAAyiteFZ8u6UTLmIWEGSDrvQ",
"group_name": "222",
"group_order": 0,
"tag_count": 1
}
],
"first_page_url": "http://zouye.yunzmall.com/business/1/plugin/WorkWechatTag/tagGroupList?page=1",
"from": 1,
"last_page": 2,
"last_page_url": "http://zouye.yunzmall.com/business/1/plugin/WorkWechatTag/tagGroupList?page=2",
"next_page_url": "http://zouye.yunzmall.com/business/1/plugin/WorkWechatTag/tagGroupList?page=2",
"path": "http://zouye.yunzmall.com/business/1/plugin/WorkWechatTag/tagGroupList",
"per_page": 15,
"prev_page_url": null,
"to": 15,
"total": 21
}
}
}
错误时返回:
{
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
名称 | 类型 | 说明 |
data.group_list.data[].id | int | 标签组商城ID |
data.group_list.data[].group_id | string | 企业微信标签组ID |
data.group_list.data[].group_name | string | 标签组名 |
data.group_list.data[].group_order | int | 标签组排序 |
data.group_list.data[].tag_count | int | 标签数量 |