List monthly usage summary per reporting group
GET https://{{host}}/billing/v1/reporting-groups/:reportingGroupId/products/:productId/usage/monthly-summary?start={{start}}&end={{end}}
Returns monthly usage summary details of the specified reporting group and product for the selected time frame. If you have products that are billed geographically, you can see monthly usage statistics by region.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
start | string | (Required) The start (inclusive) of the billable usage period, expressed as an ISO 8601 datestamp (YYYY-MM). | |
end | string | (Required) The end (exclusive) of the billable usage period, expressed as an ISO 8601 datestamp (YYYY-MM). | |
accountSwitchKey | string | (Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"accountId":"A-CCT9012","contractId":"C-0N7RAC71","end":"2020-09","productId":"1-ABC012","productName":"Web Application Accelerator","reportingGroupId":782312,"reportingGroupName":"RG #782312","requestDate":"2020-10-15T00:00:00Z","start":"2020-07","usagePeriods":[{"cpCodes":[7563521,7563521,7563521,1234567],"dataStatus":"DATA_FINALIZED","end":"2017-07-31","month":"2020-07","region":"GLOBAL","start":"2017-07-01","stats":[{"statType":"Total MB","unit":"GB","value":30.3},{"statType":"Total Hits","unit":"Total Hits","value":22}]},{"cpCodes":[13243546,7563521,1234567,7651234],"dataStatus":"COLLECTING_DATA","end":"2020-08-15","month":"2020-08","region":"GLOBAL","start":"2020-08-01","stats":[{"statType":"Total MB","unit":"GB","value":300.3},{"statType":"Total Hits","unit":"Total Hits","value":55}]},{"cpCodes":[7654321,7563521,13243546,7651234],"dataStatus":"COLLECTING_DATA","end":"2020-08-31","month":"2020-08","region":"GLOBAL","start":"2020-08-16","stats":[{"statType":"Total MB","unit":"GB","value":300.3},{"statType":"Total Hits","unit":"Total Hits","value":55}]}]}