@rzzx
2016-12-07T01:15:16.000000Z
字数 1283
阅读 631
NetWork
文档中主机名需要参考以下配置:
内网:http://192.168.5.197:8082/rpc
外网:未定
URL
/device.do
示例URL
请求参数
| 参数 | 必选 | 类型 | 说明 |
|---|---|---|---|
| authkey | true | string | 由authkey接口获取 |
| formAction | true | string | 设置固定值为device |
| device | true | string | 设备ID |
| clientId | true | string | CID |
| locate | false | String | 地区 |
响应数据
/*成功响应*/{"status":200}/*错误响应*/没有数据/*错误响应*/{"status":503}/*错误响应*/{"status":-2} //authkey失效/*错误响应*/{"status":500,"message":"system error."}
URL
/device.do
示例URL
备注:此删除操作为不可恢复操作
请求参数
| 参数 | 必选 | 类型 | 说明 |
|---|---|---|---|
| authkey | true | string | 由authkey接口获取 |
| formAction | true | string | 设置固定值为deviceDelete |
| deviceId | true | string | 设备ID |
| locate | false | String | 地区 |
响应数据
/*成功响应*/{"status":200}/*错误响应*/没有数据/*错误响应*/{"status":503}/*错误响应*/{"status":-2} //authkey失效/*错误响应*/{"status":500,"message":"system error."}
响应数据
/*成功响应*/{"alarm_id":11281,"itemseq":1,"status":1,"groupName":"nihao","taskName":"nihao","message":"nihao","targetType":41,"time":11432345435}/*错误响应*/没有数据/*错误响应*/{"status":503}/*错误响应*/{"status":-2} //authkey失效/*错误响应*/{"status":500,"message":"system error."}