Found 0 result in total
Content is empty
If you don't find the content you expect, please try another search term
Last updated:2021-07-16 15:32:00
You can call this operation to query the bill summary by billing mode. Note: You can query only the bills of the same month.
Parameter | Required | Type | Description |
---|---|---|---|
Action | Yes | String | The operation that you want to perform. Set the value to DescribeBillSummaryByPayMode . |
Version | Yes | String | The version number of the API operation. Set the value to 2020-01-01 . |
BillBeginMonth | Yes | String | The start month of the bill, which is in the format of YYYY-MM. |
BillEndMonth | Yes | String | The end month of the bill, which is in the format of YYYY-MM. You can query only the bills of the same month. |
Parameter | Type | Description |
---|---|---|
Currency | String | The currency type. Valid values: CNY and USD. |
RealTotalCost | String | The discounted amount. |
SummaryOverview | PayModeSummary array | The bill summary by billing mode, including Prepaid (at purchase), Pay-As-You-Go (hourly or daily), and Postpaid (monthly). |
RequestId | String | The ID of the request. |
https://bill-union.api.ksyun.com?Action=DescribeBillSummaryByPayMode&Version=2020-01-01&BillBeginMonth=2020-06&BillEndMonth=2020-06&Common request parameters
XML format
<PayModeSummaryResponse>
<RequestId>b976b3f2-5b8f-4217-8b15-5c2e9764ea41</RequestId>
<Currency>CNY</Currency>
<RealTotalCost>1111.2000</RealTotalCost>
<SummaryOverview>
<SummaryOverview>
<PayMode>Pay-As-You-Go</PayMode>
<RealTotalCost>145.2000</RealTotalCost>
<BillMonth>2020-06</BillMonth>
</SummaryOverview>
<SummaryOverview>
<PayMode>Postpaid</PayMode>
<RealTotalCost>966.0000</RealTotalCost>
<BillMonth>2020-06</BillMonth>
</SummaryOverview>
</SummaryOverview>
</PayModeSummaryResponse>
{
"RequestId": "a18b2452-cff8-4237-b46c-19bb4df36191",
"Currency": "CNY",
"RealTotalCost": "1111.2000",
"SummaryOverview": [
{
"PayMode": "Pay-As-You-Go",
"RealTotalCost": "145.2000",
"BillMonth": "2020-06"
},
{
"PayMode": "Postpaid",
"RealTotalCost": "966.0000",
"BillMonth": "2020-06"
}
]
}
Pure Mode