Getting the Details of a Data Filter for a Report Element

Gets the details of a report element data filter from a report.

Request

GET <webiURL>/documents/{documentId}/reports/{reportId}/elements/{elementId}/datafilter

Where:
  • {documentId} is the document identifier retrieved from the list of documents
  • {reportId} is the report identifier retrieved from the list of reports
  • {elementId} is the element identifier retrieved from the list of elements
Response

Response type: application/xml or application/json

Example

GET <webiURL>/documents/4567/reports/1/elements/22/datafilter

Response:

<datafilter>
    <and>
        <condition key="[Lines]" operator="InList">
            <value>City Trousers</value>
            <value>Shirt Waist</value>
            <value>Jackets</value>
        </condition>
        <condition key="[State]" operator="NotEqual">
            <value>Colorado</value>
        </condition>
        <or>
            <condition key="[Sales revenue]" operator="Greater">
                <value>5000</value>
            </condition>
            <condition key="[Sales revenue]" operator="Less">
                <value>10</value>
            </condition>
        </or>
    </and>
</datafilter>