SOAP API - getChartData
The table summarizes the SOAP API - getChartData.
Request | Uses the getChartDataRequest 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 getChartDataResponse element (from the EventCollectorReportService schema). | ||||||||||
Example | Request:
<soapenv:Body> <api:getChartDataRequest> <base:ChartDataQuery> <filter>processTemplateName='ColiseumBooksProcess'</filter> <area>PROCESS_INSTANCES</area> </base:ChartDataQuery> <base:ChartDataOptions> <requiredAttributes> <attribute>startTime</attribute> <attribute>priority</attribute> <attribute>userId</attribute> </requiredAttributes> </base:ChartDataOptions> </api:getChartDataRequest> </soapenv:Body> |
||||||||||
Response:
<SOAP-ENV:Body> <getChartDataResponse xmlns="http://api.ec.n2.tibco.com"> <ChartDataResult xmlns="http://base.api.ec.n2.tibco.com"> <categories xmlns=""> <category>startTime</category> <category>priority</category> <category>userId</category> </categories> <data xmlns=""> <dataset> <value>2016-04-08T11:56:51.347Z</value> <value>NORMAL</value> <value>tibco-admin</value> </dataset> </data> <data xmlns=""> <dataset> <value>2016-04-08T11:56:52.807Z</value> <value>NORMAL</value> <value>tibco-admin</value> </dataset> </data> <data xmlns=""> <dataset> <value>2016-04-08T11:56:54.650Z</value> <value>NORMAL</value> <value>tibco-admin</value> </dataset> </data> <data xmlns=""> <dataset> <value>2016-04-08T11:56:56.630Z</value> <value>NORMAL</value> <value>tibco-admin</value> </dataset> </data> <data xmlns=""> <dataset> <value>2016-04-08T11:56:58.380Z</value> <value>NORMAL</value> <value>tibco-admin</value> </dataset> </data> </ChartDataResult> </getChartDataResponse> </SOAP-ENV:Body> |
Copyright © Cloud Software Group, Inc. All rights reserved.