...
|
...
|
@@ -1086,3 +1086,143 @@ |
|
|
"message": "SUCCESS"
|
|
|
}
|
|
|
|
|
|
|
|
|
### 5、店铺页KPI指标值
|
|
|
|
|
|
#### 请求参数
|
|
|
| Param Name | Param Type | Required | Param Value | Desc |
|
|
|
| :-- | --: | --: | --: | --: |
|
|
|
| shopId | String | true | 选择店铺 | 店铺页ID|
|
|
|
|
|
|
|
|
|
#### 请求方法
|
|
|
get http://ap2.yohobuy.com/data-analysis-web/queryShopKpi?shopId=1234
|
|
|
#### 响应内容
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"allKpi":{
|
|
|
tKpi:{"totalUv":1236,"detailUv":1000,"shopcarUv":500,"orderUv":100,"payUv":50},
|
|
|
yKpi:{"totalUv":2236,"detailUv":2000,"shopcarUv":1500,"orderUv":200,"payUv":150}
|
|
|
},
|
|
|
"iosKpi":{
|
|
|
tKpi:{"totalUv":1236,"detailUv":1000,"shopcarUv":500,"orderUv":100,"payUv":50},
|
|
|
yKpi:{"totalUv":2236,"detailUv":2000,"shopcarUv":1500,"orderUv":200,"payUv":150}
|
|
|
},
|
|
|
"androidKpi":{
|
|
|
tKpi:{"totalUv":1236,"detailUv":1000,"shopcarUv":500,"orderUv":100,"payUv":50},
|
|
|
yKpi:{"totalUv":2236,"detailUv":2000,"shopcarUv":1500,"orderUv":200,"payUv":150}
|
|
|
}
|
|
|
},
|
|
|
"md5": "c3aa9ca20837f614fd184e849e59c86f",
|
|
|
"message": "SUCCESS"
|
|
|
}
|
|
|
|
|
|
### 6、店铺页KPI指标值趋势
|
|
|
|
|
|
#### 请求参数
|
|
|
| Param Name | Param Type | Required | Param Value | Desc |
|
|
|
| :-- | --: | --: | --: | --: |
|
|
|
| shopId | String | true | 选择店铺 | 店铺页ID|
|
|
|
| appType | String | true | ios/android/all | 客户端维度|
|
|
|
| kpiType | String | true | hour/day | 时间维度|
|
|
|
|
|
|
|
|
|
#### 请求方法(最近24小时转化率趋势,有序)
|
|
|
get http://ap2.yohobuy.com/data-analysis-web/queryShopKpiTrend?shopId=1234&&appType=ios&&kpiType=hour
|
|
|
#### 响应内容
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"appType":"ios",
|
|
|
"kpiType":"hour",
|
|
|
"shopId":"1234",
|
|
|
"trend":[
|
|
|
{
|
|
|
"time":"9",
|
|
|
"level1Cvr":"90.05",
|
|
|
"level2Cvr":"80.05",
|
|
|
"level3Cvr":"70.05",
|
|
|
"level4Cvr":"60.05"
|
|
|
},
|
|
|
{
|
|
|
"time":"10",
|
|
|
"level1Cvr":"90.05",
|
|
|
"level2Cvr":"80.05",
|
|
|
"level3Cvr":"70.05",
|
|
|
"level4Cvr":"60.05"
|
|
|
},
|
|
|
{
|
|
|
"time":"11",
|
|
|
"level1Cvr":"90.05",
|
|
|
"level2Cvr":"80.05",
|
|
|
"level3Cvr":"70.05",
|
|
|
"level4Cvr":"60.05"
|
|
|
},
|
|
|
{
|
|
|
"time":"12",
|
|
|
"level1Cvr":"90.05",
|
|
|
"level2Cvr":"80.05",
|
|
|
"level3Cvr":"70.05",
|
|
|
"level4Cvr":"60.05"
|
|
|
},
|
|
|
{一共24条}
|
|
|
]
|
|
|
},
|
|
|
"md5": "c3aa9ca20837f614fd184e849e59c86f",
|
|
|
"message": "SUCCESS"
|
|
|
}
|
|
|
|
|
|
|
|
|
#### 请求方法(最近30天转化率趋势,有序)
|
|
|
get http://ap2.yohobuy.com/data-analysis-web/queryShopKpiTrend?shopId=1234&&appType=ios&&kpiType=day
|
|
|
#### 响应内容
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"appType":"ios",
|
|
|
"kpiType":"day",
|
|
|
"shopId":"1234",
|
|
|
"trend":[
|
|
|
{
|
|
|
"time":"28",
|
|
|
"level1Cvr":"90.05",
|
|
|
"level2Cvr":"80.05",
|
|
|
"level3Cvr":"70.05",
|
|
|
"level4Cvr":"60.05"
|
|
|
},
|
|
|
{
|
|
|
"time":"29",
|
|
|
"level1Cvr":"90.05",
|
|
|
"level2Cvr":"80.05",
|
|
|
"level3Cvr":"70.05",
|
|
|
"level4Cvr":"60.05"
|
|
|
},
|
|
|
{
|
|
|
"time":"30",
|
|
|
"level1Cvr":"90.05",
|
|
|
"level2Cvr":"80.05",
|
|
|
"level3Cvr":"70.05",
|
|
|
"level4Cvr":"60.05"
|
|
|
},
|
|
|
{
|
|
|
"time":"1",
|
|
|
"level1Cvr":"90.05",
|
|
|
"level2Cvr":"80.05",
|
|
|
"level3Cvr":"70.05",
|
|
|
"level4Cvr":"60.05"
|
|
|
},
|
|
|
{一共30条}
|
|
|
]
|
|
|
},
|
|
|
"md5": "c3aa9ca20837f614fd184e849e59c86f",
|
|
|
"message": "SUCCESS"
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
...
|
...
|
|