文档
测试

查询业主基本信息

POST
http://[域名]/est/getownerbaseinfo

接口描述

查询业主基本信息

请求参数

参数名
类型
描述
必填
appid
string
系统分配给第三方的接入应用编码,示例:1234567890
必填
token
string
接入签名,示例:45879541235derderedew
必填
timestamp
string
时间戳,格式为:yyyymmddhhmmss,如:20200118122652
必填
opertoken
string
身份操作凭证
必填
accountid
string
业主编号
必填

请求数据示例

{ "appid":"1234567890", "token":"45879541235derderedew", "timestamp":"20200118122613", "opertoken":"123456eerwdfe", "accountid":"12345" }

响应参数

参数名
类型
描述
必填
errcode
string
错误代码,示例:0
必填
errmsg
string
错误信息,示例:成功
必填
accountid
string
业主编号
必填
ownername
string
业主姓名
必填
phone
string
手机号码
必填
sex
string
性别 0:女 1:男 2:未知
必填
roominfo
string
房间信息
必填
electinfo
string
电表信息
必填
watermeterinfo
string
水表信息
必填
createtime
string
创建时间
必填
isbindroom
string
是否绑定房间 0:未绑定 1:绑定
必填
isbinddevice
string
是否配表 0:未配 1:已配
必填
status
string
业主状态,为空表示全部,1:启用 3:禁用
必填
statusname
string
业主状态名称
必填

响应成功示例

{ "errcode":"0", "errmsg":"成功", "accountid":"1","ownername":"张三","phone":"13126356232","sex":"男","roominfo":"","electinfo":"", "watermeterinfo":"", "createtime":"2022-05-21 12:12:34" }

响应失败示例

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