<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>ReportingService - getCapacityReport method</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=6994791" />
  <subtitle>ReportingService - getCapacityReport method</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=6994791</id>
  <updated>2013-05-22T14:40:34Z</updated>
  <dc:date>2013-05-22T14:40:34Z</dc:date>
  <entry>
    <title>RE: ReportingService - getCapacityReport method</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7058551" />
    <author>
      <name>Enda McManemy</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7058551</id>
    <updated>2012-09-26T08:32:46Z</updated>
    <published>2012-09-25T14:00:50Z</published>
    <summary type="html">Additionally the API method to generate the Capacity Report does not account for the same paramters as GUI. 
[u]GUI Parameters[/u] 
A. Report Type 
B. Nodes 
C. StartDate and Time 
D. EndDate and Time 
[u]API Parameters (CapacityReportCriteriaBean)[/u] 
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.          </summary>
    <dc:creator>Enda McManemy</dc:creator>
    <dc:date>2012-09-25T14:00:50Z</dc:date>
  </entry>
  <entry>
    <title>ReportingService - getCapacityReport method</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6994790" />
    <author>
      <name>Enda McManemy</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6994790</id>
    <updated>2012-09-26T08:30:44Z</updated>
    <published>2012-09-24T15:06:34Z</published>
    <summary type="html">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. 
[color=#808080] 
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); 
[/color]   
 
Any Ideas what is causing the SoapException??</summary>
    <dc:creator>Enda McManemy</dc:creator>
    <dc:date>2012-09-24T15:06:34Z</dc:date>
  </entry>
</feed>

