Generate a Services Usage Report
You view your monthly VMware Cloud services usage for your organization in the form of a consolidated billing report. You can generate reports for current accrued costs and charges for up to six months.
Prerequisites
- You have the Provider Administrator, the Provider Billing User, or the Customer Administrator role in your VMware Cloud Partner Navigator organization.
- You have at least one active cloud service in your organization.
- Obtain an access token from your organization and
set it as the
csp-auth-token
request header. See Using VMware Cloud Partner Navigator APIs.
Procedure
Results
The response returns raw usage billing data for the services in the specified organization and timeframe.
Example: View Customer Usage Report
This example generates a raw usage report for a selected customer.
Generate the raw usage
report.
GET https://console.navigator.vmware.com/cphub/api/billing/v1/orgs/00dcd47b-867d-46a1-b5ac-c9c22a4427cb/usage-report?startTime=1536856769&endTime=1538411969&tenantId=73338bcc-17e0-4480-9d25-f654532a1ee0
You receive a response with the raw usage data from the
specified organization and time
period.
Status 200 OK [ { "createTimestamp": 1568178851354, "updateTimestamp": 1568180410978, "orgId": "...", "orgName": "Coke", "services": [ { "serviceDefId": "...", "serviceName": "VMware Cloud on AWS", "serviceDescription": "VMware Cloud on AWS - prod", "serviceUsageAmount": 0.0, "serviceBillableUsageAmount": 0.0, "subscriptions": [ { "sid": "...", "subscriptionUuid": "...", "skuData": { "skus": [], "pageSize": 0 }, "subscriptionStartTime": 1528386976000, "subscriptionEndTime": 0, "anniversaryBillingTime": 0, "status": "ACTIVE", "subscriptionType": "ON_DEMAND" } ] }, { "serviceDefId": "...", "serviceName": "VMware Log Intelligence", "serviceDescription": "log-intelligence", "serviceUsageAmount": 0.0, "serviceBillableUsageAmount": 0.0, "subscriptions": [ { "sid": "...", "subscriptionUuid": "...", "skuData": { "skus": [], "pageSize": 0 }, "subscriptionStartTime": 1534465763000, "subscriptionEndTime": 0, "anniversaryBillingTime": 0, "status": "ACTIVE", "subscriptionType": "ON_DEMAND" } ] } ], "orgUsageAmount": 0.0, "orgBillableUsageAmount": 0.0 } ]
What to do next
Download the generated billing statement.