测试地址:/wit/chargeApi/queryCharge
正式地址:/wit/chargeApi/queryCharge
请求参数:
| 字段名称 | 说明 | 类型 | 示例 | 是否必传字段 |
| --- | --- | --- | --- | --- |
|path|请求地址|String|parkshare/query(固定)|是
|powerStationId|电站编号|long|9|是
>请求示例:
{"path":"parkshare/query","serverId":100780,"powerStationId":9}
签名方式sha1,加密字符串+secret,编码格式UTF-8
> 请求头:partType:"API-WIT" ,appId:"ad23f2345cb3443" ,sign:"612B54F2F30D0854DE55B6E7B71ABA66"
返回参数:
| 字段名称 | 说明 | 类型 | 示例 | 是否必传字段 |
| --- | --- | --- | --- | --- |
|code|状态码(200 成功 其他失败)|int|200|是
|message|返回信息|String|操作成功|是
|data|返回数据|Object||是
|data.powerProportion|电费比例|String|10|是
|data.unionId|主体编号 type1 厂商编号 2车场编号 3服务商编号|String|35807|是
|data.proportion|服务费分润比例|String|10|是
|data.powerStationId|电站id|long|9|是
|data.id|id|long|20|是
|data.type|类型 1厂商 2车场 3服务商|int|2|是
>返回示例:
{"code":200,"data":[{"powerProportion":"10","unionId":"35807","proportion":"10","powerStationId":9,"id":20,"type":2},{"powerProportion":"3","unionId":"100780","proportion":"2","powerStationId":9,"id":21,"type":2},{"powerProportion":"87","unionId":"100804","proportion":"88","powerStationId":9,"id":22,"type":2}],"message":"操作成功"}