行研决策-生存趋势门店趋势
/api
【产品代号】
decisionSurvivalTrendStoreTrend
【功能描述】
获取生存趋势的门店趋势
【业务加密参数】
属性名 | 类型 | 必填 | 说明 | 备注 |
---|---|---|---|---|
industry | string | 否 | 行业 | |
category | string | 否 | 业态 | |
format | string | 否 | 品类 | |
pro | string | 否 | 省份 | |
city | string | 否 | 城市 | |
country | string | 否 | 地区 | |
time | string | 是 | 时间 | |
brand_name | string | 否 | 品牌名称 | |
employed | string | 是 | 数据范围 | 默认非个体(全量,个体,非个体) |
target | string | 是 | 指标 | 默认总店数(总店数,净增店数,新开店数,关店数) |
targets | string | 是 | 指标 | 默认门店数量排行榜 |
请求参数
Body 参数application/json
app_key
string
appKey
由我司业务人员提供
name
string
产品编号
接口不同,编号不同
data
string
加密后的业务参数
加密方式见Java示例代码,产品编号不同业务参数也不同
sign
string
加密后的签名
加密方式见Java示例代码
timestamp
string
访问时间
东八区当前时间,误差不可高于60秒
version
string
版本
传参写死空字符
order_no
string
订单号
建议传当前时间戳,仅方便对接排查
示例
{
"app_key": "{{app_key}}",
"name": "{{name}}",
"data": "{{data}}",
"sign": "{{sign}}",
"timestamp": "{{timestamp}}",
"version": "{{version}}"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSON
数据结构
code
string
接口状态
0-成功;1003-产品账号信息获取失败;501-后台接口服务异常;
msg
string
错误信息
出错时显示
data
object {2}
可选
month
array [object {4}]
月份数据体
year
array [object {2}]
年份数据体
示例
{
"code": "0",
"data": {
"month": [
{
"month": "2022-01",
"month_on_month": "9.49",
"month_ring_rate": "0.41",
"store_num": "121456967"
},
{
"month": "2022-02",
"month_on_month": "9.81",
"month_ring_rate": "0.59",
"store_num": "122170049"
},
{
"month": "2022-03",
"month_on_month": "9.69",
"month_ring_rate": "1.12",
"store_num": "123533507"
},
{
"month": "2022-04",
"month_on_month": "9.41",
"month_ring_rate": "0.78",
"store_num": "124491410"
},
{
"month": "2022-05",
"month_on_month": "9.49",
"month_ring_rate": "0.76",
"store_num": "125432032"
},
{
"month": "2022-06",
"month_on_month": "9.85",
"month_ring_rate": "0.66",
"store_num": "126254497"
},
{
"month": "2022-07",
"month_on_month": "9.63",
"month_ring_rate": "0.63",
"store_num": "127046338"
},
{
"month": "2022-08",
"month_on_month": "9.51",
"month_ring_rate": "0.74",
"store_num": "127986525"
},
{
"month": "2022-09",
"month_on_month": "9.41",
"month_ring_rate": "0.8",
"store_num": "129010587"
},
{
"month": "2022-10",
"month_on_month": "9.62",
"month_ring_rate": "0.94",
"store_num": "130217191"
},
{
"month": "2022-11",
"month_on_month": "9.36",
"month_ring_rate": "0.75",
"store_num": "131187960"
},
{
"month": "2022-12",
"month_on_month": "9.34",
"month_ring_rate": "0.81",
"store_num": "132250555"
}
],
"year": [
{
"value": {
"store_num": "78295179",
"year_on_year": "12.42"
},
"year": "2017"
},
{
"value": {
"store_num": "87468020",
"year_on_year": "11.72"
},
"year": "2018"
},
{
"value": {
"store_num": "97975789",
"year_on_year": "12.01"
},
"year": "2019"
},
{
"value": {
"store_num": "110239718",
"year_on_year": "12.52"
},
"year": "2020"
},
{
"value": {
"store_num": "120956220",
"year_on_year": "9.72"
},
"year": "2021"
},
{
"value": {
"store_num": "126254497",
"year_on_year": "9.85"
},
"year": "2022YTD"
}
]
}
}
修改时间 1 年前