...
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 -k -H 'Content-Type: application/json; charset=utf-8' -i https://integrate.rabbitpre.com/api/open/api/audience/user/tag/batchlist --data '{ "audienceUserIdList": [ 827 ] }' |
返回示例
代码块 |
---|
{
"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
}
]
}
]
}
]
} |