GET /api/billing/service-instance/{serviceInstanceId}/billed-usage

Operation:
GET /api/billing/service-instance/{serviceInstanceId}/billed-usage
Description:
Gets billed usage for the specified service instance for a given billing month; Usage is shown only for months for which the bill is generated. It includes details like bill duration, entity details, metric name, usage, unit, rate, currency and cost.

If query params are not specified, then it will default to 'month={last billed month}, year={last billed year} and level=self'.

Input parameters:

serviceInstanceId - the id of the service instance whose billed usage is to be fetched.
month - the billing month of billed usage.
year - the billing year of billed usage.
level - determines the data level. It's an enumeration, with possible values as
self : It will list billed usage of a given service instance
one : It will list service instance billed usage along with immediate child entities billed usage
Since:
5.7
Input parameters
Consume media type(s):
None
Input type:
None
Output parameters
the BilledUsageType

Produce media type(s):
application/json;class=com.vmware.vchs.billing.billedUsage;version=5.7
application/xml;class=com.vmware.vchs.billing.billedUsage;version=5.7
Output type:
BilledUsageType
Examples