测试地址:/wit/chargeApi/queryCharge
正式地址:/wit/chargeApi/queryCharge
| 字段名称 | 说明 | 类型 | 示例 | 是否必传字段 |
| --- | --- | --- | --- | --- |
|path|请求地址|String|chargepile/add(固定)|是
|chargeCode|充电桩编码/设备序列号(固定14位)|String|00010012100045|是
|chargeName|充电桩名称|String|1桩|是
|powerStationId|所属电站id|Long|8|是
|gunType|充电枪数量|int|1|是
|power|功率(kw)|String|7.00|是
|type|充电桩类型 0汽车交流桩 1汽车直流桩 2电单车交流桩|int|0|是
>请求示例
{"path":"chargepile/add","chargeCode":"00010012100045","chargeName":"1桩","powerStationId":8,"gunType":0,"power":"7.00","type":0}
签名方式sha1,加密字符串+secret,编码格式UTF-8
> 请求头:partType:"API-WIT" ,appId:"ad23f2345cb3443" ,sign:"5c8f25bf6b677193ff8f8277bb595232c8b924c1"
返回参数
| 字段名称 | 说明 | 类型 | 示例 | 是否必传字段 |
| --- | --- | --- | --- | --- |
|code|状态码 (200成功 其他失败)|int|200|是
|message|返回信息|String|操作成功|是
|data||Long|主键id|是
>返回示例
{
"code": 200,
"message": "操作成功",
"data":567
}