文档
测试

户均分析-四分类数据

POST
http://192.168.0.7:8082/gateway/handle/changshu/statistics/center/average/type

请求参数

参数名
类型
描述
必填
type
int
示例:2 (2:近一个月,1:近一周)
必填
centerCode
string
示例:298942987166
必填
date
string
示例: (某一天)
必填
startTime
string
示例: (自定义时间开始时间)
必填
endTime
string
示例:(自定义时间结束时间)
必填

响应参数

参数名
类型
描述
必填
code
string
示例:0
必填
result
object
数据字典
必填
typeList
array
数据列表
必填
typeName
string
示例:厨余垃圾
必填
typeCode
string
示例:297890255081
必填
typeWeight
float
示例:3.1 (平均每户质量)
必填
perHousePerDayAvgNumber
float
示例:0.1 (平均每户每日质量)
必填
bucketAmount
object
示例:null
必填
totalWeight
float
示例:3.1
必填
status
int
示例:200
必填
timestamp
int
示例:1599812121809
必填

说明 / 示例

{ "code": "0", "result": { "typeList": [ { "typeName": "厨余垃圾", "typeCode": "297890255081", "typeWeight": 3.1, "perHousePerDayAvgNumber": 0.1, "bucketAmount": null }, { "typeName": "其他垃圾", "typeCode": "297890287234", "typeWeight": 0.0, "perHousePerDayAvgNumber": 0.0, "bucketAmount": null }, { "typeName": "可回收物", "typeCode": "297890226008", "typeWeight": 0.0, "perHousePerDayAvgNumber": 0.0, "bucketAmount": null }, { "typeName": "有害垃圾", "typeCode": "297890274683", "typeWeight": 0.0, "perHousePerDayAvgNumber": 0.0, "bucketAmount": null } ], "totalWeight": 3.1 }, "status": 200, "timestamp": 1599812300983 }