文档
测试

查询集中器信息列表

POST
http://[域名]/netcon/getnetconlist

接口描述

查询集中器信息列表

请求参数

参数名
类型
描述
必填
appid
string
系统分配给第三方的接入应用编码,示例:1234567890
必填
token
string
接入签名,示例:45879541235derderedew
必填
timestamp
string
时间戳,格式为:yyyymmddhhmmss,如:20200118122652
必填
opertoken
string
身份操作凭证
必填
pageindex
int
当前页码
必填
pageeachnum
int
每页显示的数量
必填
provinceid
string
省份编码
可选
cityid
string
城市编码
可选
districtid
string
区域编码
可选
netconinfo
必填
estid
string
小区编号
可选
netconcode
string
集中器编号
可选
netstatus
string
网络状态 0:离线 1:在线
可选

请求数据示例

{ "appid":"1234567890", "token":"45879541235derderedew", "timestamp":"20200118122613", "opertoken":"123456eerwdfe", "pageindex":1, "pageeachnum":20, "netconinfo":{ "estid":"123" } }

响应参数

参数名
类型
描述
必填
errcode
string
错误代码,示例:0
必填
errmsg
string
错误信息,示例:成功
必填
recordcount
string
记录数量,为0表示列表没有数据
必填
pageindex
int
当前页码
必填
pagetotalnum
int
总页数
必填
listinfo
必填
netconcode
string
集中器编号
必填
estid
string
小区编号
必填
estname
string
小区名称
必填
netstatus
string
网络状态 0:离线 1:在线
必填
netconbrandname
string
品牌
必填
netconmodelname
string
型号
必填
electmeternum
string
下辖电表数量
必填
watermeternum
string
下辖水表数量
必填
lastonlinetime
string
最后在线时间
可选
createtime
string
设备添加时间
必填
comment
string
说明
可选

响应成功示例

{ "errcode":"0", "errmsg":"成功", "recordcount":"1","pageindex":1,"pagetotalnum":200, "listinfo":[{"netconcode":"1234567890","estid":"1","estname":"实验小区", "netstatus":"在线", "netconbrandname":"品牌", "netconmodelname":"型号", "electmeternum":"10", "watermeternum":"5", "lastonlinetime":"", "createtime":"2022-05-21 12:12:34" } ] }

响应失败示例

{ "errcode":"1", "errmsg":"参数无效" }