Getting the Details of a Data Filter

Usage

Gets the description of the data filter of a specific report, referenced by its ID.

Request

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

Response

Response type: application/xml or application/json

Response body: the description of the data filter. The key attribute should be one of the formulaLanguageId elements of the report.

Example

GET /documents/4567/reports/1/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>