← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 1113: Docs

 

------------------------------------------------------------
revno: 1113
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2-docbook-docs
timestamp: Fri 2014-06-27 13:09:36 +0200
message:
  Docs
modified:
  src/docbkx/en/dhis2_user_man_web_api.xml


--
lp:~dhis2-documenters/dhis2/dhis2-docbook-docs
https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs

Your team DHIS 2 developers is subscribed to branch lp:~dhis2-documenters/dhis2/dhis2-docbook-docs.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs/+edit-subscription
=== modified file 'src/docbkx/en/dhis2_user_man_web_api.xml'
--- src/docbkx/en/dhis2_user_man_web_api.xml	2014-06-27 07:58:24 +0000
+++ src/docbkx/en/dhis2_user_man_web_api.xml	2014-06-27 11:09:36 +0000
@@ -4624,18 +4624,21 @@
           <row>
             <entry>attribute</entry>
             <entry>Attributes to be included in the response. Can also be used a filter for the
-              query. Param can be repeated any number of times. Filters can be applied to a
-              dimension on the format &lt;attribute-id>:&lt;operator>:&lt;filter>. Filter values are
-              case-insensitive. Operators can be EQ | GT | GE | LT | LE | NE | LIKE | IN. Filters
-              can be omitted in order to simply include the attribute in the response without any
-              constraints.</entry>
+                query. Param can be repeated any number of times. Filters can be applied to a
+                dimension on the format
+                &lt;attribute-id>:&lt;operator>:&lt;filter>[:&lt;operator>:&lt;filter>]. Filter
+                values are case-insensitive and can be repeated together with operator any number of
+                times. Operators can be EQ | GT | GE | LT | LE | NE | LIKE | IN. Filters can be
+                omitted in order to simply include the attribute in the response without any
+                constraints.</entry>
           </row>
           <row>
             <entry>filter</entry>
             <entry>Attributes to use as a filter for the query. Param can be repeated any number of
-              times. Filters can be applied to a dimension on the format
-              &lt;attribute-id>:&lt;operator>:&lt;filter>. Filter values are case-insensitive.
-              Operators can be EQ | GT | GE | LT | LE | NE | LIKE | IN.</entry>
+                times. Filters can be applied to a dimension on the format
+                &lt;attribute-id>:&lt;operator>:&lt;filter>[:&lt;operator>:&lt;filter>]. Filter
+                values are case-insensitive and can be repeated together with operator any number of
+                times. Operators can be EQ | GT | GE | LT | LE | NE | LIKE | IN.</entry>
           </row>
           <row>
             <entry>ou</entry>
@@ -4786,6 +4789,8 @@
     <para>A query for instances where one attribute is included in the response and one attribute us
         used as a filter:</para>
     <screen>api/trackedEntityInstances.json?attribute=zHXD5Ve1Efw:EQ:A&amp;filter=AMpUYgxuCaE:LIKE:Road&amp;ou=DiszpKrYNg8</screen>
+      <para>A query where multiple operand and filters are specified for a filter item:</para>
+      <screen>api/trackedEntityInstances.json?ou=DiszpKrYNg8&amp;program=ur1Edk5Oe2n&amp;filter=lw1SqmMlnfh:GT:150:LT:190</screen>
       <para>To query on an attribute using multiple values in an IN filter:</para>
       <screen>api/trackedEntityInstances.json?ou=DiszpKrYNg8&amp;attribute=dv3nChNSIxy:IN:Scott;Jimmy;Santiago</screen>
     <para>To constrain the response to instances which are part of a specific program you can