- 加密模式
- EServiceVisitorResource
- 审批白名单接口
- 一卡通绑定接口信息
- h5菜单接口
- 用户信息
- 尊E享用户管理列表
- 预约讲解点位
- 讲解员管理
- 参观点位配置
- 预约讲解白名单
- 创建预约单
- h5 预约讲解接口
- h5预约讲解接口
- 缴费单接口
- 通知单设置
- 抄表点位
- app 接口 能源
- 费用设置
- 能源费用设置
- MServiceCenterResource
- 抄表计划
- 抄表任务
- app接口
- api
- 货梯登记
- 货梯记录
- h5货梯接口
- 访客管理.
- APP Token endpoint - used by the client to exchange an authorization grant for an
创建点位
POST
/ene004/save
请求参数
Body 参数application/json
id
integer | null
可选
code
string | null
编码
name
string | null
可选
buildingId
integer | null
点位的位置
floorId
integer | null
楼层
roomId
integer | null
房间
unit
string | null
单位
remarks
string | null
可选
initialValue
number | null
初始值
默认值:
0.0
multiple
integer | null
表倍数
meterClassification
enum<string> | enum<null>
表分类
枚举值:
ELECTRICITY_METERWATER_METER
meterType
enum<string> | enum<null>
表类型
枚举值:
ORDINARYINTELLIGENT
measurementType
enum<string> | enum<null>
计量类型
枚举值:
ORDINARYTIME_SHARING
buildingServiceId
integer | null
点位的位置
floorServiceId
integer | null
楼层
roomServiceId
integer | null
房间
leaseId
integer | null
可选
示例
{
"id": 0,
"code": "string",
"name": "string",
"buildingId": 0,
"floorId": 0,
"roomId": 0,
"unit": "string",
"remarks": "string",
"initialValue": "0.0",
"multiple": 0,
"meterClassification": "ELECTRICITY_METER",
"meterType": "ORDINARY",
"measurementType": "ORDINARY",
"buildingServiceId": 0,
"floorServiceId": 0,
"roomServiceId": 0,
"leaseId": 0
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://test-cn.your-api-server.com/ene004/save' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 0,
"code": "string",
"name": "string",
"buildingId": 0,
"floorId": 0,
"roomId": 0,
"unit": "string",
"remarks": "string",
"initialValue": "0.0",
"multiple": 0,
"meterClassification": "ELECTRICITY_METER",
"meterType": "ORDINARY",
"measurementType": "ORDINARY",
"buildingServiceId": 0,
"floorServiceId": 0,
"roomServiceId": 0,
"leaseId": 0
}'
返回响应
🟢200成功
application/json
Body
code
integer | null
可选
status
string | null
可选
values from 500-599, “error” is for statuses 400-499, and “success” is for everything else
(e.g. 1XX, 2XX and 3XX responses).
message
string | null
可选
data
object ()
可选
cause, or exception name.
resultMap
object (Map«Object»)
可选
key
object (key)
可选
示例
{
"code": 200,
"status": "",
"message": "",
"data": {},
"resultMap": {
"": {}
}
}
修改于 2024-04-15 08:25:17