mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
33 lines
1.4 KiB
XML
33 lines
1.4 KiB
XML
<section id="example-response-from-listUsageRecords">
|
|
<title>Example response from listUsageRecords</title>
|
|
<para>
|
|
All CloudStack API requests are submitted in the form of a HTTP GET/POST with an associated command and any parameters. A request is composed of the following whether in HTTP or HTTPS:</para>
|
|
|
|
<programlisting>
|
|
<listusagerecordsresponse>
|
|
<count>1816</count>
|
|
<usagerecord>
|
|
<account>user5</account>
|
|
<accountid>10004</accountid>
|
|
<domainid>1</domainid>
|
|
<zoneid>1</zoneid>
|
|
<description>i-3-4-WC running time (ServiceOffering: 1) (Template: 3)</description>
|
|
<usage>2.95288 Hrs</usage>
|
|
<usagetype>1</usagetype>
|
|
<rawusage>2.95288</rawusage>
|
|
<virtualmachineid>4</virtualmachineid>
|
|
<name>i-3-4-WC</name>
|
|
<offeringid>1</offeringid>
|
|
<templateid>3</templateid>
|
|
<usageid>245554</usageid>
|
|
<type>XenServer</type>
|
|
<startdate>2009-09-15T00:00:00-0700</startdate>
|
|
<enddate>2009-09-18T16:14:26-0700</enddate>
|
|
</usagerecord>
|
|
|
|
… (1,815 more usage records)
|
|
</listusagerecordsresponse>
|
|
</programlisting>
|
|
</section>
|
|
|