Apache CloudStack v4.3.0 Domain Admin API Reference
listUsageRecords
Lists usage records for accounts
Request parameters
| Parameter Name | Description | Required |
| enddate | End date range for usage record query. Use yyyy-MM-dd as the date format, e.g. startDate=2009-06-03. | true |
| startdate | Start date range for usage record query. Use yyyy-MM-dd as the date format, e.g. startDate=2009-06-01. | true |
| account | List usage records for the specified user. | false |
| accountid | List usage records for the specified account | false |
| domainid | List usage records for the specified domain. | false |
| keyword | List by keyword | false |
| page | false | |
| pagesize | false | |
| projectid | List usage records for specified project | false |
| type | List usage records for the specified usage type | false |
Response Tags
| Response Name | Description |
| account | the user account name |
| accountid | the user account Id |
| description | description of the usage record |
| domain | the domain the resource is associated with |
| domainid | the domain ID |
| enddate | end date of the usage record |
| isdefault | True if the resource is default |
| issourcenat | True if the IPAddress is source NAT |
| issystem | True if the IPAddress is system IP - allocated during vm deploy or lb rule create |
| name | virtual machine name |
| networkid | id of the network |
| offeringid | offering ID |
| project | the project name of the resource |
| projectid | the project id of the resource |
| rawusage | raw usage in hours |
| size | resource size |
| startdate | start date of the usage record |
| templateid | template ID |
| type | resource type |
| usage | usage in hours |
| usageid | id of the resource |
| usagetype | usage type ID |
| virtualmachineid | virtual machine ID |
| virtualsize | virtual size of resource |
| zoneid | the zone ID |