測試地址:/wit/chargeApi/queryCharge
正式地址:/wit/chargeApi/queryCharge
請求參數:
| 字段名稱 | 說明 | 類型 | 示例 | 是否必傳字段 |
| --- | --- | --- | --- | --- |
|path|請求地址|String|parkshare/addAndUpdate(固定)|是
|powerStationId|電站編號|long|49|是
|data.volist|分潤列表 proportion服務分潤比例 powerProportion電費分潤比例 type類型 1廠商 2車場 3 服務商 unionId 主體id |array|[{"proportion":"50","powerProportion":"100","type":2,"unionId":35804},{"unionId":"100780","type":3,"proportion":"50","powerProportion":0}]|是
>請求示例:
{"volist":[{"proportion":"50","powerProportion":"100","type":2,"unionId":35804},{"unionId":"100780","type":3,"proportion":"50","powerProportion":0}],"powerStationId":49,"path":"parkshare/addAndUpdate","serverId":100780}
簽名方式sha1,加密字符串+secret,編碼格式UTF-8
> 請求頭:partType:"API-WIT" ,appId:"ad23f2345cb3443" ,sign:"612B54F2F30D0854DE55B6E7B71ABA66"
返回參數:
| 字段名稱 | 說明 | 類型 | 示例 | 是否必傳字段 |
| --- | --- | --- | --- | --- |
|code|狀態碼|int|200|是
|message|返回信息|String|操作成功|是
>返回示例
{"code":200,"message":"操作成功"}