GetBillingReportList4NearlyYear【获取租户最近1年的消费信息】¶
获取租户最近1年的消费信息
Request Parameters
Parameter name | Type | Description | Required |
---|---|---|---|
action | String | API 标识符 | Yes |
Response Elements
Name | Type | Description |
---|---|---|
message | String | 执行结果信息 |
code | Integer | HTTP Resonpe响应状态码 |
data | Array | JSON 格式的账单消费信息列表,每项参数可见下面 Data Item |
Data Item
Name | Type | Description |
---|---|---|
bill_month | String | 月份账单 |
total | String | 每月消费总额 |
Example
Example Request:
Request Headers:
POST /api/ HTTP/1.1
Origin: https://console.plcloud.com
X-CSRFToken: 6An6xEuOJqW6dVDtlgzZr6FqgkSbJmqp
Content-Type: application/json
JSON Data:
{
"action": "GetBillingReportList4NearlyYear"
}
Example Response:
{
"message": "成功",
"code": 200,
"data": [
{
"bill_month": "2014-02",
"total": "0.00"
},
{
"bill_month": "2014-03",
"total": "0.00"
},
{
"bill_month": "2014-04",
"total": "0.00"
},
{
"bill_month": "2014-05",
"total": "0.00"
},
{
"bill_month": "2014-06",
"total": "0.00"
},
{
"bill_month": "2014-07",
"total": "0.00"
},
{
"bill_month": "2014-08",
"total": "0.00"
},
{
"bill_month": "2014-09",
"total": "0.00"
},
{
"bill_month": "2014-10",
"total": "0.00"
},
{
"bill_month": "2014-11",
"total": "0.00"
},
{
"bill_month": "2014-12",
"total": "0.00"
},
{
"bill_month": "2015-01",
"total": "7.9675"
}
]
}