测试地址:/wit/chargeApi/queryCharge
正式地址:/wit/chargeApi/queryCharge
请求参数:
| 字段名称 | 说明 | 类型 | 示例 | 是否必传字段 |
| --- | --- | --- | --- | --- |
|path|请求地址|String|billingSettings/update(固定)|是
|id|计费模型编号|long|145|是
|name|计费模型名称|String|测试12.20|是
|data.feesStandard|收费标准 type 尖0峰1平2谷3 cfee 电费 sfee服务费 stime [小时:分钟] strTime: 0 代表00:00 ,30代表00:30 ,1030 代表 10:30|Array|\[{\\"type\\":0,\\"cfee\\":\\"1.00\\",\\"sfee\\":\\"1.00\\",\\"stime\\":\[\\"00\\",\\"00\\"\],\\"strTime\\":0}\]|是
>请求示例:
{"data":{"path":"billingSettings/update","name":"测试计费模型","serverId":100780,"id":145,"feesStandard":[{"type":0,"cfee":"1.00","sfee":"1.00","stime":["00","00"],"strTime":0}]},"sign":"0282D45BCBACE6BF2DCC3D8B313D083A"}
签名方式sha1,加密字符串+secret,编码格式UTF-8
> 请求头:partType:"API-WIT" ,appId:"ad23f2345cb3443" ,sign:"612B54F2F30D0854DE55B6E7B71ABA66"
返回参数:
| 字段名称 | 说明 | 类型 | 示例 | 是否必传字段 |
| --- | --- | --- | --- | --- |
|code|状态码|int|200|是
|message|返回信息|String|操作成功|是
>返回示例
{"code":200,"message":"操作成功"}