测试地址:/wit/chargeApi/queryCharge
正式地址:/wit/chargeApi/queryCharge
| 字段名称 | 说明 | 类型 | 示例 | 是否必传字段 |
| --- | --- | --- | --- | --- |
|path|请求地址|String|chargeOrder/synOrderStatus(固定)|是
|orderNo|充电订单流水号|String|20130142020105202208171450200000|是
|openId|用户唯一编号|String|oKg4jDlq6RVC1BqSSUNhA8|是
|powerStationId|电站id|String|1|是
>请求示例:
{"orderNo":20130142020105202208171450200000,"path":"chargeOrder/synOrderStatus","openId":"oKg4jDlq6RVC1BqSSUNhA8","powerStationId":1}
请求头:partType:"API-WIT" ,appId:"ad23f2345cb3443" ,sign:"612B54F2F30D0854DE55B6E7B71ABA66"
签名方式sha1,加密字符串+secret,编码格式UTF-8
返回参数:
| 字段名称 | 说明 | 类型 | 示例 | 是否必传字段 |
| --- | --- | --- | --- | --- |
|code|状态码 200 成功 其他失败|int|200|是
|message|返回信息|String|操作成功|是
|data|返回参数|JSONObject||否
>返回示例:{
"status": 200,
"msg": 操作"成功"
}