测试地址:/wit/chargeApi/queryCharge
正式地址:/wit/chargeApi/queryCharge
| 字段名称 | 说明 | 类型 | 示例 | 是否必传字段 |
| --- | --- | --- | --- | --- |
|path|请求地址|String|chargePileSocket/startCharge(固定)|是
|pileNo|充电桩编码|String|00010012100074|是
|phone|用户联系电话|String|15189890978|是
|carNumber|车牌号|String|粤BD12345|否
|openId|微信用户唯一编号|String||是
|gunNo|充电枪号|String|00010012100074001|是
>请求示例:
{"path":"/chargePileSocket/startCharge","serverId":100780,"pileNo":"123131123123123","phone":"12312111123","carNumber":"粤BD12345","openId":"sd8Ydf0ksflsj900akhja","pileNo":"123131123123123001"}
签名方式sha1,加密字符串+secret,编码格式UTF-8
> 请求头:partType:"API-WIT" ,appId:"ad23f2345cb3443" ,sign:"612B54F2F30D0854DE55B6E7B71ABA66"
返回参数:
| 字段名称 | 说明 | 类型 | 示例 | 是否必传字段 |
| --- | --- | --- | --- | --- |
|code|状态码|int|200|是
|message|返回信息|String|远程启动充电请求成功|是
|data|返回数据|JSONObject||是
|data.orderId|指令id|Long|32|是
|data.orderNum|订单流水号|String|123131123123123202208091230|是
>返回示例:
{"code":200,"message":"远程启动充电成功!",data:{"orderId":32,"orderNum":"123131123123123202208091230"}}