获取标签列表
GET
/open-api/tag/list获取标签列表。
错误码 | 说明 |
---|---|
10001 | access_token 认证错误 |
20357 | limit 不合法 |
20358 | offset 不合法 |
调用此接口需购买基础席位。 |
请求参数
Query 参数
limit
string
可选
列表返回长度。默认值为30,最大值为100
示例值:
10
offset
string
可选
表偏移。用于迭代获取所有数据,默认值为0
示例值:
0
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
errcode
integer
必需
状态码,0为正常,非0代表错误。
errmsg
string
必需
错误信息,成功时为'ok',错误时会以中文方式显示错误原因
tag_list
object
标签列表
t_id
integer
标签id
tag_id
string
标签ext_id
tag_name
string
标签名称
tag_group_id
string
标签所属组id
tag_group_name
string
标签所属组名称
department_list
array[string]
必需
可见范围(部门id),"0"表示全部部门可见
total
integer
标签总数
示例
{
"errcode": 0,
"errmsg": "ok",
"tag_list": [
{
"department_list": [
"0"
],
"t_id": 3000356355,
"tag_group": "我是部门管理",
"tag_group_id": "eteo9iCwAAxUvuzb6_RR81JiWBmYJaCg",
"tag_id": "eteo9iCwAAjYxpfBPmfUmbbNijkj4dsw",
"tag_name": "测试批量加积分"
},
{
"department_list": [
"0"
],
"t_id": 3000356354,
"tag_group": "我是部门管理",
"tag_group_id": "eteo9iCwAAxUvuzb6_RR81JiWBmYJaCg",
"tag_id": "eteo9iCwAAQ9u_Ixf5zxXReVkSJ6TE1w",
"tag_name": "测试111"
},
{
"department_list": [
"0"
],
"t_id": 3000356353,
"tag_group": "活动",
"tag_group_id": "eteo9iCwAAK52Z5CFhfEmED_FWuCjAOg",
"tag_id": "eteo9iCwAA6o0bt75U1Gh0ItYnyQg9vw",
"tag_name": "租房季活动"
},
{
"department_list": [
"0"
],
"t_id": 3000356352,
"tag_group": "来源渠道",
"tag_group_id": "eteo9iCwAA6-5QwcrgFi55pdoASCeIRg",
"tag_id": "eteo9iCwAA5MI7BRHKua3QSGH_DeQcrQ",
"tag_name": "新店开业"
},
{
"department_list": [
"0"
],
"t_id": 3000356351,
"tag_group": "来源渠道",
"tag_group_id": "eteo9iCwAA6-5QwcrgFi55pdoASCeIRg",
"tag_id": "eteo9iCwAAfu585LtXamPqw0s_mqi5jQ",
"tag_name": "微信"
},
{
"department_list": [
"0"
],
"t_id": 3000356347,
"tag_group": "标签组名称saXgCq",
"tag_group_id": "eteo9iCwAA66W3i46bNJfxHl5xUN7AEw",
"tag_id": "eteo9iCwAAk5HqOJGQUUVvZUorg-_Igw",
"tag_name": "标签名称2zgdHOB"
},
{
"department_list": [
"0"
],
"t_id": 3000356346,
"tag_group": "标签组名称saXgCq",
"tag_group_id": "eteo9iCwAA66W3i46bNJfxHl5xUN7AEw",
"tag_id": "eteo9iCwAAdOJZTDIUqvdvteIOAPeeBA",
"tag_name": "标签名称1r3zug7"
},
{
"department_list": [
"0"
],
"t_id": 3000356345,
"tag_group": "标签组名称se0Vfn",
"tag_group_id": "eteo9iCwAAsoF5aAqto_Pw0eiPXxQh9g",
"tag_id": "eteo9iCwAADizBY0dXbMc39la0RLJZ6g",
"tag_name": "标签名称2BaVGPi"
},
{
"department_list": [
"0"
],
"t_id": 3000356344,
"tag_group": "标签组名称se0Vfn",
"tag_group_id": "eteo9iCwAAsoF5aAqto_Pw0eiPXxQh9g",
"tag_id": "eteo9iCwAAqbgvN2f1vQdMDDCVOHshOA",
"tag_name": "标签名称1jOy0lX"
},
{
"department_list": [
"0"
],
"t_id": 3000356343,
"tag_group": "标签组名称Li3Pc2",
"tag_group_id": "eteo9iCwAA-YdPpFmdGo8d67MLarXEtQ",
"tag_id": "eteo9iCwAAkYEUhOOhQY1bKpyVlLAVbA",
"tag_name": "标签名称2ovQPm5"
},
{
"department_list": [
"0"
],
"t_id": 3000356342,
"tag_group": "标签组名称Li3Pc2",
"tag_group_id": "eteo9iCwAA-YdPpFmdGo8d67MLarXEtQ",
"tag_id": "eteo9iCwAA5NrSg7joba6SJcH8Amoi-A",
"tag_name": "标签名称1NQp7Ad"
},
{
"department_list": [
"0"
],
"t_id": 3000356341,
"tag_group": "无法知道的",
"tag_group_id": "eteo9iCwAASQi7NLOwoMOi3ZNzuqOCcQ",
"tag_id": "eteo9iCwAArb2kR5n_Zyc-CmnUPAx9dw",
"tag_name": "无法知道的8"
},
{
"department_list": [
"0"
],
"t_id": 3000356340,
"tag_group": "无法知道的",
"tag_group_id": "eteo9iCwAASQi7NLOwoMOi3ZNzuqOCcQ",
"tag_id": "eteo9iCwAAAqWjCrBqQ7tbRNWTMfdgLg",
"tag_name": "无法知道的7"
},
{
"department_list": [
"0"
],
"t_id": 3000356339,
"tag_group": "无法知道的",
"tag_group_id": "eteo9iCwAASQi7NLOwoMOi3ZNzuqOCcQ",
"tag_id": "eteo9iCwAA-nGbT9HI4nAI-Uqy3RJYDw",
"tag_name": "无法知道的6"
},
{
"department_list": [
"0"
],
"t_id": 3000356338,
"tag_group": "无法知道的",
"tag_group_id": "eteo9iCwAASQi7NLOwoMOi3ZNzuqOCcQ",
"tag_id": "eteo9iCwAAaWHgF_9HscRbLdCKPLvt1w",
"tag_name": "无法知道的5"
},
{
"department_list": [
"0"
],
"t_id": 3000356337,
"tag_group": "无法知道的",
"tag_group_id": "eteo9iCwAASQi7NLOwoMOi3ZNzuqOCcQ",
"tag_id": "eteo9iCwAAcr6PyWTvZ12ITFH4wflVCA",
"tag_name": "无法知道的4"
},
{
"department_list": [
"0"
],
"t_id": 3000356336,
"tag_group": "无法知道的",
"tag_group_id": "eteo9iCwAASQi7NLOwoMOi3ZNzuqOCcQ",
"tag_id": "eteo9iCwAAPz5SzuBv05g4Iy-8gF63MA",
"tag_name": "无法知道的3"
},
{
"department_list": [
"0"
],
"t_id": 3000356335,
"tag_group": "无法知道的",
"tag_group_id": "eteo9iCwAASQi7NLOwoMOi3ZNzuqOCcQ",
"tag_id": "eteo9iCwAAw1_gmob1VXSLDWGAYY9cSA",
"tag_name": "无法知道的2"
},
{
"department_list": [
"0"
],
"t_id": 3000356334,
"tag_group": "无法知道的",
"tag_group_id": "eteo9iCwAASQi7NLOwoMOi3ZNzuqOCcQ",
"tag_id": "eteo9iCwAA8uK-tcCMWdqoPsTPDvz68A",
"tag_name": "无法知道的1"
},
{
"department_list": [
"0"
],
"t_id": 3000356333,
"tag_group": "接口测",
"tag_group_id": "eteo9iCwAA4vg1r9WdTLAbJMaT70eeWQ",
"tag_id": "eteo9iCwAAeOFOwr9AEVua1ahvxXR-WQ",
"tag_name": "接口测"
},
{
"department_list": [
"0"
],
"t_id": 3000356332,
"tag_group": "1111",
"tag_group_id": "eteo9iCwAAx14brG5YmKDPt8zW3PtZeA",
"tag_id": "eteo9iCwAAtWDfd42onBdHcMW4PbnwVA",
"tag_name": "22"
},
{
"department_list": [
"0"
],
"t_id": 3000356331,
"tag_group": "测试标签组eRv",
"tag_group_id": "eteo9iCwAAV3OYLsvi_EKECduP9BUt7w",
"tag_id": "eteo9iCwAAn9eNyqktcgRXdMKAiwRUng",
"tag_name": "添加"
},
{
"department_list": [
"0"
],
"t_id": 3000356330,
"tag_group": "分流码",
"tag_group_id": "eteo9iCwAAPtiv-TF6zwZgCBt4DxL0_Q",
"tag_id": "eteo9iCwAAuqp58mAKi9yUMomYSsnXLw",
"tag_name": "分6"
},
{
"department_list": [
"0"
],
"t_id": 3000356329,
"tag_group": "分流码",
"tag_group_id": "eteo9iCwAAPtiv-TF6zwZgCBt4DxL0_Q",
"tag_id": "eteo9iCwAAGYBUVrAejt96M2d3obmYnQ",
"tag_name": "分5"
},
{
"department_list": [
"0"
],
"t_id": 3000356328,
"tag_group": "分流码",
"tag_group_id": "eteo9iCwAAPtiv-TF6zwZgCBt4DxL0_Q",
"tag_id": "eteo9iCwAAqSz3mEL_7ySYAUWmElCT-A",
"tag_name": "分4"
},
{
"department_list": [
"0"
],
"t_id": 3000356327,
"tag_group": "分流码",
"tag_group_id": "eteo9iCwAAPtiv-TF6zwZgCBt4DxL0_Q",
"tag_id": "eteo9iCwAAhyCAgQx0Ruy6wSvH3rtDjA",
"tag_name": "分3"
},
{
"department_list": [
"0"
],
"t_id": 3000356326,
"tag_group": "分流码",
"tag_group_id": "eteo9iCwAAPtiv-TF6zwZgCBt4DxL0_Q",
"tag_id": "eteo9iCwAAehc-8tpOQxS4Niy8q6oz6Q",
"tag_name": "分2"
},
{
"department_list": [
"0"
],
"t_id": 3000356325,
"tag_group": "分流码",
"tag_group_id": "eteo9iCwAAPtiv-TF6zwZgCBt4DxL0_Q",
"tag_id": "eteo9iCwAAnT8jTXXRiRyKWcTCA6U8eA",
"tag_name": "分1"
},
{
"department_list": [
"0"
],
"t_id": 3000356324,
"tag_group": "13213213",
"tag_group_id": "eteo9iCwAAJWxw1oSf7JwMKRnR6dqrEQ",
"tag_id": "eteo9iCwAA2A7L0xEmYf4HYhp3ZFyzug",
"tag_name": "56"
},
{
"department_list": [
"0"
],
"t_id": 3000356306,
"tag_group": "weather",
"tag_group_id": "eteo9iCwAAIxq4GXhKJK3LZNWNx7P8YA",
"tag_id": "eteo9iCwAA9pTC9HsmF_DRMIaA4Awbww",
"tag_name": "雨"
}
],
"total": 3618
}
最后修改时间: 10 个月前