文档
测试

人口数

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

接口描述

当前区域所选人口类型的人口总数

请求参数

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

响应参数

参数名
类型
描述
必填
result
object
数据字典
必填
data
array
数据列表
必填
popuType
int
示例:3
必填
item
string
示例:总人口
必填
value
int
示例:2857391
必填
classTag
string
示例:000001
必填
chartType
string
示例:S1
必填
option
object
数据字典
必填
tooltipTitle
string
示例:当前区域所选人口类型的人口总数
必填
unit
string
示例:人
必填
title
string
示例:人口数
必填
timestamp
int
示例:1596522895000
必填
code
int
示例:1
必填
message
string
示例:成功
必填

说明 / 示例

``` { "classTag": "000001", "projectId": "18f011e8ef262d1a4560a680de9fd411", "timestamp": 1596522895000, "polygonIds": "" } ``` ``` { "result": { "data": [{ "popuType": 3, "item": "总人口", "value": 2857391 }, { "popuType": 0, "item": "到访", "value": 2627476 }, { "popuType": 1, "item": "居住", "value": 80158 }, { "popuType": 2, "item": "工作", "value": 160305 }], "classTag": "000001", "chartType": "S1", "option": { "tooltipTitle": "当前区域所选人口类型的人口总数", "unit": "人", "title": "人口数" }, "timestamp": 1596522895000 }, "code": 1, "message": "成功" } ```