- 桩企接入流程请先读我
- 站 点数据管理
- 实时数据上报
- 运营数据管理
- 安全预警管理
- 获取运营商operator tokenGET
上报充电口实时信息列表
开发中
POST
/platform/report/chargingMetaInfoList
http-api/platform/实时数据上报
请求参数
Header 参数
Datetime
string
必需
示例值:
2022-02-28 13:45:04
OperatorId
string
运营商 id
示例值:
运营商 id
Token
string
必需
示例值:
平台分发的 token
Signature
string
必需
示例值:
用户身份签名
Body 参数application/json
array of:
cellId
string
充电设备接口ID
equipmentId
string
充电设备ID
operatorId
string
运营商ID
chargingMetaInfoId
string | null
平台生成的id,不用填写,仅在失败回调时需要填写
updateDatetime
string
本次数据在充电桩硬件上生成上报的时间
cellStatus
number
充电设备接口状态
1:空闲
2:占用(未充电)
3:占用(充电中)
4:占用(预约锁定)
5:占用(充电完成)
255:故障
doorStatus
number
柜门状态
10:关闭
50:打开
errorCode
number
故障代码
1002:设备未回复错误状态;1003:电表故障
1004:设备故障;1005:欠压告警
1006:过压告警;1007:过流保护
1008:离线告警;1009:漏电流异常告警
1010:输出短路告警;1011:电表异常
1012:无效回应;1013:无效参数
1014:接收超时;1015:过温报警
1016:超过最大功率;1017:设备离线
2001:BID错误;2002:风扇故障
2003:风扇信号故障;2004:电源模块故障
2005:电源模块校准错误;2006:ACC故障
2007:高温报警;2008:烟雾报警
2009:电流波动异常;2010:电流采样故障
2011:电源故障;2012:测试模块失败
2013:测试继电器故障;2014:测试风扇异常
2015:测试开门失败;2016:测试温度异常
2017:异常开门;2018:门锁故障
2019:电池拔出;2020:回应失效
2021:未知类型电池;2022:电池未连接
2023:开门失败;2024:无此订单
2025:充电电压小于电池电压;2026:充电故障
2027:电池电压小于充电电压;2028:电池未连接
2029:恒流阶段电压异常;2030:恒压阶段电流异常
2031:禁止充电时段;2033:订单无效
2034:设备繁忙;2035:初始状态
2036:灭火装置报警
current
number
电流
voltage
number
电压
power
number
功率
quantity
number
单次累积电量
envTemperature
number
实时环境温度
cirTemperature
number
实时线路温度
residualCurrent
number
剩余电流
startChargeSeq
string | null
充电订单号
receivedByPlatformDatetime
string | null
平台接收到上报数据时间
示例
[
{
"cellId": "testcellid001",
"equipmentId": "testequipmentid001",
"operatorId": "sika01",
"updateDatetime": "1979-04-09 14:58:28",
"cellStatus": 2,
"errorCode": 1000,
"current": 98.1,
"voltage": -43,
"power": 96.11,
"quantity": 75,
"envTemperature": 62,
"doorStatus": 10,
"cirTemperature": 27,
"receivedByPlatformDatetime": null,
"startChargeSeq": null,
"residualCurrent": 53.111,
"chargingMetaInfoId": null
},
{
"cellId": "testcellid001",
"equipmentId": "testequipmentid001",
"operatorId": "sika01",
"updateDatetime": "1979-04-09 14:58:28",
"cellStatus": 2,
"errorCode": 1000,
"current": 98.1,
"voltage": -43,
"power": 96.11,
"quantity": 75,
"envTemperature": 62,
"doorStatus": 10,
"cirTemperature": 27,
"receivedByPlatformDatetime": null,
"startChargeSeq": null,
"residualCurrent": 53.111,
"chargingMetaInfoId": null
}
]
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/platform/report/chargingMetaInfoList' \
--header 'Datetime: 2022-02-28 13:45:04' \
--header 'OperatorId: 运营商 id' \
--header 'Token: 平台分发的 token' \
--header 'Signature: 用户身份签名' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"cellId": "testcellid001",
"equipmentId": "testequipmentid001",
"operatorId": "sika01",
"updateDatetime": "1979-04-09 14:58:28",
"cellStatus": 2,
"errorCode": 1000,
"current": 98.1,
"voltage": -43,
"power": 96.11,
"quantity": 75,
"envTemperature": 62,
"doorStatus": 10,
"cirTemperature": 27,
"receivedByPlatformDatetime": null,
"startChargeSeq": null,
"residualCurrent": 53.111,
"chargingMetaInfoId": null
},
{
"cellId": "testcellid001",
"equipmentId": "testequipmentid001",
"operatorId": "sika01",
"updateDatetime": "1979-04-09 14:58:28",
"cellStatus": 2,
"errorCode": 1000,
"current": 98.1,
"voltage": -43,
"power": 96.11,
"quantity": 75,
"envTemperature": 62,
"doorStatus": 10,
"cirTemperature": 27,
"receivedByPlatformDatetime": null,
"startChargeSeq": null,
"residualCurrent": 53.111,
"chargingMetaInfoId": null
}
]'
返回响应
🟢200成功
application/json
Body
status
integer
必需
message
string
必需
data
string
必需
示例
{
"status": 200,
"message": "请求成功!",
"data": "上报成功"
}
修改于 2022-05-28 08:39:23