I'm new to this Chargeback JAVA API.
What I wanted was to create/generate a report without having to provide a hierarchy id or entity id.
It's like more of a dump report for all the hierarchies and entities managed by the Chargeback server.
Chargeback reports are tied to a entity or set of entities (which in turn tied to an hierarchy). Hence generating a report without hierarchy & entity id is not possible. If your intent is get a report for all the hierarchies (and its entities), you can write a program to iterate through all the chargeback hierarchies and generate report for those hierarchies.
I would be doing something like this then... :smileyconfused:
HierarchyManagerImpl hm = HierarchyManagerImpl.getInstance();
List hierarchiesList = hm.getAllHierarchies(cbClient);
// HierarchyEntitiesType entityType = hierarchiesList [n].getEntities()
How do I determine if this "entity" is a "vCenter Server entity" and not "vCenter Chargeback Manager entity"?
Im quite confused on the following classes and please confirm if getting the steps for getting the attribute value is correct:
Thanks heaps for any help. :smileyconfused: