Blogs

Cisco Technology Developer Partners,

Cisco is proud to announce the availability of our Cisco Unified Communications System Release 8.6 Not-For-Resale software bundle on Cisco Marketplace (Partner Login Required).

To purchase the latest Unified Communications NFR Software bundle
- Navigate to Cisco Marketplace
- Login using your Cisco.com UserID ...Read More

 



REMINDER! CDN DEVELOPER TECHNICAL SESSION TRACK AT CISCO LIVE LONDON, JANUARY 31 through FEBRUARY 2, 2011
...Read More

 



Cisco Developer Network will be presenting a CDN Developer Track at Cisco Live! London the week of January 31, 2011.

We are presenting technical sessions which highlight Application Programming interfaces (APIs) and Software Developer Kits (SDKs) for Cisco technologies such as Unified Communications, IOS, and Access Routing Technologies ¿ including the new Cisco Cius ...Read More

 

Showing 3 results.

Forums

« Back to Discussion

ReportingService - getCapacityReport method

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Hi,
Has anyone successfully generated a capacity report using the MP API?
I have the following code but it is throwing a SoapException - javax.xml.ws.soap.SOAPFaultException: Index: 0, Size: 0.

CapacityReportCriteriaBean cr = new CapacityReportCriteriaBean();
 //1st Sept 2012
cr.setStartInSeconds(1346457600);
 //21st Sept 2012
cr.setEndInSeconds(1348185600);       
ArrayOfInt nodes = new ArrayOfInt();
nodes.getInt().add(0);
QName qn = new QName([http://reports.businesslayer.meetingplace.cisco.com, "getCapacityReport");
JAXBElement nodeCol = new JAXBElement(qn,ArrayOfInt.class, nodes);
cr.setNodeIds(nodeCol);
CapacityReportBean capReport = reportService.getCapacityReport(cr);
 
 
Any Ideas what is causing the SoapException??

Additionally the API method to generate the Capacity Report does not account for the same paramters as GUI.
GUI Parameters
A. Report Type
B. Nodes
C. StartDate and Time
D. EndDate and Time
API Parameters (CapacityReportCriteriaBean)
A. Nodes
B. StartDate and Time
C. EndDate and Time
As you can see the API method does not account for the report type - Also the Nodes parameter for the API is an array of integers,
How can I specify the value "System" as is allowed on the GUI.          

Collateral


No files available