[ https://issues.apache.org/jira/browse/CLOUDSTACK-8886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15865376#comment-15865376 ]
ASF GitHub Bot commented on CLOUDSTACK-8886: -------------------------------------------- Github user kishankavala commented on the issue: https://github.com/apache/cloudstack/pull/1939 LGTM API response: <usagerecord> <account>admin</account> <accountid>8c91c04e-f282-11e6-8a09-d4ae52cb9a54</accountid> <domainid>8c91ab6a-f282-11e6-8a09-d4ae52cb9a54</domainid> <domain>ROOT</domain> <zoneid>a6401f5b-b090-4a64-9d73-c04369d15ca8</zoneid> <description> VM-5e458101-b6a7-477e-9086-ee659ce0a700 running time (ServiceOffering: 1) (Template: 111) </description> <usage>0.12778 Hrs</usage> <usagetype>1</usagetype> <rawusage>0.12778</rawusage> <virtualmachineid>5e458101-b6a7-477e-9086-ee659ce0a700</virtualmachineid> <name>VM-5e458101-b6a7-477e-9086-ee659ce0a700</name> <offeringid>2b10fa98-c167-444f-b9c0-752611a9f267</offeringid> <templateid>02567d08-f283-11e6-8a09-d4ae52cb9a54</templateid> <usageid>5e458101-b6a7-477e-9086-ee659ce0a700</usageid> <type>Simulator</type> <startdate>2017-02-14'T'07:07:15+00:00</startdate> <enddate>2017-02-14'T'07:15:00+00:00</enddate> </usagerecord> > Limitations is listUsageRecords output - listUsageRecords does not return > "domain" > ---------------------------------------------------------------------------------- > > Key: CLOUDSTACK-8886 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8886 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Reporter: Kshitij Kansal > > Only domainid is returned by usageReports API call. > In cloudstack documention it mentions "domain" as being in the usage > response. The API should really be returning the domain as account > information has both account and accountid. -- This message was sent by Atlassian JIRA (v6.3.15#6346)