精准客流关注度数据
获取关注度业务门店列表
接口描述: 获取当前企业所有的关注度门店的信息
接口地址: https://yd.yunding360.com/openapi/attention/stores/list
请求方式:GET
响应示例:
[
{
"id": "bffe0e55-a691-11ed-b0ff-b7bb6c406837",
"groupId": "856549c3-4af7-11ef-8014-994db9ef9aae",
"name": "测试门店"
}
]
响应参数
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| id | 门店id | string(uuid) | |
| groupId | 所属分组id | string(uuid) | |
| name | 门店名称 | string |
获取门店下店内分区列表
接口描述: 根据门店id获取门店下的区域列表
接口地址: https://yd.yunding360.com/openapi/attention/{storeId}/storeArea/list
请求方式:GET
请求参数:
| 参数名称 | 参数说明 | in | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| storeId | 门店id | path | true | string |
响应示例:
[
{
"storeId": "8eb4f720-538d-11ea-a07b-639c87790018",
"areaId": "7e783e118091be8c02e83da0b1af4875",
"areaName": "测试店内区域"
}
]
响应参数:
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| areaId | 区域id | string | |
| areaName | 区域名称 | string | |
| storeId | 所属门店ID | string |
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | 区域列表信息 |
获取门店下区域关注度时长分级数据
接口描述 通过门店id和店内区域id获取门店下区域关注度时长分级数据
接口地址 https://yd.yunding360.com/openapi/attention/analyse/data
请求方式 POST
请求示例
{
"storeId": "",
"areaId": "",
"startTime": 0,
"endTime": 0
}
请求参数
| 参数名称 | 参数说明 | in | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| storeId | 门店id | body | true | string | |
| areaId | 店内分区id | body | false | string | |
| startTime | 开始时间(毫秒时间戳) | body | true | long | |
| endTime | 结束时间(毫秒时间戳) | body | true | long |
响应示例
[
{
"areaId": "",
"areaName": "",
"attentionCustomerNum": 0,
"attentionCustomerTimes": 0,
"attentionAvgDuration": 0,
"notice": 0,
"interest": 0,
"tendToBuy": 0
}
]
响应参数
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| areaId | 区域id | string | |
| areaName | 区域名称 | string | |
| attentionCustomerNum | 区域关注顾客数 | integer | |
| attentionCustomerTimes | 区域关注人次 | integer | |
| attentionAvgDuration | 平均关注时长(s) | integer | |
| notice | 游逛 | integer | |
| interest | 感兴趣 | integer | |
| tendToBuy | 倾向购买 | integer |