文档
测试

消费偏好

POST
http://jimu.smartsteps.com/users/chart/view

接口描述

区域内常驻人口的消费品类偏好分布

请求参数

参数名
类型
描述
必填
classTag
string
示例:001002
必填
projectId
string
示例:18f011e8ef262d1a4560a680de9fd411
必填
timestamp
int
示例:1596440479000
必填
polygonIds
string
示例:1
必填

响应参数

参数名
类型
描述
必填
result
object
数据字典
必填
data
array
数据列表
必填
item
string
示例:户外运动
必填
per
float
示例:0.058
必填
value
int
示例:31798
必填
classTag
string
示例:001002
必填
chartType
string
示例:S19
必填
option
object
数据字典
必填
tooltipTitle
string
示例:区域内常驻人口的消费品类偏好分布
必填
unit
string
示例:人
必填
title
string
示例:消费偏好
必填
timestamp
int
示例:1596440479000
必填
code
int
示例:1
必填
message
string
示例:成功
必填

说明 / 示例

``` { "classTag": "001002", "projectId": "18f011e8ef262d1a4560a680de9fd411", "timestamp": 1596440479000, "polygonIds": "1" } ``` ``` { "result": { "data": [{ "item": "户外运动", "per": 0.058, "value": 31798.0 }, { "item": "宠物饲养", "per": 0.038, "value": 21128.0 }, { "item": "服饰内衣", "per": 0.158, "value": 87414.0 }, { "item": "家电厨房", "per": 0.0, "value": 0.0 }, { "item": "母婴用品", "per": 0.112, "value": 61783.0 }, { "item": "珠宝首饰", "per": 0.039, "value": 21782.0 }, { "item": "图书画像", "per": 0.122, "value": 67452.0 }, { "item": "个护化妆", "per": 0.237, "value": 131202.0 }, { "item": "旅游出行", "per": 0.001, "value": 815.0 }, { "item": "生活用品", "per": 0.235, "value": 41788.0 }], "classTag": "001002", "chartType": "S19", "option": { "tooltipTitle": "区域内常驻人口的消费品类偏好分布", "unit": "人", "title": "消费偏好" }, "timestamp": 1596440479000 }, "code": 1, "message": "成功" } ```