测试地址:/wit/chargeApi/queryCharge
正式地址:/wit/chargeApi/queryCharge
请求参数:
| 字段名称 | 说明 | 类型 | 示例 | 是否必传字段 |
| --- | --- | --- | --- | --- |
|path|请求地址|String|powerStation/add(固定)|是
|address|地址|String||是
|name|电站名称|String|测试电站|是
|phone|联系电话|String|13131321231|是
|updateBy|新增/修改用户|String|xxx服务商|是
|isBalanceJudgment|是否判断查询余额 0不判断 1判断|String|0|是
>请求示例:
{"path":"powerStation/add","serverId":100780,"address":"xxxxxxx","comid":"35804","name":"测试电站","phone":"13131321231","updateBy":"测试服务商","isBalanceJudgment":1}
签名方式sha1,加密字符串+secret,编码格式UTF-8
> 请求头:partType:"API-WIT" ,appId:"ad23f2345cb3443" ,sign:"612B54F2F30D0854DE55B6E7B71ABA66"
返回参数:
| 字段名称 | 说明 | 类型 | 示例 | 是否必传字段 |
| --- | --- | --- | --- | --- |
|code|状态码|int|200|是
|message|返回信息|String|操作成功|是
|data||Long|主键id|是
>返回示例
{"code":200,"message":"操作成功","data":567}