中科大脑


中科大脑-累计降水量top接口

累计降水量top接口

接口地址:/smart-weather/bigscreen/rain/rainTopByLimit

请求方式:GET

请求数据类型:*

响应数据类型:*/*

接口描述:累计降水量top接口

请求参数:

请求参数:

参数名称 参数说明 in 是否必须 数据类型 schema
endTime结束时间 yyyy-MM-dd hh:mm:ss endTime body false string
orderDesc 正序倒序 0:正序 1:倒序 orderDesc query false integer(int32)
orderField 排序字段 0:半小时 1:1小时 2:3小时 3:6小时 4:12小时 5:24小时 6:36小时 7:48小时 8:72小时 9:96小时 : 10:时间区间查询 orderField query false integer(int32)
startTime开始时间 yyyy-MM-dd hh:mm:ss startTime body false string
stationType 站点类型 全部不传值 0:标准气象站 1:微型气象站 2:水务站 3:微型气象站二期 stationType query false integer(int32)
street street query false string
streetName streetName query false string

响应状态:

状态码 说明 schema
200 OK 接口返回对象«List«累计降水量TOP数据»»
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
code 返回代码 integer(int32) integer(int32)
message 返回处理消息 string
result 返回数据对象 array 累计降水量TOP数据
  anHourBeforeRainCount 前一小时降水量 number(double)
  beforeRainCount36 前36小时降水量 number(double)
  beforeRainCount48 前48小时降水量 number(double)
  beforeRainCount72 前72小时降水量 number(double)
  beforeRainCount96 前96小时降水量 number(double)
  halfAnHourRainCount 前半小时降水量 number(double)
  latitude 纬度 string
  longitude 经度 string
  maxWind 极大风速 number(double)
  sixHourBeforeRainCount 前六小时降水量 number(double)
  stationCode 站点编号 string
  stationName 站点名称 string
  stationType 气象站类型 integer(int32)
  stationTypeName 气象站类型名称 string
  streetName 街道名称 string
  threeHourBeforeRainCount 前三小时降水量 number(double)
  timeIntervalDataSum 自定义时间降水量 number(double)
  todayRainCount 当天降雨量 8点到现在 number(double)
  twelveHourBeforeRainCount 前十二小时降水量 number(double)
  twentyFourHourBeforeRainCount 前二十四小时降水量 number(double)
  twoWind 2分钟平均风速 string
success 成功标志 boolean
timestamp 时间戳 integer(int64) integer(int64)

响应示例:

{
    "code": 0,
    "message": "",
    "result": [
        {
            "anHourBeforeRainCount": 0,
            "beforeRainCount36": 0,
            "beforeRainCount48": 0,
            "beforeRainCount72": 0,
            "beforeRainCount96": 0,
            "halfAnHourRainCount": 0,
            "latitude": "",
            "longitude": "",
            "maxWind": 0,
            "sixHourBeforeRainCount": 0,
            "stationCode": "",
            "stationName": "",
            "stationType": 0,
            "stationTypeName": "",
            "streetName": "",
            "threeHourBeforeRainCount": 0,
            "timeIntervalDataSum": 0,
            "todayRainCount": 0,
            "twelveHourBeforeRainCount": 0,
            "twentyFourHourBeforeRainCount": 0,
            "twoWind": ""
        }
    ],
    "success": true,
    "timestamp": 0
}

页面列表

ITEM_HTML