SOAP API - getChart
The table summarizes the SOAP API - getChart.
Request | Uses the getChartRequest element (from the EventCollectorReportService schema). | ||||||||||
Parameter notes |
Attributes Some of the parameters above require an attribute name. The allowable attributes depends on the type of data displayed in the chart. The following links provide lists of attributes for each type of data:
|
||||||||||
Response | Returns a getChartResponse element (from the EventCollectorReportService schema). | ||||||||||
Example | Request:
<soapenv:Body>
<api:getChartRequest>
<base:ChartQuery>
<filter>processTemplateName="InitiateClaim"</filter>
<area>PROCESS_INSTANCES/area>
<group>userId</group>
<category>
<attribute>status</attribute>
<type>COUNT</type>
</category>
</base:ChartQuery>
</api:getChartRequest>
</soapenv:Body>
|
||||||||||
Response:
<SOAP-ENV:Body> <getChartResponse xmlns="http://api.ec.n2.tibco.com"> <ChartResult xmlns="http://base.api.ec.n2.tibco.com"> <categories xmlns=""> <category>Offered</category> <category>Allocated</category> <category>Completed</category> </categories> <data xmlns=""> <group>None</group> <dataset> <value>10</value> <value>0</value> <value>0</value> </dataset> </data> <data xmlns=""> <group>User1</group> <dataset> <value>0</value> <value>6</value> <value>4</value> </dataset> </data> <data xmlns=""> <group>User2</group> <dataset> <value>0</value> <value>6</value> <value>5</value> </dataset> </data> <data xmlns=""> <group>User3</group> <dataset> <value>0</value> <value>2</value> <value>7</value> </dataset> </data> </ChartResult> </getChartResponse> </SOAP-ENV:Body> |
Copyright © Cloud Software Group, Inc. All rights reserved.