限制说明:允许五秒请求十次,否则返回:操作频繁,请稍后重试
应用权限 用户->用户标签
访问路径:/api/audience/user/tag/batchlist
Type: POST
Author: zhuyanpeng
Content-Type: application/json; charset=utf-8
Description: 批量获取客户所打标签
Body-parameters:
Parameter | Type | Required | Description |
---|---|---|---|
audienceUserIdList | array | true | 客户档案id集合 |
Response-fields:
Field | Type | Description |
---|---|---|
code | string | 状态码 |
errorCode | string | 错误状态码 |
msg | string | 状态描述 |
data | array | 数据(集合) |
└─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 POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'X-Token: wuckL19mhgykNruZToLe56U0YP0' -d '{ \ "audienceUserIdList": [ \ 123,456 \ ] \ }' 'https://integrate.rabbitpre.com/api/open/api/audience/user/tag/batchlist' |
返回示例
{ "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": "613729315330330614", "tagValue": "标签值1", "markCount": 1 } ] } ] }, { "orgId":"928a852d-e749-45be-bc31-f8e23f07b999", "audienceUserId":"456", "tagList":[ { "tagId":"61372931533033000", "execCount":2, "tagTime":1567060862103, "tagName": "标签2", "tagType": "OPERATE", "tagValueList":[ { "tagValueId": "61372931533033002", "tagValue": "标签值2", "markCount": 1 } ] } ] } ] } |