SOAP API - executeGenericQuery
The table summarizes the SOAP API - executeGenericQuery.
| Request | Uses the executeGenericQueryRequest element (from the EventCollectorQueryService schema) |
| Parameter notes |
|
| Response | Returns a executeGenericQueryResponse element (from the EventCollectorQueryService schema) |
Request:<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:api="http://api.ec.n2.tibco.com" xmlns:base="http://base.api.ec.n2.tibco.com">
<soapenv:Header/>
<soapenv:Body>
<api:executeGenericQueryRequest>
<base:Query>
<correlate>false</correlate>
<filter>((messageCategory='WORK_ITEM') AND (parentObjectId='pvm:0a121'))</filter>
<requireAllAttributes>true</requireAllAttributes>
<target>AUDIT</target>
</base:Query>
<base:QueryOptions>
</base:QueryOptions>
</api:executeGenericQueryRequest>
</soapenv:Body>
</soapenv:Envelope>
|
|
Response:<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<executeGenericQueryResponse xmlns="http://api.ec.n2.tibco.com">
<GenericResult xmlns="http://base.api.ec.n2.tibco.com">
<endPosition xmlns="">11</endPosition>
<startPosition xmlns="">0</startPosition>
<totalItems xmlns="">11</totalItems>
<resultEntry xmlns="">
<id>65</id>
<ref>BRM_WORKITEM_SCHEDULED</ref>
<attribute xsi:type="base:StringEntryAttribute" xmlns:base="http://base.api.ec.n2.tibco.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<attributeId>27</attributeId>
<attributeName>hostAddress</attributeName>
<type>STRING</type>
<value>10.97.8.153</value>
</attribute>
.
.
.
</GenericResult>
</executeGenericQueryResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
|
Copyright © Cloud Software Group, Inc. All rights reserved.
