Last updated: 2024-06-07
DynamicReportFilterDetail Method
In this topic:
Overview
The DynamicReportFilterDetail method returns the detailed default filter syntax of a Dynamic Report.
The DynamicReportFilterDetail method is invoked using the method operation.
Parameters
| Parameter Name | Type | Required? | Description |
|---|---|---|---|
reportId | String | Yes | This is the object ID of the Dynamic Report. |
Example
The following example retrieves the detailed filter syntax for a report named "Clients With Children" whose object ID is DynReport.1.3:
XML
<request version='1.0'>
<header>...</password>
</header>
<method>
<DynamicReportFilterDetail>
<reportId>DynReport.1.3</reportId>
</DynamicReportFilterDetail>
</method>
</request>The response returns the filter details:
XML
<?xml version="1.0" encoding="UTF-8" ?>
<response version="1.0">
<header>
<sessionClosed />
</header>
<method>
<DynamicReportFilterDetail>
<![CDATA[
<filter fltrkey="4">
<element colName="Type" colid="65627" fltrkey="5" lookupId="5" sqldesc="Equal to" sqlop="eq" tableName="Contact" type="dtStr" uiValue="Client" value="Client"/>
<element colName="# of Child" colid="589830" fltrkey="6" sqldesc="Greater Than" sqlop="gt" tableName="Personal" type="dtShort" uiValue="0" value="0"/>
</filter>
]]>
</DynamicReportFilterDetail>
</method>
<_status>OK</_status>
<_systime>2016-04-28T19:23:34</_systime>
<!-- Cost 21 mill seconds. -->
</response>