Getting the Details of a Data Filter for a Report Element

Usage

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

Request

GET /documents/<documentID>/reports/<reportID>/elements/<elementID>/datafilter

Response

Response type: application/xml or application/json

Example

GET /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>