测试地址:/wit/chargeApi/queryCharge
正式地址:/wit/chargeApi/queryCharge
| 字段名称 | 说明 | 类型 | 示例 | 是否必传字段 |
| --- | --- | --- | --- | --- |
|path|请求地址|String|chargepile/update(固定)|是
|chargeCode|充电桩编码(固定14位)|String|00010012100045|是
|equipmentType|设备类型|String|小蓝|是
|freightBasis|计费标准id|long|34|是
|gunType|充电枪类型 0单枪,1双枪|int|0l是
|power|功率(kw)|String|7.00|是
|type|充电桩类型 0汽车交流桩 1汽车直流桩 2电单车交流桩|int|0|是
|carNum|车位类型编号|String|k342|否
|state|运营状态 0 启用 1 停用 2删除|int|0|否
>请求示例:
{"path":"chargepile/update","id":142,"chargeCode":"00010012100041","comid":35480,"carNum":"k3422","freightBasis":"143","equipmentType":"小蓝","type":0,"power":"7.00","gunType":0,"state":0}
签名方式sha1,加密字符串+secret,编码格式UTF-8
> 请求头:partType:"API-WIT" ,appId:"ad23f2345cb3443" ,sign:"612B54F2F30D0854DE55B6E7B71ABA66"
返回参数:
| 字段名称 | 说明 | 类型 | 示例 | 是否必传字段 |
| --- | --- | --- | --- | --- |
|code|状态码|int|200|是
|message|返回信息|String|操作成功|是
>返回示例
{"code":200,"message":"操作成功"}