接口说明:获取客户标签,根据客户Id获取该客户下所打的标签
限制说明:允许两秒请求一次,否则返回:操作频繁,请稍后重试
应用权限 用户->用户标签
访问路径:/api/audience/user/tag/list
Type: GET
Author: zhuyanpeng
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 获取客户所打标签
Query-parameters:
Parameter | Type | Required | Description |
---|---|---|---|
audienceUserId | int64 | true | 客户档案Id |
Response-fields:
Field | Type | Description |
---|---|---|
code | string | 状态码 |
errorCode | string | 错误状态码 |
msg | string | 状态描述 |
data | object | 数据 |
└─orgId | string | 兔展企业Id |
└─audienceUserId | int64 | 客户Id |
└─tagList | array | 标签列表 |
└─tagId | int64 | 标签Id |
└─execCount | int32 | 执行次数 |
└─tagTime | int64 | 打标签时间,时间戳 |
└─tagName | string | 标签名称 |
└─tagType | string | 标签类型 |
└─execUserCount | int32 | 执行用户数 |
└─tagValueList | array | 标签值集合 |
└─tagValueId | int64 | 标签值Id |
└─tagValue | string | 标签值名称 |
└─markCount | int32 | 标签值权重 |
换行和缩进只是为了更好的展示:
curl -X GET --header 'Accept: application/json' --header 'X-Token: O_jfvYVsrKQ9SecedWSzu0Vzeh0' 'https://integrate.rabbitpre.com/api/open/api/audience/user/tag/list?audienceUserId=958788729483837440'
响应示例
{ "code": "200", "errorCode": "SUCCESS", "msg": "ok", "data": { "orgId": "928a852d-e749-45be-bc31-f8e23f07b999", "audienceUserId": "123", "tagList": [{ "tagId": "613729315330330624", "execCount": 1, "tagTime": 1567060862103, "tagName": "标签1", "tagType": "OPERATE", "tagValueList": [{ "tagValueId": "613729315330330621", "tagValue": "标签值1", "markCount": 1 }] }, { "tagId": "613038455886319616", "execCount": 1, "tagTime": 1567060907701, "tagName": "标签2", "tagType": "OPERATE", "tagValueList": [{ "tagValueId": "613729315330330622", "tagValue": "标签值2", "markCount": 2 }] }, { "tagId": "613453023334764544", "execCount": 1, "tagTime": 1567060924303, "tagName": "标签3", "tagType": "OPERATE", "tagValueList": [{ "tagValueId": "613729315330330623", "tagValue": "标签值3", "markCount": 1 }] }, { "tagId": "613311436441128960", "execCount": 1, "tagTime": 1567060925111, "tagName": "标签4", "tagType": "OPERATE", "tagValueList": [{ "tagValueId": "613729315330330624", "tagValue": "标签值4", "markCount": 4 }] }] } } |