文档
测试

添加/修改/删除小区

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

接口描述

添加/修改/删除小区

请求参数

参数名
类型
描述
必填
appid
string
系统分配给第三方的接入应用编码,示例:1234567890
必填
token
string
接入签名,示例:45879541235derderedew
必填
timestamp
string
时间戳,格式为:yyyymmddhhmmss,如:20200118122652
必填
opertoken
string
身份操作凭证
必填
opertype
string
操作类型 add:添加 edit:修改 delete:删除
必填
estinfo
必填
estid
string
小区编号,opertype为add时,可不填写,其余必须填写
可选
estname
小区名称,opertype为delete时,可不填写,其余必须填写
可选
esttypeid
小区类型编码,opertype为delete时,可不填写,其余必须填写
可选
provinceid
省份编码,opertype为delete时,可不填写,其余必须填写
可选
cityid
城市编码,opertype为delete时,可不填写,其余必须填写
可选
districtid
区域编码,opertype为delete时,可不填写,其余必须填写
可选
linkman
负责人名称
可选
linkphone
负责人电话
可选
wuyephone
物业电话
可选
address
小区地址
可选
housenum
小区户数
可选
comment
说明
可选

请求数据示例

{ "appid":"1234567890", "token":"45879541235derderedew", "timestamp":"20200118122613", "opertoken":"123456eerwdfe", "opertype":"edit", "estinfo":{ "estid":"1","estname":"实验小区", "esttypeid":"1", "provinceid":"12", "cityid":"1201", "districtid":"120101", "linkman":"刘先生", "linkphone":"13258965896", "wuyephone":"0731-88569652", "address":"", "housenum":"200", "comment":""} }

响应参数

参数名
类型
描述
必填
errcode
string
错误代码,示例:0
必填
errmsg
string
错误信息,示例:成功
必填

响应成功示例

{ "errcode":"0", "errmsg":"成功" }

响应失败示例

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