ChargingStationHTTPAPI
  1. 充电口管理
ChargingStationHTTPAPI
  • 桩企接入流程请先读我
  • 站点数据管理
    • 充电站管理
      • 提交一个充电站信息
      • 删除一个充电站信息
      • 修改一个充电站信息
      • 分页查询多个充电站信息列表
    • 充电设施管理
      • 提交一个充电设施信息
      • 删除一个充电设施信息
      • 修改一个充电设施信息
      • 分页查询多个充电设施信息列表
    • 充电口管理
      • 提交一个充电口信息
        POST
      • 删除一个充电口信息
        DELETE
      • 修改一个充电口信息
        PUT
      • 分页查询多个充电口信息列表
        GET
  • 实时数据上报
    • 上报回调地址管理
      • 修改上报失败回调地址
      • 删除上报失败回调地址
      • (运营商实现该接口)处理上报失败
      • 修改查询充电口实时数据回调地址
      • 修改请求上报充电过程数据地址
      • (运营商实现该接口)处理请求上报充电过程数据
    • 上报充电口实时信息
      POST
    • 重新上报充电口实时信息
      POST
    • 上报充电口实时信息列表
      POST
  • 运营数据管理
    • 充电记录管理
      • 提交一个充电记录信息
      • 分页查询多个充电记录信息列表
      • 提交充电记录信息列表
  • 安全预警管理
    • 安全预警请先读我
    • 修改安全预警回调地址
      PUT
    • (桩企实现)安全预警接口举例
      POST
  • 获取运营商operator token
    GET
  1. 充电口管理

提交一个充电口信息

开发中
POST
/platform/management/cell

请求参数

Header 参数
Datetime
string 
必需
调用接口的时间 yyyy-MM-dd HH:mm:ss
示例值:
2022-02-28 13:45:04
OperatorId
string 
运营商 id
必需
示例值:
运营商 id
Token
string 
必需
调用 /platform/management/operatorAPIToken 的返回结果
示例值:
平台分发的 token
Signature
string 
必需
详见 /platform/management/operatorAPIToken,用户身份签名,对字符串"datetime: yyyy-MM-dd HH:mm:ss\noperatorid: thisisanoperatorid\ntoken: thisisantoken" 的 HMAC 散列的 base64 编码
示例值:
用户身份签名
Body 参数application/json
cellId
string 
充电设备接口ID
必需
充电设备接口编码,同一运营商内唯一
equipmentId
string 
所属充电设施ID
必需
设备唯一编码,对同一运营商,保证唯一
operatorId
string 
所属运营商ID
必需
所属运营商ID
cellType
integer 
充电设备接口类型
必需
1:家用插座
2:直流接口插头
3:交流接口插头
4:无线充电座
5:其他
cellStandard
string 
接口标准
必需
遵循的国标号
ratedVoltageUpperLimit
number 
额定电压上限
必需
单位:V保留小数点后一位
ratedVoltageLowerLimit
number 
额定电压下限
必需
单位:V保留小数点后一位
ratedCurrent
number 
额定电流
必需
单位:A保留小数点后一位
ratedPower
number 
额定功率
必需
单位:kW保留小数点后一位
electricityFee
string 
充电电费率描述
必需
充电费描述
serviceFee
string 
服务费率
必需
服务费率描述
fireControl
integer 
是否有灭火装置
必需
1:是
2:否
3:未知
smokeSensation
integer 
是否有烟感
必需
1:是
2:否
3:未知
示例
{
    "cellId": "95",
    "equipmentId": "37",
    "operatorId": "99",
    "cellType": 5,
    "cellStandard": "nisi exercitation qui ullamco",
    "ratedVoltageUpperLimit": 29,
    "ratedVoltageLowerLimit": 19,
    "ratedCurrent": 55,
    "ratedPower": 81,
    "electricityFee": "文山壮族苗族自治州",
    "serviceFee": "ad in esse deserunt elit",
    "fireControl": 97,
    "smokeSensation": 46
}

示例代码

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/management/cell' \
--header 'Datetime: 2022-02-28 13:45:04' \
--header 'OperatorId: 运营商 id' \
--header 'Token: 平台分发的 token' \
--header 'Signature: 用户身份签名' \
--header 'Content-Type: application/json' \
--data-raw '{
    "cellId": "95",
    "equipmentId": "37",
    "operatorId": "99",
    "cellType": 5,
    "cellStandard": "nisi exercitation qui ullamco",
    "ratedVoltageUpperLimit": 29,
    "ratedVoltageLowerLimit": 19,
    "ratedCurrent": 55,
    "ratedPower": 81,
    "electricityFee": "文山壮族苗族自治州",
    "serviceFee": "ad in esse deserunt elit",
    "fireControl": 97,
    "smokeSensation": 46
}'

返回响应

🟢200成功
application/json
Body
status
integer 
必需
message
string 
必需
data
string 
必需
示例
{
    "status": 200,
    "message": "请求成功!",
    "data": "提交成功!"
}
修改于 2022-03-30 09:28:40
上一页
分页查询多个充电设施信息列表
下一页
删除一个充电口信息
Built with